1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. servicecatalog
  5. getPortfolioShare

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

aws-native.servicecatalog.getPortfolioShare

Start a Neo task
Explain and create an aws-native.servicecatalog.getPortfolioShare resource
aws-native logo

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 dictionary

    The following arguments are supported:

    AccountId string
    The AWS account ID.
    PortfolioId string
    The portfolio identifier.
    AccountId string
    The AWS account ID.
    PortfolioId string
    The portfolio identifier.
    accountId String
    The AWS account ID.
    portfolioId String
    The portfolio identifier.
    accountId string
    The AWS account ID.
    portfolioId string
    The portfolio identifier.
    account_id str
    The AWS account ID.
    portfolio_id str
    The portfolio identifier.
    accountId String
    The AWS account ID.
    portfolioId String
    The portfolio identifier.

    getPortfolioShare Result

    The following output properties are available:

    ShareTagOptions bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    ShareTagOptions bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    shareTagOptions Boolean
    Enables or disables TagOptions sharing when creating the portfolio share.
    shareTagOptions boolean
    Enables or disables TagOptions sharing when creating the portfolio share.
    share_tag_options bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    shareTagOptions Boolean
    Enables or disables TagOptions sharing when creating the portfolio share.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    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
      Meet Neo: Your AI Platform Teammate