@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.040Z") @Stability(value=Stable) public class CfnReplicaKey extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kms.*;
Object keyPolicy;
CfnReplicaKey cfnReplicaKey = CfnReplicaKey.Builder.create(this, "MyCfnReplicaKey")
.keyPolicy(keyPolicy)
.primaryKeyArn("primaryKeyArn")
// the properties below are optional
.description("description")
.enabled(false)
.pendingWindowInDays(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnReplicaKey.Builder
A fluent builder for
CfnReplicaKey. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnReplicaKey(software.constructs.Construct scope,
String id,
CfnReplicaKeyProps props)
Create a new `AWS::KMS::ReplicaKey`.
|
protected |
CfnReplicaKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnReplicaKey(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrKeyId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::KMS::ReplicaKey.Description`.
|
Object |
getEnabled()
`AWS::KMS::ReplicaKey.Enabled`.
|
Object |
getKeyPolicy()
`AWS::KMS::ReplicaKey.KeyPolicy`.
|
Number |
getPendingWindowInDays()
`AWS::KMS::ReplicaKey.PendingWindowInDays`.
|
String |
getPrimaryKeyArn()
`AWS::KMS::ReplicaKey.PrimaryKeyArn`.
|
TagManager |
getTags()
`AWS::KMS::ReplicaKey.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::KMS::ReplicaKey.Description`.
|
void |
setEnabled(Boolean value)
`AWS::KMS::ReplicaKey.Enabled`.
|
void |
setEnabled(IResolvable value)
`AWS::KMS::ReplicaKey.Enabled`.
|
void |
setKeyPolicy(Object value)
`AWS::KMS::ReplicaKey.KeyPolicy`.
|
void |
setPendingWindowInDays(Number value)
`AWS::KMS::ReplicaKey.PendingWindowInDays`.
|
void |
setPrimaryKeyArn(String value)
`AWS::KMS::ReplicaKey.PrimaryKeyArn`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnReplicaKey(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnReplicaKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnReplicaKey(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnReplicaKeyProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrKeyId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getEnabled()
@Stability(value=Stable)
public void setEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public Object getKeyPolicy()
@Stability(value=Stable)
public void setKeyPolicy(@NotNull
Object value)
@Stability(value=Stable) @Nullable public Number getPendingWindowInDays()
@Stability(value=Stable)
public void setPendingWindowInDays(@Nullable
Number value)
@Stability(value=Stable) @NotNull public String getPrimaryKeyArn()
@Stability(value=Stable)
public void setPrimaryKeyArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.