Skip to content

AliasProps

Properties for defining a Alias.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kms-alias

Initializer

import ros_cdk_kms
ros_cdk_kms.AliasProps(
  alias_name: typing.Union[str, IResolvable],
  key_id: typing.Union[str, IResolvable]
)

Properties

Name Type Description
alias_name typing.Union[str, ros_cdk_core.IResolvable] Property aliasName: - The display name of the key.
key_id typing.Union[str, ros_cdk_core.IResolvable] Property keyId: Globally unique identifier of the CMK.

alias_nameRequired

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

Property aliasName: - The display name of the key.

You can use the alias to call APIs such as Encrypt, GenerateDataKey, and DescribeKey. - Not including the prefix, the minimum length of an alias is 1 and the maximum length is 255. - The prefix alias/ must be included.


key_idRequired

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

Property keyId: Globally unique identifier of the CMK.