We recommend new projects start with resources from the AWS provider.
aws-native.servicecatalog.PortfolioProductAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Accept
Language string - The language code.
- Portfolio
Id string - The portfolio identifier.
- Product
Id string - The product identifier.
- Source
Portfolio stringId - 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 string - The language code.
- Portfolio
Id string - The portfolio identifier.
- Product
Id string - The product identifier.
- Source
Portfolio stringId - 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 String - The language code.
- portfolio
Id String - The portfolio identifier.
- product
Id String - The product identifier.
- source
Portfolio StringId - 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 string - The language code.
- portfolio
Id string - The portfolio identifier.
- product
Id string - The product identifier.
- source
Portfolio stringId - 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_ strid - 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 String - The language code.
- portfolio
Id String - The portfolio identifier.
- product
Id String - The product identifier.
- source
Portfolio StringId - 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
We recommend new projects start with resources from the AWS provider.