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, which are determined by the TLS protocol version. |
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. |
ciphers
Required
public java.lang.Object getCiphers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property ciphers: The supported cipher suites, which are determined by the TLS protocol version.
The specified cipher suites must be supported by at least one TLS protocol version that you specify. Note For example, if you set the TLSVersions parameter to TLSv1.3, you must specify cipher suites that are supported by TLS 1.3.
securityPolicyName
Required
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, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
tlsVersions
Required
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.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.