SecurityPolicyProps
Properties for defining a SecurityPolicy
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-securitypolicy
Initializer
import com.aliyun.ros.cdk.nlb.SecurityPolicyProps;
SecurityPolicyProps.builder()
.ciphers(IResolvable)
.ciphers(java.util.List<java.lang.String)
.ciphers(IResolvable>)
.tlsVersions(IResolvable)
.tlsVersions(java.util.List<java.lang.String)
.tlsVersions(IResolvable>)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .securityPolicyName(java.lang.String)
// .securityPolicyName(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
ciphers |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property ciphers: TThe supported cipher suites, which are determined by the TLS protocol version. |
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. |
securityPolicyName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityPolicyName: The name of the security policy. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
ciphers
Required
public java.lang.Object getCiphers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property ciphers: TThe supported cipher suites, which are determined by the TLS protocol version.
You can specify at most 32 cipher suites.
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.
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.
securityPolicyName
Optional
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 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.