Interface SecretManagerSecretConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
SecretManagerSecretConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.652Z") @Stability(Stable) public interface SecretManagerSecretConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecretManagerSecretConfig.BuilderA builder forSecretManagerSecretConfigstatic classSecretManagerSecretConfig.Jsii$ProxyAn implementation forSecretManagerSecretConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SecretManagerSecretConfig.Builderbuilder()default Map<String,String>getAnnotations()Custom metadata about the secret.default StringgetExpireTime()Timestamp in UTC when the Secret is scheduled to expire.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#id SecretManagerSecret#id}.default Map<String,String>getLabels()The labels assigned to this Secret.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#project SecretManagerSecret#project}.SecretManagerSecretReplicationgetReplication()replication block.default SecretManagerSecretRotationgetRotation()rotation block.StringgetSecretId()This must be unique within the project.default SecretManagerSecretTimeoutsgetTimeouts()timeouts block.default ObjectgetTopics()topics block.default StringgetTtl()The TTL for the Secret.default Map<String,String>getVersionAliases()Mapping from version alias to version name.default StringgetVersionDestroyTtl()Secret Version TTL after destruction request.
-
-
-
Method Detail
-
getReplication
@Stability(Stable) @NotNull SecretManagerSecretReplication getReplication()
replication block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#replication SecretManagerSecret#replication}
-
getSecretId
@Stability(Stable) @NotNull String getSecretId()
This must be unique within the project.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#secret_id SecretManagerSecret#secret_id}
-
getAnnotations
@Stability(Stable) @Nullable default Map<String,String> getAnnotations()
Custom metadata about the secret.Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#annotations SecretManagerSecret#annotations}
-
getExpireTime
@Stability(Stable) @Nullable default String getExpireTime()
Timestamp in UTC when the Secret is scheduled to expire.This is always provided on output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of 'expire_time' or 'ttl' can be provided. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#expire_time SecretManagerSecret#expire_time}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#id SecretManagerSecret#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
The labels assigned to this Secret.Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#labels SecretManagerSecret#labels}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#project SecretManagerSecret#project}.
-
getRotation
@Stability(Stable) @Nullable default SecretManagerSecretRotation getRotation()
rotation block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#rotation SecretManagerSecret#rotation}
-
getTimeouts
@Stability(Stable) @Nullable default SecretManagerSecretTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#timeouts SecretManagerSecret#timeouts}
-
getTopics
@Stability(Stable) @Nullable default Object getTopics()
topics block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#topics SecretManagerSecret#topics}
-
getTtl
@Stability(Stable) @Nullable default String getTtl()
The TTL for the Secret.A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#ttl SecretManagerSecret#ttl}
-
getVersionAliases
@Stability(Stable) @Nullable default Map<String,String> getVersionAliases()
Mapping from version alias to version name.A version alias is a string with a maximum length of 63 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#version_aliases SecretManagerSecret#version_aliases}
-
getVersionDestroyTtl
@Stability(Stable) @Nullable default String getVersionDestroyTtl()
Secret Version TTL after destruction request.This is a part of the delayed delete feature on Secret Version. For secret with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to a disabled state and the actual destruction happens after this TTL expires. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#version_destroy_ttl SecretManagerSecret#version_destroy_ttl}
-
builder
@Stability(Stable) static SecretManagerSecretConfig.Builder builder()
- Returns:
- a
SecretManagerSecretConfig.BuilderofSecretManagerSecretConfig
-
-