Skip to content

SecretParameterProps

Properties for defining a SecretParameter.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-secretparameter

Initializer

import ros_cdk_oos
ros_cdk_oos.SecretParameterProps(
  secret_parameter_name: typing.Union[str, IResolvable],
  value: typing.Union[str, IResolvable],
  constraints: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  description: typing.Union[str, IResolvable] = None,
  key_id: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
secret_parameter_name typing.Union[str, ros_cdk_core.IResolvable] Property secretParameterName: The name of the encryption parameter.
value typing.Union[str, ros_cdk_core.IResolvable] Property value: The value of the encryption parameter.
constraints typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property constraints: The constraints of the encryption parameter.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the encryption parameter.
key_id typing.Union[str, ros_cdk_core.IResolvable] Property keyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of resource group.
tags typing.List[TagsProperty] Property tags: Tags of encryption parameter.

secret_parameter_nameRequired

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

Property secretParameterName: The name of the encryption parameter.

The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.


valueRequired

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

Property value: The value of the encryption parameter.

The value must be 1 to 4096 characters in length.


constraintsOptional

constraints: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property constraints: The constraints of the encryption parameter.


descriptionOptional

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

Property description: The description of the encryption parameter.

The description must be 1 to 200 characters in length.


key_idOptional

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

Property keyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.


resource_group_idOptional

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

Property resourceGroupId: The ID of resource group.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags of encryption parameter.