interface CfnDomainNameProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.CfnDomainNameProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnDomainNameProps |
![]() | software.amazon.awscdk.services.apigatewayv2.CfnDomainNameProps |
![]() | aws_cdk.aws_apigatewayv2.CfnDomainNameProps |
![]() | aws-cdk-lib » aws_apigatewayv2 » CfnDomainNameProps |
Properties for defining a CfnDomainName
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const cfnDomainNameProps: apigatewayv2.CfnDomainNameProps = {
domainName: 'domainName',
// the properties below are optional
domainNameConfigurations: [{
certificateArn: 'certificateArn',
certificateName: 'certificateName',
endpointType: 'endpointType',
ownershipVerificationCertificateArn: 'ownershipVerificationCertificateArn',
securityPolicy: 'securityPolicy',
}],
mutualTlsAuthentication: {
truststoreUri: 'truststoreUri',
truststoreVersion: 'truststoreVersion',
},
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The custom domain name for your API in Amazon API Gateway. |
domain | IResolvable | IResolvable | Domain [] | The domain name configurations. |
mutual | IResolvable | Mutual | The mutual TLS authentication configuration for a custom domain name. |
tags? | { [string]: string } | The collection of tags associated with a domain name. |
domainName
Type:
string
The custom domain name for your API in Amazon API Gateway.
Uppercase letters and the underscore ( _
) character are not supported.
domainNameConfigurations?
Type:
IResolvable
|
IResolvable
|
Domain
[]
(optional)
The domain name configurations.
mutualTlsAuthentication?
Type:
IResolvable
|
Mutual
(optional)
The mutual TLS authentication configuration for a custom domain name.
tags?
Type:
{ [string]: string }
(optional)
The collection of tags associated with a domain name.