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

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.59.0
published on Monday, Mar 30, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.59.0
published on Monday, Mar 30, 2026 by Pulumi

    Resource type definition for AWS::ServiceCatalog::Portfolio

    Using getPortfolio

    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 getPortfolio(args: GetPortfolioArgs, opts?: InvokeOptions): Promise<GetPortfolioResult>
    function getPortfolioOutput(args: GetPortfolioOutputArgs, opts?: InvokeOptions): Output<GetPortfolioResult>
    def get_portfolio(id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetPortfolioResult
    def get_portfolio_output(id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetPortfolioResult]
    func LookupPortfolio(ctx *Context, args *LookupPortfolioArgs, opts ...InvokeOption) (*LookupPortfolioResult, error)
    func LookupPortfolioOutput(ctx *Context, args *LookupPortfolioOutputArgs, opts ...InvokeOption) LookupPortfolioResultOutput

    > Note: This function is named LookupPortfolio in the Go SDK.

    public static class GetPortfolio 
    {
        public static Task<GetPortfolioResult> InvokeAsync(GetPortfolioArgs args, InvokeOptions? opts = null)
        public static Output<GetPortfolioResult> Invoke(GetPortfolioInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPortfolioResult> getPortfolio(GetPortfolioArgs args, InvokeOptions options)
    public static Output<GetPortfolioResult> getPortfolio(GetPortfolioArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:servicecatalog:getPortfolio
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The portfolio identifier.
    Id string
    The portfolio identifier.
    id String
    The portfolio identifier.
    id string
    The portfolio identifier.
    id str
    The portfolio identifier.
    id String
    The portfolio identifier.

    getPortfolio Result

    The following output properties are available:

    Description string
    The description of the portfolio.
    DisplayName string
    The name to use for display purposes.
    Id string
    The portfolio identifier.
    PortfolioName string
    The name of the portfolio.
    ProviderName string
    The name of the portfolio provider.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    One or more tags.
    Description string
    The description of the portfolio.
    DisplayName string
    The name to use for display purposes.
    Id string
    The portfolio identifier.
    PortfolioName string
    The name of the portfolio.
    ProviderName string
    The name of the portfolio provider.
    Tags Tag
    One or more tags.
    description String
    The description of the portfolio.
    displayName String
    The name to use for display purposes.
    id String
    The portfolio identifier.
    portfolioName String
    The name of the portfolio.
    providerName String
    The name of the portfolio provider.
    tags List<Tag>
    One or more tags.
    description string
    The description of the portfolio.
    displayName string
    The name to use for display purposes.
    id string
    The portfolio identifier.
    portfolioName string
    The name of the portfolio.
    providerName string
    The name of the portfolio provider.
    tags Tag[]
    One or more tags.
    description str
    The description of the portfolio.
    display_name str
    The name to use for display purposes.
    id str
    The portfolio identifier.
    portfolio_name str
    The name of the portfolio.
    provider_name str
    The name of the portfolio provider.
    tags Sequence[root_Tag]
    One or more tags.
    description String
    The description of the portfolio.
    displayName String
    The name to use for display purposes.
    id String
    The portfolio identifier.
    portfolioName String
    The name of the portfolio.
    providerName String
    The name of the portfolio provider.
    tags List<Property Map>
    One or more tags.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.

    Viewing docs for AWS Cloud Control v1.59.0
    published on Monday, Mar 30, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.