SecretState constructor

const SecretState({
  1. Input<Map<String, String>?>? annotations,
  2. Input<String?>? createTime,
  3. Input<String?>? deletionPolicy,
  4. Input<bool?>? deletionProtection,
  5. Input<Map<String, String>?>? effectiveAnnotations,
  6. Input<Map<String, String>?>? effectiveLabels,
  7. Input<String?>? expireTime,
  8. Input<Map<String, String>?>? labels,
  9. Input<String?>? name,
  10. Input<String?>? project,
  11. Input<Map<String, String>?>? pulumiLabels,
  12. Input<SecretReplication?>? replication,
  13. Input<SecretRotation?>? rotation,
  14. Input<String?>? secretId,
  15. Input<Map<String, String>?>? tags,
  16. Input<List<SecretTopic>?>? topics,
  17. Input<String?>? ttl,
  18. Input<Map<String, String>?>? versionAliases,
  19. Input<String?>? versionDestroyTtl,
})

Creates a new SecretState. annotations Custom metadata about the secret. createTime The time at which the Secret was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. 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 Pulumi, other clients and services. expireTime Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. labels The labels assigned to this Secret. name The resource name of the Secret. Format: project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource replication The replication policy of the secret data attached to the Secret. It cannot be changed rotation The rotation time and period for a Secret. At nextRotationTime, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. 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 Secret Version TTL after destruction request.

Implementation

const SecretState({
  this.annotations,
  this.createTime,
  this.deletionPolicy,
  this.deletionProtection,
  this.effectiveAnnotations,
  this.effectiveLabels,
  this.expireTime,
  this.labels,
  this.name,
  this.project,
  this.pulumiLabels,
  this.replication,
  this.rotation,
  this.secretId,
  this.tags,
  this.topics,
  this.ttl,
  this.versionAliases,
  this.versionDestroyTtl,
});