Package com.pulumi.gcp.secretmanager
Class SecretArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.secretmanager.SecretArgs
-
public final class SecretArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SecretArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretArgs.Builder
builder()
static SecretArgs.Builder
builder(SecretArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
expireTime()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
com.pulumi.core.Output<SecretReplicationArgs>
replication()
java.util.Optional<com.pulumi.core.Output<SecretRotationArgs>>
rotation()
com.pulumi.core.Output<java.lang.String>
secretId()
java.util.Optional<com.pulumi.core.Output<java.util.List<SecretTopicArgs>>>
topics()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
ttl()
-
-
-
Field Detail
-
Empty
public static final SecretArgs Empty
-
-
Method Detail
-
expireTime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expireTime()
- Returns:
- 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".
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- 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" }.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
replication
public com.pulumi.core.Output<SecretReplicationArgs> replication()
- Returns:
- The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
-
rotation
public java.util.Optional<com.pulumi.core.Output<SecretRotationArgs>> rotation()
- Returns:
- The rotation time and period for a Secret. At `next_rotation_time`, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be set to configure rotation. Structure is documented below.
-
secretId
public com.pulumi.core.Output<java.lang.String> secretId()
- Returns:
- This must be unique within the project.
-
topics
public java.util.Optional<com.pulumi.core.Output<java.util.List<SecretTopicArgs>>> topics()
- Returns:
- 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.
-
ttl
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ttl()
- Returns:
- The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
-
builder
public static SecretArgs.Builder builder()
-
builder
public static SecretArgs.Builder builder(SecretArgs defaults)
-
-