Enum SecurityPolicy

All Implemented Interfaces:
Serializable, Comparable<SecurityPolicy>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:56.840Z") @Stability(Stable) public enum SecurityPolicy extends Enum<SecurityPolicy>
The minimum version of the SSL protocol that you want API Gateway to use for HTTPS connections.


 Object acmCertificateForExampleCom;
 DomainName.Builder.create(this, "custom-domain")
         .endpointType(EndpointType.EDGE) // default is REGIONAL
  • Enum Constant Details

    • TLS_1_0

      @Stability(Stable) public static final SecurityPolicy TLS_1_0
      Cipher suite TLS 1.0.
    • TLS_1_2

      @Stability(Stable) public static final SecurityPolicy TLS_1_2
      Cipher suite TLS 1.2.
  • Method Details

    • values

      public static SecurityPolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SecurityPolicy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null