Resource: awsAppsyncDomainNameApiAssociation
Provides an AppSync API Association.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.appsyncDomainNameApiAssociation.AppsyncDomainNameApiAssociation(
this,
"example",
{
apiId: "${aws_appsync_graphql_api.example.id}",
domainName: "${aws_appsync_domain_name.example.domain_name}",
}
);
Argument Reference
The following arguments are supported:
apiId
- (Required) API ID.domainName
- (Required) Appsync domain name.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Appsync domain name.
Import
awsAppsyncDomainNameApiAssociation
can be imported using the AppSync domain name, e.g.,