@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.601Z") @Stability(value=Stable) public class CfnKey extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnKey.Builder
A fluent builder for
CfnKey. |
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 |
|---|---|
|
CfnKey(software.constructs.Construct scope,
String id,
CfnKeyProps props)
Create a new `AWS::KMS::Key`.
|
protected |
CfnKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnKey(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrKeyId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::KMS::Key.Description`.
|
Object |
getEnabled()
`AWS::KMS::Key.Enabled`.
|
Object |
getEnableKeyRotation()
`AWS::KMS::Key.EnableKeyRotation`.
|
Object |
getKeyPolicy()
`AWS::KMS::Key.KeyPolicy`.
|
String |
getKeySpec()
`AWS::KMS::Key.KeySpec`.
|
String |
getKeyUsage()
`AWS::KMS::Key.KeyUsage`.
|
Number |
getPendingWindowInDays()
`AWS::KMS::Key.PendingWindowInDays`.
|
TagManager |
getTags()
`AWS::KMS::Key.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::Key.Description`.
|
void |
setEnabled(Boolean value)
`AWS::KMS::Key.Enabled`.
|
void |
setEnabled(IResolvable value)
`AWS::KMS::Key.Enabled`.
|
void |
setEnableKeyRotation(Boolean value)
`AWS::KMS::Key.EnableKeyRotation`.
|
void |
setEnableKeyRotation(IResolvable value)
`AWS::KMS::Key.EnableKeyRotation`.
|
void |
setKeyPolicy(Object value)
`AWS::KMS::Key.KeyPolicy`.
|
void |
setKeySpec(String value)
`AWS::KMS::Key.KeySpec`.
|
void |
setKeyUsage(String value)
`AWS::KMS::Key.KeyUsage`.
|
void |
setPendingWindowInDays(Number value)
`AWS::KMS::Key.PendingWindowInDays`.
|
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 CfnKey(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnKey(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnKeyProps 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) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getKeyPolicy()
@Stability(value=Stable)
public void setKeyPolicy(@NotNull
Object value)
@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) @Nullable public Object getEnableKeyRotation()
@Stability(value=Stable)
public void setEnableKeyRotation(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnableKeyRotation(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getKeySpec()
@Stability(value=Stable)
public void setKeySpec(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKeyUsage()
@Stability(value=Stable)
public void setKeyUsage(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getPendingWindowInDays()
@Stability(value=Stable)
public void setPendingWindowInDays(@Nullable
Number value)
Copyright © 2021. All rights reserved.