Skip to content

SecurityPolicyProps

Properties for defining a SecurityPolicy.

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

Initializer

import ros_cdk_nlb
ros_cdk_nlb.SecurityPolicyProps(
  ciphers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  tls_versions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  resource_group_id: typing.Union[str, IResolvable] = None,
  security_policy_name: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
ciphers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property ciphers: TThe supported cipher suites, which are determined by the TLS protocol version.
tls_versions typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
security_policy_name typing.Union[str, ros_cdk_core.IResolvable] Property securityPolicyName: The name of the security policy.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

ciphersRequired

ciphers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property ciphers: TThe supported cipher suites, which are determined by the TLS protocol version.

You can specify at most 32 cipher suites.


tls_versionsRequired

tls_versions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group.


security_policy_nameOptional

security_policy_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

tags: typing.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.