Skip to content

SecurityPolicyProps

Properties for defining a SecurityPolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-securitypolicy

Initializer

import com.aliyun.ros.cdk.alb.SecurityPolicyProps;
SecurityPolicyProps.builder()
    .ciphers(IResolvable)
    .ciphers(java.util.List<java.lang.String)
    .ciphers(IResolvable>)
    .securityPolicyName(java.lang.String)
    .securityPolicyName(IResolvable)
    .tlsVersions(IResolvable)
    .tlsVersions(java.util.List<java.lang.String)
    .tlsVersions(IResolvable>)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
ciphers com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property ciphers: The supported cipher suites.
securityPolicyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityPolicyName: The name of the security policy.
tlsVersions com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.

ciphersRequired

public java.lang.Object getCiphers();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property ciphers: The supported cipher suites.


securityPolicyNameRequired

public java.lang.Object getSecurityPolicyName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityPolicyName: The name of the security policy.

The name must be 2 to 128 characters in length, and can contain letters, digits, Chinese characters, periods (.), underscores (_), hyphens (-), and spaces.


tlsVersionsRequired

public java.lang.Object getTlsVersions();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.

Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3 and so on.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.