Class CfnAliasPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
You can use an alias to identify a key in the console and when you call cryptographic operations such as EncryptData or DecryptData .
You can associate the alias with any key in the same AWS Region . Each alias is associated with only one key at a time, but a key can have multiple aliases. You can't create an alias without a key. The alias must be unique in the account and AWS Region , but you can create another alias with the same name in a different AWS Region .
To change the key that's associated with the alias, call UpdateAlias . To delete the alias, call DeleteAlias . These operations don't affect the underlying key. To get the alias that you created, call ListAliases .
Cross-account use : This operation can't be used across different AWS accounts.
Related operations:
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.paymentcryptography.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnAliasPropsMixin cfnAliasPropsMixin = CfnAliasPropsMixin.Builder.create(CfnAliasMixinProps.builder()
.aliasName("aliasName")
.keyArn("keyArn")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::PaymentCryptography::Alias.CfnAliasPropsMixin(CfnAliasMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::PaymentCryptography::Alias.protectedCfnAliasPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAliasPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnAliasMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnAliasPropsMixin
protected CfnAliasPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAliasPropsMixin
protected CfnAliasPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAliasPropsMixin
@Stability(Stable) public CfnAliasPropsMixin(@NotNull CfnAliasMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::PaymentCryptography::Alias.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnAliasPropsMixin
Create a mixin to apply properties toAWS::PaymentCryptography::Alias.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-