Skip to content

SecurityPolicyProps

Properties for defining a SecurityPolicy.

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

Initializer

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

Properties

Name Type Description
ciphers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property ciphers: The supported cipher suites, which are determined by the TLS protocol version.
security_policy_name typing.Union[str, ros_cdk_core.IResolvable] Property securityPolicyName: The name of the security policy.
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.

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: The supported cipher suites, which are determined by the TLS protocol version.

The specified cipher suites must be supported by at least one TLS protocol version that you specify. Note For example, if you set the TLSVersions parameter to TLSv1.3, you must specify cipher suites that are supported by TLS 1.3.


security_policy_nameRequired

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 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.


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 and so on.


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.