ALIYUN::NLB::SecurityPolicy is used to create a custom security policy for a TCP/SSL listener.
Syntax
{
"Type": "ALIYUN::NLB::SecurityPolicy",
"Properties": {
"Ciphers": List,
"ResourceGroupId": String,
"SecurityPolicyName": String,
"TlsVersions": List,
"Tags": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Ciphers | List | Yes | Yes | The supported cipher suites. | The valid values of Ciphers vary based on the version of the Transport Layer Security (TLS) protocol. You can specify up to 32 cipher suites. Valid values for TLS 1.0 and TLS 1.1:
Valid values for TLS 1.2:
Valid values for TLS 1.3:
|
ResourceGroupId | String | No | No | The ID of the resource group. | None. |
SecurityPolicyName | String | No | Yes | 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 (-). |
TlsVersions | List | Yes | Yes | The supported versions of the TLS protocol. | Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3. |
Tags | List | No | Yes | The tags. | You can add up to 20 tags. For more information, see Tags properties. |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Value | String | No | No | The tag value. | The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot start with |
Key | String | Yes | No | The tag key. | The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot start with |
Return values
Fn::GetAtt
SecurityPolicyId: the ID of the TLS security policy.