import * as core from "@terrascript/core"; export interface EndpointConfigurationArgs extends core.SchemaArgs { types: core.Array | core.ArrayOut; } export class EndpointConfiguration extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public types!: core.Array | core.ArrayOut; } export interface DsDomainNameArgs { /** * (Required) Fully-qualified domain name to look up. If no domain name is found, an error will be retu * rned. */ domainName: string | core.StringOut; /** * Key-value map of tags for the resource. */ tags?: core.Map | core.MapOut; } export class DsDomainName extends core.Data { /** * ARN of the found custom domain name. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * ARN for an AWS-managed certificate that is used by edge-optimized endpoint for this domain name. */ @core.attr(String, { computed: true }) public certificateArn!: string | core.StringOut; /** * Name of the certificate that is used by edge-optimized endpoint for this domain name. */ @core.attr(String, { computed: true }) public certificateName!: string | core.StringOut; /** * Upload date associated with the domain certificate. */ @core.attr(String, { computed: true }) public certificateUploadDate!: string | core.StringOut; /** * Hostname created by Cloudfront to represent the distribution that implements this domain name mappin * g. */ @core.attr(String, { computed: true }) public cloudfrontDomainName!: string | core.StringOut; /** * For convenience, the hosted zone ID (`Z2FDTNDATAQYW2`) that can be used to create a Route53 alias re * cord for the distribution. */ @core.attr(String, { computed: true }) public cloudfrontZoneId!: string | core.StringOut; /** * (Required) Fully-qualified domain name to look up. If no domain name is found, an error will be retu * rned. */ @core.attr(String) public domainName!: string | core.StringOut; /** * List of objects with the endpoint configuration of this domain name. */ @core.attr(EndpointConfiguration, { computed: true, kind: "array" }) public endpointConfiguration!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * ARN for an AWS-managed certificate that is used for validating the regional domain name. */ @core.attr(String, { computed: true }) public regionalCertificateArn!: string | core.StringOut; /** * User-friendly name of the certificate that is used by regional endpoint for this domain name. */ @core.attr(String, { computed: true }) public regionalCertificateName!: string | core.StringOut; /** * Hostname for the custom domain's regional endpoint. */ @core.attr(String, { computed: true }) public regionalDomainName!: string | core.StringOut; /** * Hosted zone ID that can be used to create a Route53 alias record for the regional endpoint. */ @core.attr(String, { computed: true }) public regionalZoneId!: string | core.StringOut; /** * Security policy for the domain name. */ @core.attr(String, { computed: true }) public securityPolicy!: string | core.StringOut; /** * Key-value map of tags for the resource. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsDomainNameArgs) { super(name, "aws_api_gateway_domain_name", args); } public override getNamespace(): string { return "aws_api_gateway"; } }