import * as core from "@terrascript/core"; export interface NetworkInterfacesArgs extends core.SchemaArgs { networkInterfaceId: string | core.StringOut; } export class NetworkInterfaces extends core.Schema { @core.attr(String, { computed: true }) public networkInterfaceId!: string | core.StringOut; } export interface EndpointArgs extends core.ResourceArgs { /** * (Required) Identifier of the Outpost to contain this endpoint. */ outpostId: string | core.StringOut; /** * (Required) Identifier of the EC2 Security Group. */ securityGroupId: string | core.StringOut; /** * (Required) Identifier of the EC2 Subnet. */ subnetId: string | core.StringOut; } export class Endpoint extends core.Resource { /** * Amazon Resource Name (ARN) of the endpoint. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * VPC CIDR block of the endpoint. */ @core.attr(String, { computed: true }) public cidrBlock!: string | core.StringOut; /** * UTC creation time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). */ @core.attr(String, { computed: true }) public creationTime!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the endpoint. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Set of nested attributes for associated Elastic Network Interfaces (ENIs). */ @core.attr(NetworkInterfaces, { computed: true, kind: "array" }) public networkInterfaces!: | core.Array | core.ArrayOut; /** * (Required) Identifier of the Outpost to contain this endpoint. */ @core.attr(String) public outpostId!: string | core.StringOut; /** * (Required) Identifier of the EC2 Security Group. */ @core.attr(String) public securityGroupId!: string | core.StringOut; /** * (Required) Identifier of the EC2 Subnet. */ @core.attr(String) public subnetId!: string | core.StringOut; constructor(name: string, args?: EndpointArgs) { super(name, "aws_s3outposts_endpoint", args); } public override getNamespace(): string { return "aws_s3outposts"; } }