Resource: awsS3ControlBucket
Provides a resource to manage an S3 Control Bucket.
-> This functionality is for managing S3 on Outposts. To manage S3 Buckets in an AWS Partition, see the awsS3Bucket
resource.
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.s3ControlBucket.S3ControlBucket(this, "example", {
bucket: "example",
outpostId: "${data.aws_outposts_outpost.example.id}",
});
Argument Reference
The following arguments are required:
bucket
- (Required) Name of the bucket.outpostId
- (Required) Identifier of the Outpost to contain this bucket.tags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
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:
arn
- Amazon Resource Name (ARN) of the bucket.creationDate
- UTC creation date in RFC3339 format.id
- Amazon Resource Name (ARN) of the bucket.publicAccessBlockEnabled
- Boolean whether Public Access Block is enabled.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
S3 Control Buckets can be imported using Amazon Resource Name (ARN), e.g.,