Skip to content

AliasProps

Properties for defining a Alias.

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

Initializer

import com.aliyun.ros.cdk.kms.AliasProps;
AliasProps.builder()
    .aliasName(java.lang.String)
    .aliasName(IResolvable)
    .keyId(java.lang.String)
    .keyId(IResolvable)
    .build();

Properties

Name Type Description
aliasName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aliasName: - The display name of the key.
keyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property keyId: Globally unique identifier of the CMK.

aliasNameRequired

public java.lang.Object getAliasName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getKeyId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property keyId: Globally unique identifier of the CMK.