Class ExternalKeyState
Inherited Members
Namespace: Pulumi.Aws.Kms
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ExternalKeyState : ResourceArgs
Constructors
View SourceExternalKeyState()
Declaration
public ExternalKeyState()
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> |
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.
Declaration
public Input<int> DeletionWindowInDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Description
Description of the key.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Enabled
Specifies whether the key is enabled. Keys pending import can only be false. Imported keys default to true unless expired.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ExpirationModel
Whether the key material expires. Empty when pending key material import, otherwise KEY_MATERIAL_EXPIRES or KEY_MATERIAL_DOES_NOT_EXPIRE.
Declaration
public Input<string> ExpirationModel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyMaterialBase64
Base64 encoded 256-bit symmetric encryption key material to import. The CMK is permanently associated with this key material. The same key material can be reimported, but you cannot import different key material.
Declaration
public Input<string> KeyMaterialBase64 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyState
The state of the CMK.
Declaration
public Input<string> KeyState { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyUsage
The cryptographic operations for which you can use the CMK.
Declaration
public Input<string> KeyUsage { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policy
A key policy JSON document. If you do not provide a key policy, AWS KMS attaches a default key policy to the CMK.
Declaration
public Input<string> Policy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A key-value map of tags to assign to the key.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
ValidTo
Time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. If not specified, key material does not expire. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)
Declaration
public Input<string> ValidTo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |