import * as core from "@terrascript/core"; export interface DomainNameArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (AC * M) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must r * eside in us-east-1. */ certificateArn: string | core.StringOut; /** * (Optional) A description of the Domain Name. */ description?: string | core.StringOut; /** * (Required) The domain name. */ domainName: string | core.StringOut; } export class DomainName extends core.Resource { /** * The domain name that AppSync provides. */ @core.attr(String, { computed: true }) public appsyncDomainName!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (AC * M) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must r * eside in us-east-1. */ @core.attr(String) public certificateArn!: string | core.StringOut; /** * (Optional) A description of the Domain Name. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) The domain name. */ @core.attr(String) public domainName!: string | core.StringOut; /** * The ID of your Amazon Route 53 hosted zone. */ @core.attr(String, { computed: true }) public hostedZoneId!: string | core.StringOut; /** * The Appsync Domain Name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DomainNameArgs) { super(name, "aws_appsync_domain_name", args); } public override getNamespace(): string { return "aws_appsync"; } }