AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AppSync::DomainName

CfnDomainName

The `AWS::AppSync::DomainName` resource creates a `DomainNameConfig` object to configure a custom domain.

Import

import { CfnDomainName } from 'aws-cdk-lib/aws-appsync';

Or use the module namespace:

import * as appsync from 'aws-cdk-lib/aws-appsync';
// appsync.CfnDomainName

Properties

Configuration passed to the constructor as CfnDomainNameProps.

certificateArnRequired
string

The Amazon Resource Name (ARN) of the certificate. This will be an Certificate Manager certificate.

domainNameRequired
string

The domain name.

descriptionOptional
string

The decription for your domain name.

tagsOptional
CfnTag[]

A set of tags (key-value pairs) for this domain name.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the AWS AppSync Cheat Sheet

Everything you need to know about AWS AppSync on one page. HD quality, print-friendly.

Download Free Infographic