Show / Hide Table of Contents

Class SecretState

Inheritance
System.Object
InputArgs
ResourceArgs
SecretState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.SecretsManager
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SecretState : ResourceArgs

Constructors

View Source

SecretState()

Declaration
public SecretState()

Properties

View Source

Arn

Amazon Resource Name (ARN) of the secret.

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

A description of the secret.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

Policy

A valid JSON document representing a resource policy.

Declaration
public Input<string> Policy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

RotationEnabled

Specifies whether automatic rotation is enabled for this secret.

Declaration
public Input<bool> RotationEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.