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 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")
.ipAddressType("ipAddressType")
.ownershipVerificationCertificateArn("ownershipVerificationCertificateArn")
.securityPolicy("securityPolicy")
.build();
- See Also:
-
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 IP address types that can invoke the domain name.default StringThe Amazon resource name (ARN) for the public certificate issued by 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.
- See Also:
-
getCertificateName
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.- See Also:
-
getEndpointType
The endpoint type.- See Also:
-
getIpAddressType
The IP address types that can invoke the domain name.Use
ipv4to allow only IPv4 addresses to invoke your domain name, or usedualstackto allow both IPv4 and IPv6 addresses to invoke your domain name.- See Also:
-
getOwnershipVerificationCertificateArn
The Amazon resource name (ARN) for the public certificate issued by 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.
- See Also:
-
getSecurityPolicy
The Transport Layer Security (TLS) version of the security policy for this domain name.The valid values are
TLS_1_0andTLS_1_2.- See Also:
-
builder
-