interface DomainNameConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.CfnDomainName.DomainNameConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnDomainName_DomainNameConfigurationProperty |
![]() | software.amazon.awscdk.services.apigatewayv2.CfnDomainName.DomainNameConfigurationProperty |
![]() | aws_cdk.aws_apigatewayv2.CfnDomainName.DomainNameConfigurationProperty |
![]() | aws-cdk-lib » aws_apigatewayv2 » CfnDomainName » DomainNameConfigurationProperty |
The DomainNameConfiguration
property type specifies the configuration for an API's domain name.
DomainNameConfiguration
is a property of the AWS::ApiGatewayV2::DomainName resource.
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 domainNameConfigurationProperty: apigatewayv2.CfnDomainName.DomainNameConfigurationProperty = {
certificateArn: 'certificateArn',
certificateName: 'certificateName',
endpointType: 'endpointType',
ownershipVerificationCertificateArn: 'ownershipVerificationCertificateArn',
securityPolicy: 'securityPolicy',
};
Properties
Name | Type | Description |
---|---|---|
certificate | string | An AWS -managed certificate that will be used by the edge-optimized endpoint for this domain name. |
certificate | string | The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name. |
endpoint | string | The endpoint type. |
ownership | string | The Amazon resource name (ARN) for the public certificate issued by AWS Certificate Manager . |
security | string | The Transport Layer Security (TLS) version of the security policy for this domain name. |
certificateArn?
Type:
string
(optional)
An AWS -managed certificate that will be used by the edge-optimized endpoint for this domain name.
AWS Certificate Manager is the only supported source.
certificateName?
Type:
string
(optional)
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
endpointType?
Type:
string
(optional)
The endpoint type.
ownershipVerificationCertificateArn?
Type:
string
(optional)
The Amazon resource name (ARN) for the public certificate issued by AWS Certificate Manager .
This ARN is used to validate custom domain ownership. It's required only if you configure mutual TLS and use either an ACM-imported or a private CA certificate ARN as the regionalCertificateArn.
securityPolicy?
Type:
string
(optional)
The Transport Layer Security (TLS) version of the security policy for this domain name.
The valid values are TLS_1_0
and TLS_1_2
.