Interface CfnDomainName.DomainNameConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainName.DomainNameConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnDomainName
@Stability(Stable)
public static interface CfnDomainName.DomainNameConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The
DomainNameConfiguration property type specifies the configuration for a 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 software.amazon.awscdk.services.apigatewayv2.*;
DomainNameConfigurationProperty domainNameConfigurationProperty = DomainNameConfigurationProperty.builder()
.certificateArn("certificateArn")
.certificateName("certificateName")
.endpointType("endpointType")
.ownershipVerificationCertificateArn("ownershipVerificationCertificateArn")
.securityPolicy("securityPolicy")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainName.DomainNameConfigurationPropertystatic final classAn implementation forCfnDomainName.DomainNameConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAn AWS -managed certificate that will be used by the edge-optimized endpoint for this domain name.default StringThe user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.default StringThe endpoint type.default StringThe Amazon resource name (ARN) for the public certificate issued by AWS Certificate Manager .default StringThe Transport Layer Security (TLS) version of the security policy for this domain name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateArn
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.
-
getCertificateName
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name. -
getEndpointType
The endpoint type. -
getOwnershipVerificationCertificateArn
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.
-
getSecurityPolicy
The Transport Layer Security (TLS) version of the security policy for this domain name.The valid values are
TLS_1_0andTLS_1_2. -
builder
-