CfnDomainNameApiAssociationProps Struct
Properties for defining a CfnDomainNameApiAssociation.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const cfnDomainNameApiAssociationProps: appsync.CfnDomainNameApiAssociationProps = {
apiId: 'apiId',
domainName: 'domainName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appsync as appsync
cfn_domain_name_api_association_props = appsync.CfnDomainNameApiAssociationProps(
api_id="apiId",
domain_name="domainName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
CfnDomainNameApiAssociationProps cfnDomainNameApiAssociationProps = CfnDomainNameApiAssociationProps.builder()
.apiId("apiId")
.domainName("domainName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var cfnDomainNameApiAssociationProps = new CfnDomainNameApiAssociationProps {
ApiId = "apiId",
DomainName = "domainName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnDomainNameApiAssociationProps := &CfnDomainNameApiAssociationProps{
ApiId: jsii.String("apiId"),
DomainName: jsii.String("domainName"),
}
Properties
The API ID.
domainNamestring | IDomainNameRefdomain_nametyping.Union[str, IDomainNameRef]domainNameStringDomainNamestringDomainNameinterface{} required #The domain name.