CfnDomainNameApiAssociationProps

class aws_cdk.aws_appsync.CfnDomainNameApiAssociationProps(*, api_id, domain_name)

Bases: object

Properties for defining a CfnDomainNameApiAssociation.

Parameters
  • api_id (str) – The API ID.

  • domain_name (str) – The domain name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainnameapiassociation.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appsync as appsync

cfn_domain_name_api_association_props = appsync.CfnDomainNameApiAssociationProps(
    api_id="apiId",
    domain_name="domainName"
)

Attributes

api_id

The API ID.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainnameapiassociation.html#cfn-appsync-domainnameapiassociation-apiid

Return type

str

domain_name

The domain name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainnameapiassociation.html#cfn-appsync-domainnameapiassociation-domainname

Return type

str