Class SecretManagerSecret

  • 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.650Z")
    @Stability(Stable)
    public class SecretManagerSecret
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret google_secret_manager_secret}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • SecretManagerSecret

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

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

        @Stability(Stable)
        public SecretManagerSecret​(@NotNull
                                   software.constructs.Construct scope,
                                   @NotNull
                                   String id,
                                   @NotNull
                                   SecretManagerSecretConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret google_secret_manager_secret} 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 SecretManagerSecret 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 SecretManagerSecret to import. This parameter is required.
        importFromId - The id of the existing SecretManagerSecret that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the SecretManagerSecret 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 SecretManagerSecret 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 SecretManagerSecret to import. This parameter is required.
        importFromId - The id of the existing SecretManagerSecret that should be imported. This parameter is required.
      • putReplication

        @Stability(Stable)
        public void putReplication​(@NotNull
                                   SecretManagerSecretReplication value)
        Parameters:
        value - This parameter is required.
      • putRotation

        @Stability(Stable)
        public void putRotation​(@NotNull
                                SecretManagerSecretRotation value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                SecretManagerSecretTimeouts value)
        Parameters:
        value - This parameter is required.
      • putTopics

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

        @Stability(Stable)
        public void resetAnnotations()
      • resetExpireTime

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

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

        @Stability(Stable)
        public void resetLabels()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetRotation

        @Stability(Stable)
        public void resetRotation()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • resetTopics

        @Stability(Stable)
        public void resetTopics()
      • resetTtl

        @Stability(Stable)
        public void resetTtl()
      • resetVersionAliases

        @Stability(Stable)
        public void resetVersionAliases()
      • resetVersionDestroyTtl

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

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

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

        @Stability(Stable)
        @NotNull
        public String getCreateTime()
      • getEffectiveAnnotations

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getEffectiveAnnotations()
      • getEffectiveLabels

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getEffectiveLabels()
      • getName

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

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getTerraformLabels()
      • getAnnotationsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getAnnotationsInput()
      • getExpireTimeInput

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

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

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getLabelsInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getSecretIdInput

        @Stability(Stable)
        @Nullable
        public String getSecretIdInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getTopicsInput

        @Stability(Stable)
        @Nullable
        public Object getTopicsInput()
      • getTtlInput

        @Stability(Stable)
        @Nullable
        public String getTtlInput()
      • getVersionAliasesInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getVersionAliasesInput()
      • getVersionDestroyTtlInput

        @Stability(Stable)
        @Nullable
        public String getVersionDestroyTtlInput()
      • getAnnotations

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getAnnotations()
      • setAnnotations

        @Stability(Stable)
        public void setAnnotations​(@NotNull
                                   Map<String,​String> value)
      • getExpireTime

        @Stability(Stable)
        @NotNull
        public String getExpireTime()
      • setExpireTime

        @Stability(Stable)
        public void setExpireTime​(@NotNull
                                  String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getLabels

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getLabels()
      • setLabels

        @Stability(Stable)
        public void setLabels​(@NotNull
                              Map<String,​String> value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getSecretId

        @Stability(Stable)
        @NotNull
        public String getSecretId()
      • setSecretId

        @Stability(Stable)
        public void setSecretId​(@NotNull
                                String value)
      • getTtl

        @Stability(Stable)
        @NotNull
        public String getTtl()
      • setTtl

        @Stability(Stable)
        public void setTtl​(@NotNull
                           String value)
      • getVersionAliases

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getVersionAliases()
      • setVersionAliases

        @Stability(Stable)
        public void setVersionAliases​(@NotNull
                                      Map<String,​String> value)
      • getVersionDestroyTtl

        @Stability(Stable)
        @NotNull
        public String getVersionDestroyTtl()
      • setVersionDestroyTtl

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