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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.395Z") @Stability(Stable) public enum SslPolicy extends Enum<SslPolicy>
Elastic Load Balancing provides the following security policies for Application Load Balancers.

We recommend the Recommended policy for general use. You can use the ForwardSecrecy policy if you require Forward Secrecy (FS).

You can use one of the TLS policies to meet compliance and security standards that require disabling certain TLS protocol versions, or to support legacy clients that require deprecated ciphers.


 Vpc vpc;
 Cluster cluster;
 IHostedZone domainZone = HostedZone.fromLookup(this, "Zone", HostedZoneProviderProps.builder().domainName("").build());
 ICertificate certificate = Certificate.fromCertificateArn(this, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg");
 ApplicationLoadBalancedFargateService loadBalancedFargateService = ApplicationLoadBalancedFargateService.Builder.create(this, "Service")

See Also:
  • Enum Constant Details


      @Stability(Stable) public static final SslPolicy FORWARD_SECRECY_TLS12_RES_GCM
      Strong foward secrecy ciphers and TLV1.2 only (2020 edition). Same as FORWARD_SECRECY_TLS12_RES, but only supports GCM versions of the TLS ciphers.

      @Stability(Stable) public static final SslPolicy FORWARD_SECRECY_TLS12_RES
      Strong forward secrecy ciphers and TLS1.2 only.

      @Stability(Stable) public static final SslPolicy FORWARD_SECRECY_TLS12
      Forward secrecy ciphers and TLS1.2 only.

      @Stability(Stable) public static final SslPolicy FORWARD_SECRECY_TLS11
      Forward secrecy ciphers only with TLS1.1 and higher.

      @Stability(Stable) public static final SslPolicy FORWARD_SECRECY
      Forward secrecy ciphers only.
    • TLS12

      @Stability(Stable) public static final SslPolicy TLS12
      TLS1.2 only and no SHA ciphers.
    • TLS12_EXT

      @Stability(Stable) public static final SslPolicy TLS12_EXT
      TLS1.2 only with all ciphers.
    • TLS11

      @Stability(Stable) public static final SslPolicy TLS11
      TLS1.1 and higher with all ciphers.
    • LEGACY

      @Stability(Stable) public static final SslPolicy LEGACY
      Support for DES-CBC3-SHA.

      Do not use this security policy unless you must support a legacy client that requires the DES-CBC3-SHA cipher, which is a weak cipher.

  • Method Details

    • values

      public static SslPolicy[] 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 SslPolicy 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