Associates the specified product with the specified portfolio.
A delegated admin is authorized to invoke this command.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "AWS::ServiceCatalog::PortfolioProductAssociation",
"Properties" : {
"AcceptLanguage" : String
,
"PortfolioId" : String
,
"ProductId" : String
,
"SourcePortfolioId" : String
}
}
YAML
Type: AWS::ServiceCatalog::PortfolioProductAssociation
Properties:
AcceptLanguage: String
PortfolioId: String
ProductId: String
SourcePortfolioId: String
Properties
AcceptLanguage
-
The language code.
-
jp
- Japanese -
zh
- Chinese
Required: No
Type: String
Maximum:
100
Update requires: Replacement
-
PortfolioId
-
The portfolio identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*
Minimum:
1
Maximum:
100
Update requires: Replacement
ProductId
-
The product identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*
Minimum:
1
Maximum:
100
Update requires: Replacement
SourcePortfolioId
-
The identifier of the source portfolio.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9_\-]*
Minimum:
1
Maximum:
100
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns a unique identifier for the association.
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
See also
-
AssociateProductWithPortfolio in the AWS Service Catalog API Reference