Skip to content

SecurityPolicyProps

Properties for defining a SecurityPolicy.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Nlb;
new SecurityPolicyProps {
    object Ciphers,
    object TlsVersions,
    object ResourceGroupId = null,
    object SecurityPolicyName = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
Ciphers object Property ciphers: The cipher suites supported by the security policy.
TlsVersions object Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
SecurityPolicyName object Property securityPolicyName: The name of the security policy.
Tags TagsProperty[] Property tags: Tags to attach to instance.

CiphersRequired

public object Ciphers { get; set; }
  • Type: object

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 object TlsVersions { get; set; }
  • Type: object

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 object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


SecurityPolicyNameOptional

public object SecurityPolicyName { get; set; }
  • Type: object

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 TagsProperty[] Tags { get; set; }

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.