Class 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 class  KmsKeyPolicy.Builder
      A fluent builder for KmsKeyPolicy.
      • 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
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformDependable

        com.hashicorp.cdktf.ITerraformDependable.Jsii$Default, com.hashicorp.cdktf.ITerraformDependable.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformResource

        com.hashicorp.cdktf.ITerraformResource.Jsii$Default, com.hashicorp.cdktf.ITerraformResource.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KmsKeyPolicy​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected KmsKeyPolicy​(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.
    • 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:
        synthesizeAttributes in class com.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)