Class CustomDomainConfigType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>
The configuration for a custom domain, including the SSL certificate and TLS security policy.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of an Certificate Manager SSL certificate.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SecurityPolicyTypeThe security policy for the custom domain.final StringThe security policy for the custom domain.static Class<? extends CustomDomainConfigType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
certificateArn
The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- Returns:
- The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
-
securityPolicy
The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:
-
TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility. -
TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases. -
TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.
If the service returns an enum value that is not available in the current SDK version,
securityPolicywill returnSecurityPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityPolicyAsString().- Returns:
- The security policy for the custom domain. Defines the minimum TLS version and cipher suites that
CloudFront uses when communicating with viewers (clients). Valid values are as follows:
-
TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility. -
TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases. -
TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.
-
- See Also:
-
-
securityPolicyAsString
The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:
-
TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility. -
TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases. -
TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.
If the service returns an enum value that is not available in the current SDK version,
securityPolicywill returnSecurityPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityPolicyAsString().- Returns:
- The security policy for the custom domain. Defines the minimum TLS version and cipher suites that
CloudFront uses when communicating with viewers (clients). Valid values are as follows:
-
TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility. -
TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases. -
TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.
-
- See Also:
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-