Skip to content

Resource: awsServicecatalogTagOptionResourceAssociation

Manages a Service Catalog Tag Option Resource Association.

-> Tip: A "resource" is either a Service Catalog portfolio or product.

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.servicecatalogTagOptionResourceAssociation.ServicecatalogTagOptionResourceAssociation(
  this,
  "example",
  {
    resourceId: "prod-dnigbtea24ste",
    tagOptionId: "tag-pjtvyakdlyo3m",
  }
);

Argument Reference

The following arguments are required:

  • resourceId - (Required) Resource identifier.
  • tagOptionId - (Required) Tag Option identifier.

Attributes Reference

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

  • id - Identifier of the association.
  • resourceArn - ARN of the resource.
  • resourceCreatedTime - Creation time of the resource.
  • resourceDescription - Description of the resource.
  • resourceName - Description of the resource.

Timeouts

Configuration options:

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

Import

awsServicecatalogTagOptionResourceAssociation can be imported using the tag option ID and resource ID, e.g.,

$ terraform import aws_servicecatalog_tag_option_resource_association.example tag-pjtvyakdlyo3m:prod-dnigbtea24ste