Show / Hide Table of Contents

Class KeyState

Inheritance
System.Object
InputArgs
ResourceArgs
KeyState
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.Kms
Assembly: Pulumi.Aws.dll
Syntax
public sealed class KeyState : ResourceArgs

Constructors

View Source

KeyState()

Declaration
public KeyState()

Properties

View Source

Arn

The Amazon Resource Name (ARN) of the key.

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

CustomerMasterKeySpec

Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC_DEFAULT, RSA_2048, RSA_3072, RSA_4096, ECC_NIST_P256, ECC_NIST_P384, ECC_NIST_P521, or ECC_SECG_P256K1. Defaults to SYMMETRIC_DEFAULT. For help with choosing a key spec, see the AWS KMS Developer Guide.

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

DeletionWindowInDays

Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days.

Declaration
public Input<int> DeletionWindowInDays { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Description

The description of the key as viewed in AWS console.

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

EnableKeyRotation

Specifies whether key rotation is enabled. Defaults to false.

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

IsEnabled

Specifies whether the key is enabled. Defaults to true.

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

KeyId

The globally unique identifier for the key.

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

KeyUsage

Specifies the intended use of the key. Valid values: ENCRYPT_DECRYPT or SIGN_VERIFY. Defaults to ENCRYPT_DECRYPT.

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

Policy

A valid policy JSON document.

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

Tags

A map of tags to assign to the object.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.