import * as core from "@terrascript/core"; export interface IpAddressArgs extends core.SchemaArgs { ip?: string | core.StringOut; ipId: string | core.StringOut; subnetId: string | core.StringOut; } export class IpAddress extends core.Schema { @core.attr(String, { computed: true }) public ip?: string | core.StringOut; @core.attr(String, { computed: true }) public ipId!: string | core.StringOut; @core.attr(String) public subnetId!: string | core.StringOut; } export interface EndpointArgs extends core.ResourceArgs { /** * (Required) The direction of DNS queries to or from the Route 53 Resolver endpoint. */ direction: string | core.StringOut; /** * (Required) The subnets and IP addresses in your VPC that you want DNS queries to pass through on the * way from your VPCs */ ipAddress: core.Array | core.ArrayOut; /** * (Optional) The friendly name of the Route 53 Resolver endpoint. */ name?: string | core.StringOut; /** * (Required) The ID of one or more security groups that you want to use to control access to this VPC. */ securityGroupIds: 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 Endpoint extends core.Resource { /** * The ARN of the Route 53 Resolver endpoint. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The direction of DNS queries to or from the Route 53 Resolver endpoint. */ @core.attr(String) public direction!: string | core.StringOut; /** * The ID of the VPC that you want to create the resolver endpoint in. */ @core.attr(String, { computed: true }) public hostVpcId!: string | core.StringOut; /** * The ID of the Route 53 Resolver endpoint. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The subnets and IP addresses in your VPC that you want DNS queries to pass through on the * way from your VPCs */ @core.attr(IpAddress, { kind: "array" }) public ipAddress!: core.Array | core.ArrayOut; /** * (Optional) The friendly name of the Route 53 Resolver endpoint. */ @core.attr(String) public name?: string | core.StringOut; /** * (Required) The ID of one or more security groups that you want to use to control access to this VPC. */ @core.attr(String, { kind: "array" }) public securityGroupIds!: 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?: EndpointArgs) { super(name, "aws_route53_resolver_endpoint", args); } public override getNamespace(): string { return "aws_route53_resolver"; } }