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 DsEndpointArgs { /** * (Optional) One or more name/value pairs to use as filters. There are */ filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the Route53 Resolver Endpoint. */ resolverEndpointId?: string | core.StringOut; } export class DsEndpoint extends core.Data { /** * The computed ARN of the Route53 Resolver Endpoint. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The direction of the queries to or from the Resolver Endpoint . */ @core.attr(String, { computed: true }) public direction!: string | core.StringOut; /** * (Optional) One or more name/value pairs to use as filters. There are */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * A list of IPaddresses that have been associated with the Resolver Endpoint. */ @core.attr(String, { computed: true, kind: "array" }) public ipAddresses!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * (Optional) The ID of the Route53 Resolver Endpoint. */ @core.attr(String) public resolverEndpointId?: string | core.StringOut; /** * The current status of the Resolver Endpoint. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The ID of the Host VPC that the Resolver Endpoint resides in. */ @core.attr(String, { computed: true }) public vpcId!: string | core.StringOut; constructor(name: string, args?: DsEndpointArgs) { super(name, "aws_route53_resolver_endpoint", args); } public override getNamespace(): string { return "aws_route53_resolver"; } }