We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::ServiceCatalog::PortfolioShare
Using getPortfolioShare
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPortfolioShare(args: GetPortfolioShareArgs, opts?: InvokeOptions): Promise<GetPortfolioShareResult>
function getPortfolioShareOutput(args: GetPortfolioShareOutputArgs, opts?: InvokeOptions): Output<GetPortfolioShareResult>def get_portfolio_share(account_id: Optional[str] = None,
portfolio_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPortfolioShareResult
def get_portfolio_share_output(account_id: Optional[pulumi.Input[str]] = None,
portfolio_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPortfolioShareResult]func LookupPortfolioShare(ctx *Context, args *LookupPortfolioShareArgs, opts ...InvokeOption) (*LookupPortfolioShareResult, error)
func LookupPortfolioShareOutput(ctx *Context, args *LookupPortfolioShareOutputArgs, opts ...InvokeOption) LookupPortfolioShareResultOutput> Note: This function is named LookupPortfolioShare in the Go SDK.
public static class GetPortfolioShare
{
public static Task<GetPortfolioShareResult> InvokeAsync(GetPortfolioShareArgs args, InvokeOptions? opts = null)
public static Output<GetPortfolioShareResult> Invoke(GetPortfolioShareInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPortfolioShareResult> getPortfolioShare(GetPortfolioShareArgs args, InvokeOptions options)
public static Output<GetPortfolioShareResult> getPortfolioShare(GetPortfolioShareArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:servicecatalog:getPortfolioShare
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - The AWS account ID.
- Portfolio
Id string - The portfolio identifier.
- Account
Id string - The AWS account ID.
- Portfolio
Id string - The portfolio identifier.
- account
Id String - The AWS account ID.
- portfolio
Id String - The portfolio identifier.
- account
Id string - The AWS account ID.
- portfolio
Id string - The portfolio identifier.
- account_
id str - The AWS account ID.
- portfolio_
id str - The portfolio identifier.
- account
Id String - The AWS account ID.
- portfolio
Id String - The portfolio identifier.
getPortfolioShare Result
The following output properties are available:
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- Boolean
- Enables or disables TagOptions sharing when creating the portfolio share.
- boolean
- Enables or disables TagOptions sharing when creating the portfolio share.
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- Boolean
- Enables or disables TagOptions sharing when creating the portfolio share.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
