Skip to content

SecurityPolicyProps

Properties for defining a SecurityPolicy.

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

Initializer

import { SecurityPolicyProps } from '@alicloud/ros-cdk-nlb'
const securityPolicyProps: SecurityPolicyProps = { ... }

Properties

Name Type Description
ciphers @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property ciphers: The cipher suites supported by the security policy.
tlsVersions @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
securityPolicyName string | @alicloud/ros-cdk-core.IResolvable Property securityPolicyName: The name of the security policy.
tags TagsProperty[] Property tags: Tags to attach to instance.

ciphersRequired

public readonly ciphers: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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 readonly tlsVersions: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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 readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


securityPolicyNameOptional

public readonly securityPolicyName: string | IResolvable;
  • Type: string | @alicloud/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 readonly tags: 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.