Interface CustomDomainConfigType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>, SdkBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>, SdkPojo
Enclosing class:
CustomDomainConfigType

@Mutable @NotThreadSafe public static interface CustomDomainConfigType.Builder extends SdkPojo, CopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>
  • Method Details

    • certificateArn

      CustomDomainConfigType.Builder certificateArn(String certificateArn)

      The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.

      Parameters:
      certificateArn - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityPolicy

      CustomDomainConfigType.Builder securityPolicy(String 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityPolicy

      CustomDomainConfigType.Builder securityPolicy(SecurityPolicyType 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: