import * as core from "@terrascript/core"; export interface PrivateDnsNameConfigurationArgs extends core.SchemaArgs { name: string | core.StringOut; state: string | core.StringOut; type: string | core.StringOut; value: string | core.StringOut; } export class PrivateDnsNameConfiguration extends core.Schema { @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public state!: string | core.StringOut; @core.attr(String, { computed: true }) public type!: string | core.StringOut; @core.attr(String, { computed: true }) public value!: string | core.StringOut; } export interface EndpointServiceArgs extends core.ResourceArgs { /** * (Required) Whether or not VPC endpoint connection requests to the service must be accepted by the se * rvice owner - `true` or `false`. */ acceptanceRequired: boolean | core.BooleanOut; /** * (Optional) The ARNs of one or more principals allowed to discover the endpoint service. */ allowedPrincipals?: core.Array | core.ArrayOut; /** * (Optional) Amazon Resource Names (ARNs) of one or more Gateway Load Balancers for the endpoint servi * ce. */ gatewayLoadBalancerArns?: core.Array | core.ArrayOut; /** * (Optional) Amazon Resource Names (ARNs) of one or more Network Load Balancers for the endpoint servi * ce. */ networkLoadBalancerArns?: core.Array | core.ArrayOut; /** * (Optional) The private DNS name for the service. */ privateDnsName?: string | core.StringOut; /** * (Optional) The supported IP address types. The possible values are `ipv4` and `ipv6`. */ supportedIpAddressTypes?: core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class EndpointService extends core.Resource { /** * (Required) Whether or not VPC endpoint connection requests to the service must be accepted by the se * rvice owner - `true` or `false`. */ @core.attr(Boolean) public acceptanceRequired!: boolean | core.BooleanOut; /** * (Optional) The ARNs of one or more principals allowed to discover the endpoint service. */ @core.attr(String, { computed: true, kind: "array" }) public allowedPrincipals?: core.Array | core.ArrayOut; /** * The Amazon Resource Name (ARN) of the VPC endpoint service. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * A set of Availability Zones in which the service is available. */ @core.attr(String, { computed: true, kind: "array" }) public availabilityZones!: core.Array | core.ArrayOut; /** * A set of DNS names for the service. */ @core.attr(String, { computed: true, kind: "array" }) public baseEndpointDnsNames!: | core.Array | core.ArrayOut; /** * (Optional) Amazon Resource Names (ARNs) of one or more Gateway Load Balancers for the endpoint servi * ce. */ @core.attr(String, { kind: "array" }) public gatewayLoadBalancerArns?: | core.Array | core.ArrayOut; /** * The ID of the VPC endpoint service. */ @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; /** * (Optional) Amazon Resource Names (ARNs) of one or more Network Load Balancers for the endpoint servi * ce. */ @core.attr(String, { kind: "array" }) public networkLoadBalancerArns?: | core.Array | core.ArrayOut; /** * (Optional) The private DNS name for the service. */ @core.attr(String, { computed: true }) public privateDnsName?: string | core.StringOut; /** * List of objects containing information about the endpoint service private DNS name configuration. */ @core.attr(PrivateDnsNameConfiguration, { computed: true, kind: "array" }) public privateDnsNameConfiguration!: | core.Array | core.ArrayOut; /** * The service name. */ @core.attr(String, { computed: true }) public serviceName!: string | core.StringOut; /** * The service type, `Gateway` or `Interface`. */ @core.attr(String, { computed: true }) public serviceType!: string | core.StringOut; /** * The state of the VPC endpoint service. */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; /** * (Optional) The supported IP address types. The possible values are `ipv4` and `ipv6`. */ @core.attr(String, { computed: true, kind: "array" }) public supportedIpAddressTypes?: | core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: EndpointServiceArgs) { super(name, "aws_vpc_endpoint_service", args); } public override getNamespace(): string { return "aws_vpc"; } }