Class KmsGrant
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.aws.kms_grant.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}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKmsGrant.BuilderA fluent builder forKmsGrant.-
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 protectedKmsGrant(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKmsGrant(software.amazon.jsii.JsiiObjectRef objRef)KmsGrant(software.constructs.Construct scope, String id, KmsGrantConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_grant aws_kms_grant} Resource.
-
Method Summary
-
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
-
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:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getConstraints
@Stability(Stable) @NotNull public KmsGrantConstraintsList getConstraints()
-
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()
-
getRetireOnDeleteInput
@Stability(Stable) @Nullable public Object getRetireOnDeleteInput()
-
getRetiringPrincipalInput
@Stability(Stable) @Nullable public String getRetiringPrincipalInput()
-
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)
-
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)
-
-