GetSecretsSecret class

Constructors

GetSecretsSecret({required Input<Map<String, String>> annotations, required Input<String> createTime, required Input<String> deletionPolicy, required Input<bool> deletionProtection, required Input<Map<String, String>> effectiveAnnotations, required Input<Map<String, String>> effectiveLabels, required Input<String> expireTime, required Input<Map<String, String>> labels, required Input<String> name, required Input<String> project, required Input<Map<String, String>> pulumiLabels, required Input<List<GetSecretsSecretReplication>> replications, required Input<List<GetSecretsSecretRotation>> rotations, required Input<String> secretId, required Input<Map<String, String>> tags, required Input<List<GetSecretsSecretTopic>> topics, required Input<String> ttl, required Input<Map<String, String>> versionAliases, required Input<String> versionDestroyTtl})
Creates a new GetSecretsSecret. annotations Custom metadata about the secret. createTime The time at which the Secret was created. deletionPolicy Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE". deletionProtection Whether Terraform will be prevented from destroying the secret. Defaults to false. effectiveAnnotations All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services. expireTime Timestamp in UTC when the Secret is scheduled to expire. labels The labels assigned to this Secret. name The resource name of the Pub/Sub topic that will be published to. project The ID of the project. pulumiLabels The combination of labels configured directly on the resource replications The replication policy of the secret data attached to the Secret. rotations The rotation time and period for a Secret. secretId This must be unique within the project. tags A map of resource manager tags. topics A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. ttl The TTL for the Secret. versionAliases Mapping from version alias to version name. versionDestroyTtl The version destroy ttl for the secret version.
const
GetSecretsSecret.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>>
Custom metadata about the secret.
final
createTime → Input<String>
The time at which the Secret was created.
final
deletionPolicy → Input<String>
Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE". When a 'terraform destroy' or 'terraform apply' would delete the instance, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
deletionProtection → Input<bool>
Whether Terraform will be prevented from destroying the secret. Defaults to false. When the field is set to true in Terraform state, a 'terraform apply' or 'terraform destroy' that would delete the secret will fail.
final
effectiveAnnotations → Input<Map<String, String>>
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
effectiveLabels → Input<Map<String, String>>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
final
expireTime → Input<String>
Timestamp in UTC when the Secret is scheduled to expire.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>
The labels assigned to this Secret.
final
name → Input<String>
The resource name of the Pub/Sub topic that will be published to.
final
project → Input<String>
The ID of the project.
final
pulumiLabels → Input<Map<String, String>>
The combination of labels configured directly on the resource and default labels configured on the provider.
final
replications → Input<List<GetSecretsSecretReplication>>
The replication policy of the secret data attached to the Secret. Structure is documented below.
final
rotations → Input<List<GetSecretsSecretRotation>>
The rotation time and period for a Secret. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretId → Input<String>
This must be unique within the project.
final
tags → Input<Map<String, String>>
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
final
topics → Input<List<GetSecretsSecretTopic>>
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. Structure is documented below.
final
ttl → Input<String>
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.
final
versionAliases → Input<Map<String, String>>
Mapping from version alias to version name.
final
versionDestroyTtl → Input<String>
The version destroy ttl for the secret version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited