Skip to content

Resource: awsS3OutpostsEndpoint

Provides a resource to manage an S3 Outposts Endpoint.

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.s3OutpostsEndpoint.S3OutpostsEndpoint(this, "example", {
  outpostId: "${data.aws_outposts_outpost.example.id}",
  securityGroupId: "${aws_security_group.example.id}",
  subnetId: "${aws_subnet.example.id}",
});

Argument Reference

The following arguments are required:

  • outpostId - (Required) Identifier of the Outpost to contain this endpoint.
  • securityGroupId - (Required) Identifier of the EC2 Security Group.
  • subnetId - (Required) Identifier of the EC2 Subnet.

Attributes Reference

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

  • arn - Amazon Resource Name (ARN) of the endpoint.
  • cidrBlock - VPC CIDR block of the endpoint.
  • creationTime - UTC creation time in RFC3339 format.
  • id - Amazon Resource Name (ARN) of the endpoint.
  • networkInterfaces - Set of nested attributes for associated Elastic Network Interfaces (ENIs).
  • networkInterfaceId - Identifier of the Elastic Network Interface (ENI).

Import

S3 Outposts Endpoints can be imported using Amazon Resource Name (ARN), EC2 Security Group identifier, and EC2 Subnet identifier, separated by commas (,) e.g.,

$ terraform import aws_s3outposts_endpoint.example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/endpoint/0123456789abcdef,sg-12345678,subnet-12345678