Skip to content

AliasProps

Properties for defining a Alias.

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

Initializer

import { AliasProps } from '@alicloud/ros-cdk-kms'
const aliasProps: AliasProps = { ... }

Properties

Name Type Description
aliasName string | @alicloud/ros-cdk-core.IResolvable Property aliasName: - The display name of the key.
keyId string | @alicloud/ros-cdk-core.IResolvable Property keyId: Globally unique identifier of the CMK.

aliasNameRequired

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


keyIdRequired

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

Property keyId: Globally unique identifier of the CMK.