Class KmsKeyPolicy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.aws.kms_key_policy.KmsKeyPolicy
-
- All Implemented Interfaces:
com.hashicorp.cdktf.IInterpolatingParent,com.hashicorp.cdktf.ITerraformAddressable,com.hashicorp.cdktf.ITerraformDependable,com.hashicorp.cdktf.ITerraformResource,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-30T04:56:53.568Z") @Stability(Stable) public class KmsKeyPolicy extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_key_policy aws_kms_key_policy}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKmsKeyPolicy.BuilderA fluent builder forKmsKeyPolicy.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringTF_RESOURCE_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protectedKmsKeyPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKmsKeyPolicy(software.amazon.jsii.JsiiObjectRef objRef)KmsKeyPolicy(software.constructs.Construct scope, String id, KmsKeyPolicyConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_key_policy aws_kms_key_policy} Resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBypassPolicyLockoutSafetyCheck()ObjectgetBypassPolicyLockoutSafetyCheckInput()StringgetId()StringgetIdInput()StringgetKeyId()StringgetKeyIdInput()StringgetPolicy()StringgetPolicyInput()voidresetBypassPolicyLockoutSafetyCheck()voidresetId()voidsetBypassPolicyLockoutSafetyCheck(com.hashicorp.cdktf.IResolvable value)voidsetBypassPolicyLockoutSafetyCheck(Boolean value)voidsetId(String value)voidsetKeyId(String value)voidsetPolicy(String value)protected Map<String,Object>synthesizeAttributes()-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
-
Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
TF_RESOURCE_TYPE
@Stability(Stable) public static final String TF_RESOURCE_TYPE
-
-
Constructor Detail
-
KmsKeyPolicy
protected KmsKeyPolicy(software.amazon.jsii.JsiiObjectRef objRef)
-
KmsKeyPolicy
protected KmsKeyPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KmsKeyPolicy
@Stability(Stable) public KmsKeyPolicy(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KmsKeyPolicyConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_key_policy aws_kms_key_policy} Resource.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.config- This parameter is required.
-
-
Method Detail
-
resetBypassPolicyLockoutSafetyCheck
@Stability(Stable) public void resetBypassPolicyLockoutSafetyCheck()
-
resetId
@Stability(Stable) public void resetId()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getBypassPolicyLockoutSafetyCheckInput
@Stability(Stable) @Nullable public Object getBypassPolicyLockoutSafetyCheckInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getKeyIdInput
@Stability(Stable) @Nullable public String getKeyIdInput()
-
getPolicyInput
@Stability(Stable) @Nullable public String getPolicyInput()
-
getBypassPolicyLockoutSafetyCheck
@Stability(Stable) @NotNull public Object getBypassPolicyLockoutSafetyCheck()
-
setBypassPolicyLockoutSafetyCheck
@Stability(Stable) public void setBypassPolicyLockoutSafetyCheck(@NotNull Boolean value)
-
setBypassPolicyLockoutSafetyCheck
@Stability(Stable) public void setBypassPolicyLockoutSafetyCheck(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getKeyId
@Stability(Stable) @NotNull public String getKeyId()
-
setKeyId
@Stability(Stable) public void setKeyId(@NotNull String value)
-
getPolicy
@Stability(Stable) @NotNull public String getPolicy()
-
setPolicy
@Stability(Stable) public void setPolicy(@NotNull String value)
-
-