Class KeyState
Inherited Members
Namespace: Pulumi.Aws.Kms
Assembly: Pulumi.Aws.dll
Syntax
public sealed class KeyState : ResourceArgs
Constructors
View SourceKeyState()
Declaration
public KeyState()
Properties
View SourceArn
The Amazon Resource Name (ARN) of the key.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
EnableKeyRotation
Specifies whether key rotation is enabled. Defaults to false.
Declaration
public Input<bool> EnableKeyRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IsEnabled
Specifies whether the key is enabled. Defaults to true.
Declaration
public Input<bool> IsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
KeyId
The globally unique identifier for the key.
Declaration
public Input<string> KeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
Policy
A valid policy JSON document.
Declaration
public Input<string> Policy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to assign to the object.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |