Package com.pulumi.aws.secretsmanager
Class SecretVersionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.secretsmanager.SecretVersionArgs
-
public final class SecretVersionArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretVersionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SecretVersionArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretVersionArgs.Builder
builder()
static SecretVersionArgs.Builder
builder(SecretVersionArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
secretBinary()
com.pulumi.core.Output<java.lang.String>
secretId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
secretString()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
versionStages()
-
-
-
Field Detail
-
Empty
public static final SecretVersionArgs Empty
-
-
Method Detail
-
secretBinary
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretBinary()
- Returns:
- Specifies binary data that you want to encrypt and store in this version of the secret. This is required if `secret_string` is not set. Needs to be encoded to base64.
-
secretId
public com.pulumi.core.Output<java.lang.String> secretId()
- Returns:
- Specifies the secret to which you want to add a new version. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already exist.
-
secretString
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretString()
- Returns:
- Specifies text data that you want to encrypt and store in this version of the secret. This is required if `secret_binary` is not set.
-
versionStages
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> versionStages()
- Returns:
- Specifies a list of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret. If you specify a staging label that's already associated with a different version of the same secret then that staging label is automatically removed from the other version and attached to this version. If you do not specify a value, then AWS Secrets Manager automatically moves the staging label `AWSCURRENT` to this new version on creation. > **NOTE:** If `version_stages` is configured, you must include the `AWSCURRENT` staging label if this secret version is the only version or if the label is currently present on this secret version, otherwise this provider will show a perpetual difference.
-
builder
public static SecretVersionArgs.Builder builder()
-
builder
public static SecretVersionArgs.Builder builder(SecretVersionArgs defaults)
-
-