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

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

AWS Cloud Control v1.35.0 published on Monday, Sep 22, 2025 by Pulumi

aws-native.servicecatalog.PortfolioProductAssociation

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.35.0 published on Monday, Sep 22, 2025 by Pulumi

    Resource Type definition for AWS::ServiceCatalog::PortfolioProductAssociation

    Create PortfolioProductAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PortfolioProductAssociation(name: string, args?: PortfolioProductAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def PortfolioProductAssociation(resource_name: str,
                                    args: Optional[PortfolioProductAssociationArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PortfolioProductAssociation(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    accept_language: Optional[str] = None,
                                    portfolio_id: Optional[str] = None,
                                    product_id: Optional[str] = None,
                                    source_portfolio_id: Optional[str] = None)
    func NewPortfolioProductAssociation(ctx *Context, name string, args *PortfolioProductAssociationArgs, opts ...ResourceOption) (*PortfolioProductAssociation, error)
    public PortfolioProductAssociation(string name, PortfolioProductAssociationArgs? args = null, CustomResourceOptions? opts = null)
    public PortfolioProductAssociation(String name, PortfolioProductAssociationArgs args)
    public PortfolioProductAssociation(String name, PortfolioProductAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:servicecatalog:PortfolioProductAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PortfolioProductAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PortfolioProductAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PortfolioProductAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PortfolioProductAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PortfolioProductAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PortfolioProductAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PortfolioProductAssociation resource accepts the following input properties:

    AcceptLanguage string
    The language code.
    PortfolioId string
    The portfolio identifier.
    ProductId string
    The product identifier.
    SourcePortfolioId string
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.
    AcceptLanguage string
    The language code.
    PortfolioId string
    The portfolio identifier.
    ProductId string
    The product identifier.
    SourcePortfolioId string
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.
    acceptLanguage String
    The language code.
    portfolioId String
    The portfolio identifier.
    productId String
    The product identifier.
    sourcePortfolioId String
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.
    acceptLanguage string
    The language code.
    portfolioId string
    The portfolio identifier.
    productId string
    The product identifier.
    sourcePortfolioId string
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.
    accept_language str
    The language code.
    portfolio_id str
    The portfolio identifier.
    product_id str
    The product identifier.
    source_portfolio_id str
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.
    acceptLanguage String
    The language code.
    portfolioId String
    The portfolio identifier.
    productId String
    The product identifier.
    sourcePortfolioId String
    The identifier of the source portfolio. The source portfolio must be a portfolio imported from a different account than the one creating the association. This account must have previously shared this portfolio with the account creating the association.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PortfolioProductAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    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.35.0 published on Monday, Sep 22, 2025 by Pulumi