Skip to content

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: The cipher suites supported by 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.
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.

ciphersRequired

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

Property ciphers: The cipher suites supported by the security policy.

Valid values of this parameter vary based on the value of TlsVersions. You can specify up to 32 cipher suites.


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.


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.


securityPolicyNameOptional

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 (-).


tagsOptional

public java.util.List<TagsProperty> getTags();

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.