| Modifier and Type | Method and Description |
|---|---|
Alias.Builder |
aliasName(String aliasName)
The name of the alias.
|
Alias |
build() |
static Alias.Builder |
create(software.constructs.Construct scope,
String id) |
Alias.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Policy to apply when the alias is removed from this stack.
|
Alias.Builder |
targetKey(IKey targetKey)
The ID of the key for which you are creating the alias.
|
@Stability(value=Stable) public static Alias.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Alias.Builder.@Stability(value=Stable) public Alias.Builder aliasName(String aliasName)
The name must start with alias followed by a forward slash, such as alias/. You can't specify aliases that begin with alias/AWS. These aliases are reserved.
aliasName - The name of the alias. This parameter is required.this@Stability(value=Stable) public Alias.Builder targetKey(IKey targetKey)
Specify the key's globally unique identifier or Amazon Resource Name (ARN). You can't specify another alias.
targetKey - The ID of the key for which you are creating the alias. This parameter is required.this@Stability(value=Stable) public Alias.Builder removalPolicy(RemovalPolicy removalPolicy)
Default: - The alias will be deleted
removalPolicy - Policy to apply when the alias is removed from this stack. This parameter is required.thisCopyright © 2022. All rights reserved.