Class SecretManagerSecretVersion
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.google.secret_manager_secret_version.SecretManagerSecretVersion
-
- 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.102.0 (build e354887)", date="2024-08-31T03:59:22.661Z") @Stability(Stable) public class SecretManagerSecretVersion extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version google_secret_manager_secret_version}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretManagerSecretVersion.BuilderA fluent builder forSecretManagerSecretVersion.-
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 protectedSecretManagerSecretVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedSecretManagerSecretVersion(software.amazon.jsii.JsiiObjectRef objRef)SecretManagerSecretVersion(software.constructs.Construct scope, String id, SecretManagerSecretVersionConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version google_secret_manager_secret_version} Resource.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.hashicorp.cdktf.ImportableResourcegenerateConfigForImport(software.constructs.Construct scope, String importToId, String importFromId)Generates CDKTF code for importing a SecretManagerSecretVersion resource upon running "cdktf plan". static com.hashicorp.cdktf.ImportableResourcegenerateConfigForImport(software.constructs.Construct scope, String importToId, String importFromId, com.hashicorp.cdktf.TerraformProvider provider)Generates CDKTF code for importing a SecretManagerSecretVersion resource upon running "cdktf plan". StringgetCreateTime()StringgetDeletionPolicy()StringgetDeletionPolicyInput()StringgetDestroyTime()ObjectgetEnabled()ObjectgetEnabledInput()StringgetId()StringgetIdInput()ObjectgetIsSecretDataBase64()ObjectgetIsSecretDataBase64Input()StringgetName()StringgetSecret()StringgetSecretData()StringgetSecretDataInput()StringgetSecretInput()SecretManagerSecretVersionTimeoutsOutputReferencegetTimeouts()ObjectgetTimeoutsInput()StringgetVersion()voidputTimeouts(SecretManagerSecretVersionTimeouts value)voidresetDeletionPolicy()voidresetEnabled()voidresetId()voidresetIsSecretDataBase64()voidresetTimeouts()voidsetDeletionPolicy(String value)voidsetEnabled(com.hashicorp.cdktf.IResolvable value)voidsetEnabled(Boolean value)voidsetId(String value)voidsetIsSecretDataBase64(com.hashicorp.cdktf.IResolvable value)voidsetIsSecretDataBase64(Boolean value)voidsetSecret(String value)voidsetSecretData(String value)protected Map<String,Object>synthesizeAttributes()protected Map<String,Object>synthesizeHclAttributes()-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
addMoveTarget, getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, hasResourceMove, importFrom, importFrom, interpolationForAttribute, isTerraformResource, moveFromId, moveTo, moveTo, moveToId, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toHclTerraform, 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
-
SecretManagerSecretVersion
protected SecretManagerSecretVersion(software.amazon.jsii.JsiiObjectRef objRef)
-
SecretManagerSecretVersion
protected SecretManagerSecretVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
SecretManagerSecretVersion
@Stability(Stable) public SecretManagerSecretVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SecretManagerSecretVersionConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version google_secret_manager_secret_version} 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
-
generateConfigForImport
@Stability(Stable) @NotNull public static com.hashicorp.cdktf.ImportableResource generateConfigForImport(@NotNull software.constructs.Construct scope, @NotNull String importToId, @NotNull String importFromId, @Nullable com.hashicorp.cdktf.TerraformProvider provider)Generates CDKTF code for importing a SecretManagerSecretVersion resource upon running "cdktf plan". - Parameters:
scope- The scope in which to define this construct. This parameter is required.importToId- The construct id used in the generated config for the SecretManagerSecretVersion to import. This parameter is required.importFromId- The id of the existing SecretManagerSecretVersion that should be imported. This parameter is required.provider- ? Optional instance of the provider where the SecretManagerSecretVersion to import is found.
-
generateConfigForImport
@Stability(Stable) @NotNull public static com.hashicorp.cdktf.ImportableResource generateConfigForImport(@NotNull software.constructs.Construct scope, @NotNull String importToId, @NotNull String importFromId)Generates CDKTF code for importing a SecretManagerSecretVersion resource upon running "cdktf plan". - Parameters:
scope- The scope in which to define this construct. This parameter is required.importToId- The construct id used in the generated config for the SecretManagerSecretVersion to import. This parameter is required.importFromId- The id of the existing SecretManagerSecretVersion that should be imported. This parameter is required.
-
putTimeouts
@Stability(Stable) public void putTimeouts(@NotNull SecretManagerSecretVersionTimeouts value)- Parameters:
value- This parameter is required.
-
resetDeletionPolicy
@Stability(Stable) public void resetDeletionPolicy()
-
resetEnabled
@Stability(Stable) public void resetEnabled()
-
resetId
@Stability(Stable) public void resetId()
-
resetIsSecretDataBase64
@Stability(Stable) public void resetIsSecretDataBase64()
-
resetTimeouts
@Stability(Stable) public void resetTimeouts()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
synthesizeHclAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeHclAttributes()
- Overrides:
synthesizeHclAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getCreateTime
@Stability(Stable) @NotNull public String getCreateTime()
-
getDestroyTime
@Stability(Stable) @NotNull public String getDestroyTime()
-
getName
@Stability(Stable) @NotNull public String getName()
-
getTimeouts
@Stability(Stable) @NotNull public SecretManagerSecretVersionTimeoutsOutputReference getTimeouts()
-
getVersion
@Stability(Stable) @NotNull public String getVersion()
-
getDeletionPolicyInput
@Stability(Stable) @Nullable public String getDeletionPolicyInput()
-
getEnabledInput
@Stability(Stable) @Nullable public Object getEnabledInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getIsSecretDataBase64Input
@Stability(Stable) @Nullable public Object getIsSecretDataBase64Input()
-
getSecretDataInput
@Stability(Stable) @Nullable public String getSecretDataInput()
-
getSecretInput
@Stability(Stable) @Nullable public String getSecretInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getDeletionPolicy
@Stability(Stable) @NotNull public String getDeletionPolicy()
-
setDeletionPolicy
@Stability(Stable) public void setDeletionPolicy(@NotNull String value)
-
getEnabled
@Stability(Stable) @NotNull public Object getEnabled()
-
setEnabled
@Stability(Stable) public void setEnabled(@NotNull Boolean value)
-
setEnabled
@Stability(Stable) public void setEnabled(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getIsSecretDataBase64
@Stability(Stable) @NotNull public Object getIsSecretDataBase64()
-
setIsSecretDataBase64
@Stability(Stable) public void setIsSecretDataBase64(@NotNull Boolean value)
-
setIsSecretDataBase64
@Stability(Stable) public void setIsSecretDataBase64(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getSecret
@Stability(Stable) @NotNull public String getSecret()
-
setSecret
@Stability(Stable) public void setSecret(@NotNull String value)
-
getSecretData
@Stability(Stable) @NotNull public String getSecretData()
-
setSecretData
@Stability(Stable) public void setSecretData(@NotNull String value)
-
-