Resource: awsServicecatalogPrincipalPortfolioAssociation
Manages a Service Catalog Principal Portfolio Association.
Example Usage
Basic Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.servicecatalogPrincipalPortfolioAssociation.ServicecatalogPrincipalPortfolioAssociation(
this,
"example",
{
portfolioId: "port-68656c6c6f",
principalArn: "arn:aws:iam::123456789012:user/Eleanor",
}
);
Argument Reference
The following arguments are required:
portfolioId
- (Required) Portfolio identifier.principalArn
- (Required) Principal ARN.
The following arguments are optional:
acceptLanguage
- (Optional) Language code. Valid values:en
(English),jp
(Japanese),zh
(Chinese). Default value isen
.principalType
- (Optional) Principal type. Setting this argument empty (e.g.,principalType = ""
) will result in an error. Valid value isiam
. Default isiam
.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Identifier of the association.
Timeouts
create
- (Default3M
)read
- (Default10M
)delete
- (Default3M
)
Import
awsServicecatalogPrincipalPortfolioAssociation
can be imported using the accept language, principal ARN, and portfolio ID, separated by a comma, e.g.,