Class SecretState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.secretsmanager.inputs.SecretState
-
public final class SecretState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretState.Builder
-
Field Summary
Fields Modifier and Type Field Description static SecretStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>arn()static SecretState.Builderbuilder()static SecretState.Builderbuilder(SecretState defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>forceOverwriteReplicaSecret()java.util.Optional<com.pulumi.core.Output<java.lang.String>>kmsKeyId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>namePrefix()java.util.Optional<com.pulumi.core.Output<java.lang.String>>policy()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>recoveryWindowInDays()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.List<SecretReplicaArgs>>>replicas()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tagsAll()java.util.Optional<com.pulumi.core.Output<java.lang.String>>type()
-
-
-
Field Detail
-
Empty
public static final SecretState Empty
-
-
Method Detail
-
arn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
- Returns:
- ARN of the secret.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Description of the secret.
-
forceOverwriteReplicaSecret
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceOverwriteReplicaSecret()
- Returns:
- Accepts boolean value to specify whether to overwrite a secret with the same name in the destination Region.
-
kmsKeyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
- Returns:
- ARN or ID of the AWS KMS key to be used to encrypt the secret values in the versions stored in this secret. If you need to reference a CMK in a different account, you can use only the key ARN. If you don't specify this value, then Secrets Manager defaults to using the AWS account's default KMS key (the one named `aws/secretsmanager`). If the default KMS key with that name doesn't yet exist, then AWS Secrets Manager creates it for you automatically the first time.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-` Conflicts with `namePrefix`.
-
namePrefix
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> namePrefix()
- Returns:
- Creates a unique name beginning with the specified prefix. Conflicts with `name`.
-
policy
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policy()
- Returns:
- Valid JSON document representing a [resource policy](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html). Removing `policy` from your configuration or setting `policy` to null or an empty string (i.e., `policy = ""`) _will not_ delete the policy since it could have been set by `aws.secretsmanager.SecretPolicy`. To delete the `policy`, set it to `"{}"` (an empty JSON document).
-
recoveryWindowInDays
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> recoveryWindowInDays()
- Returns:
- Number of days that AWS Secrets Manager waits before it can delete the secret. This value can be `0` to force deletion without recovery or range from `7` to `30` days. The default value is `30`.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
replicas
public java.util.Optional<com.pulumi.core.Output<java.util.List<SecretReplicaArgs>>> replicas()
- Returns:
- Configuration block to support secret replication. See details below.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key-value map of user-defined tags that are attached to the secret. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
type
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
- Returns:
- Type of secret for managed external secrets. Valid values are `SalesforceClientSecret`, `BigIDClientSecret`, and `SnowflakeKeyPairAuthentication`. For more information about supported partners and their specific requirements, see [Managed external secret partners](https://docs.aws.amazon.com/secretsmanager/latest/userguide/mes-partners.html). This attribute cannot be changed after creation.
-
builder
public static SecretState.Builder builder()
-
builder
public static SecretState.Builder builder(SecretState defaults)
-
-