Class SecretState
Inherited Members
Namespace: Pulumi.Aws.SecretsManager
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SecretState : ResourceArgs
Constructors
View SourceSecretState()
Declaration
public SecretState()
Properties
View SourceArn
Amazon Resource Name (ARN) of the secret.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A description of the secret.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KmsKeyId
Specifies the ARN or alias of the AWS KMS customer master key (CMK) to be used to encrypt the secret values in the versions stored in this secret. If you don't specify this value, then Secrets Manager defaults to using the AWS account's default CMK (the one named aws/secretsmanager). If the default KMS CMK with that name doesn't yet exist, then AWS Secrets Manager creates it for you automatically the first time.
Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Specifies the 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 name_prefix.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified prefix. Conflicts with name.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policy
A valid JSON document representing a resource policy.
Declaration
public Input<string> Policy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RecoveryWindowInDays
Specifies the 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.
Declaration
public Input<int> RecoveryWindowInDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RotationEnabled
Specifies whether automatic rotation is enabled for this secret.
Declaration
public Input<bool> RotationEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
RotationLambdaArn
Specifies the ARN of the Lambda function that can rotate the secret.
Declaration
public Input<string> RotationLambdaArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RotationRules
A structure that defines the rotation configuration for this secret. Defined below.
Declaration
public Input<SecretRotationRulesGetArgs> RotationRules { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SecretRotationRulesGetArgs> |
Tags
Specifies a key-value map of user-defined tags that are attached to the secret.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |