import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface DsEndpointServiceArgs { /** * (Optional) Configuration block(s) for filtering. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The common name of an AWS service (e.g., `s3`). */ service?: string | core.StringOut; /** * (Optional) The service name that is specified when creating a VPC endpoint. For AWS services the ser * vice name is usually in the form `com.amazonaws..` (the SageMaker Notebook service * is an exception to this rule, the service name is in the form `aws.sagemaker..notebook`). */ serviceName?: string | core.StringOut; /** * (Optional) The service type, `Gateway` or `Interface`. */ serviceType?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint S * ervice. */ tags?: core.Map | core.MapOut; } export class DsEndpointService extends core.Data { /** * Whether or not VPC endpoint connection requests to the service must be accepted by the service owner * true` or `false`. */ @core.attr(Boolean, { computed: true }) public acceptanceRequired!: boolean | core.BooleanOut; /** * The Amazon Resource Name (ARN) of the VPC endpoint service. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The Availability Zones in which the service is available. */ @core.attr(String, { computed: true, kind: "array" }) public availabilityZones!: core.Array | core.ArrayOut; /** * The DNS names for the service. */ @core.attr(String, { computed: true, kind: "array" }) public baseEndpointDnsNames!: | core.Array | core.ArrayOut; /** * (Optional) Configuration block(s) for filtering. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether or not the service manages its VPC endpoints - `true` or `false`. */ @core.attr(Boolean, { computed: true }) public managesVpcEndpoints!: boolean | core.BooleanOut; /** * The AWS account ID of the service owner or `amazon`. */ @core.attr(String, { computed: true }) public owner!: string | core.StringOut; /** * The private DNS name for the service. */ @core.attr(String, { computed: true }) public privateDnsName!: string | core.StringOut; /** * (Optional) The common name of an AWS service (e.g., `s3`). */ @core.attr(String) public service?: string | core.StringOut; /** * The ID of the endpoint service. */ @core.attr(String, { computed: true }) public serviceId!: string | core.StringOut; /** * (Optional) The service name that is specified when creating a VPC endpoint. For AWS services the ser * vice name is usually in the form `com.amazonaws..` (the SageMaker Notebook service * is an exception to this rule, the service name is in the form `aws.sagemaker..notebook`). */ @core.attr(String, { computed: true }) public serviceName?: string | core.StringOut; /** * (Optional) The service type, `Gateway` or `Interface`. */ @core.attr(String, { computed: true }) public serviceType?: string | core.StringOut; /** * The supported IP address types. */ @core.attr(String, { computed: true, kind: "array" }) public supportedIpAddressTypes!: | core.Array | core.ArrayOut; /** * (Optional) A map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint S * ervice. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Whether or not the service supports endpoint policies - `true` or `false`. */ @core.attr(Boolean, { computed: true }) public vpcEndpointPolicySupported!: boolean | core.BooleanOut; constructor(name: string, args?: DsEndpointServiceArgs) { super(name, "aws_vpc_endpoint_service", args); } public override getNamespace(): string { return "aws_vpc"; } }