Class KmsGrant

  • 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.565Z")
    @Stability(Stable)
    public class KmsGrant
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_grant aws_kms_grant}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • KmsGrant

        protected KmsGrant​(software.amazon.jsii.JsiiObjectRef objRef)
      • KmsGrant

        protected KmsGrant​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • KmsGrant

        @Stability(Stable)
        public KmsGrant​(@NotNull
                        software.constructs.Construct scope,
                        @NotNull
                        String id,
                        @NotNull
                        KmsGrantConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_grant aws_kms_grant} 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

      • putConstraints

        @Stability(Stable)
        public void putConstraints​(@NotNull
                                   Object value)
        Parameters:
        value - This parameter is required.
      • resetConstraints

        @Stability(Stable)
        public void resetConstraints()
      • resetGrantCreationTokens

        @Stability(Stable)
        public void resetGrantCreationTokens()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetName

        @Stability(Stable)
        public void resetName()
      • resetRetireOnDelete

        @Stability(Stable)
        public void resetRetireOnDelete()
      • resetRetiringPrincipal

        @Stability(Stable)
        public void resetRetiringPrincipal()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getGrantId

        @Stability(Stable)
        @NotNull
        public String getGrantId()
      • getGrantToken

        @Stability(Stable)
        @NotNull
        public String getGrantToken()
      • getConstraintsInput

        @Stability(Stable)
        @Nullable
        public Object getConstraintsInput()
      • getGrantCreationTokensInput

        @Stability(Stable)
        @Nullable
        public List<String> getGrantCreationTokensInput()
      • getGranteePrincipalInput

        @Stability(Stable)
        @Nullable
        public String getGranteePrincipalInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getKeyIdInput

        @Stability(Stable)
        @Nullable
        public String getKeyIdInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getOperationsInput

        @Stability(Stable)
        @Nullable
        public List<String> getOperationsInput()
      • getRetireOnDeleteInput

        @Stability(Stable)
        @Nullable
        public Object getRetireOnDeleteInput()
      • getRetiringPrincipalInput

        @Stability(Stable)
        @Nullable
        public String getRetiringPrincipalInput()
      • getGrantCreationTokens

        @Stability(Stable)
        @NotNull
        public List<String> getGrantCreationTokens()
      • setGrantCreationTokens

        @Stability(Stable)
        public void setGrantCreationTokens​(@NotNull
                                           List<String> value)
      • getGranteePrincipal

        @Stability(Stable)
        @NotNull
        public String getGranteePrincipal()
      • setGranteePrincipal

        @Stability(Stable)
        public void setGranteePrincipal​(@NotNull
                                        String 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)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getOperations

        @Stability(Stable)
        @NotNull
        public List<String> getOperations()
      • setOperations

        @Stability(Stable)
        public void setOperations​(@NotNull
                                  List<String> value)
      • getRetireOnDelete

        @Stability(Stable)
        @NotNull
        public Object getRetireOnDelete()
      • setRetireOnDelete

        @Stability(Stable)
        public void setRetireOnDelete​(@NotNull
                                      Boolean value)
      • setRetireOnDelete

        @Stability(Stable)
        public void setRetireOnDelete​(@NotNull
                                      com.hashicorp.cdktf.IResolvable value)
      • getRetiringPrincipal

        @Stability(Stable)
        @NotNull
        public String getRetiringPrincipal()
      • setRetiringPrincipal

        @Stability(Stable)
        public void setRetiringPrincipal​(@NotNull
                                         String value)