Skip to content

Resource: awsDataexchangeRevision

Provides a resource to manage AWS Data Exchange Revisions.

Example 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.dataexchangeRevision.DataexchangeRevision(this, "example", {
  dataSetId: "${aws_dataexchange_data_set.example.id}",
});

Argument Reference

  • dataSetId - (Required) The dataset id.
  • comment - (Required) An optional comment about the revision.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

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

  • id - The Id of the data set.
  • revisionId - The Id of the revision.
  • arn - The Amazon Resource Name of this data set.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

DataExchange Revisions can be imported by their dataSetId:revisionId:

$ terraform import aws_dataexchange_revision.example 4fa784c7-ccb4-4dbf-ba4f-02198320daa1:4fa784c7-ccb4-4dbf-ba4f-02198320daa1