Class ExternalKeyArgs
Inherited Members
Namespace: Pulumi.Aws.Kms
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ExternalKeyArgs : ResourceArgs
Constructors
View SourceExternalKeyArgs()
Declaration
public ExternalKeyArgs()
Properties
View SourceDeletionWindowInDays
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> |
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> |
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> |