Skip to content

Resource: awsServicecatalogProductPortfolioAssociation

Manages a Service Catalog Product 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.servicecatalogProductPortfolioAssociation.ServicecatalogProductPortfolioAssociation(
  this,
  "example",
  {
    portfolioId: "port-68656c6c6f",
    productId: "prod-dnigbtea24ste",
  }
);

Argument Reference

The following arguments are required:

  • portfolioId - (Required) Portfolio identifier.
  • productId - (Required) Product identifier.

The following arguments are optional:

  • acceptLanguage - (Optional) Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
  • sourcePortfolioId - (Optional) Identifier of the source portfolio.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Identifier of the association.

Configuration options:

  • create - (Default 3M)
  • read - (Default 10M)
  • delete - (Default 3M)

Import

awsServicecatalogProductPortfolioAssociation can be imported using the accept language, portfolio ID, and product ID, e.g.,

$ terraform import aws_servicecatalog_product_portfolio_association.example en:port-68656c6c6f:prod-dnigbtea24ste