Documentation
¶
Index ¶
- Constants
- type Alias
- type AliasArgs
- type AliasInput
- type AliasOutput
- type AliasState
- type Key
- type KeyArgs
- type KeyInput
- type KeyOutput
- type KeySpec
- func (KeySpec) ElementType() reflect.Type
- func (e KeySpec) ToKeySpecOutput() KeySpecOutput
- func (e KeySpec) ToKeySpecOutputWithContext(ctx context.Context) KeySpecOutput
- func (e KeySpec) ToKeySpecPtrOutput() KeySpecPtrOutput
- func (e KeySpec) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
- func (e KeySpec) ToStringOutput() pulumi.StringOutput
- func (e KeySpec) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e KeySpec) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e KeySpec) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type KeySpecInput
- type KeySpecOutput
- func (KeySpecOutput) ElementType() reflect.Type
- func (o KeySpecOutput) ToKeySpecOutput() KeySpecOutput
- func (o KeySpecOutput) ToKeySpecOutputWithContext(ctx context.Context) KeySpecOutput
- func (o KeySpecOutput) ToKeySpecPtrOutput() KeySpecPtrOutput
- func (o KeySpecOutput) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
- func (o KeySpecOutput) ToStringOutput() pulumi.StringOutput
- func (o KeySpecOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o KeySpecOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o KeySpecOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type KeySpecPtrInput
- type KeySpecPtrOutput
- func (o KeySpecPtrOutput) Elem() KeySpecOutput
- func (KeySpecPtrOutput) ElementType() reflect.Type
- func (o KeySpecPtrOutput) ToKeySpecPtrOutput() KeySpecPtrOutput
- func (o KeySpecPtrOutput) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
- func (o KeySpecPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o KeySpecPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type KeyState
- type KeyTag
- type KeyTagArgs
- type KeyTagArray
- type KeyTagArrayInput
- type KeyTagArrayOutput
- type KeyTagInput
- type KeyTagOutput
- type KeyUsage
- func (KeyUsage) ElementType() reflect.Type
- func (e KeyUsage) ToKeyUsageOutput() KeyUsageOutput
- func (e KeyUsage) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput
- func (e KeyUsage) ToKeyUsagePtrOutput() KeyUsagePtrOutput
- func (e KeyUsage) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
- func (e KeyUsage) ToStringOutput() pulumi.StringOutput
- func (e KeyUsage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e KeyUsage) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e KeyUsage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type KeyUsageInput
- type KeyUsageOutput
- func (KeyUsageOutput) ElementType() reflect.Type
- func (o KeyUsageOutput) ToKeyUsageOutput() KeyUsageOutput
- func (o KeyUsageOutput) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput
- func (o KeyUsageOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput
- func (o KeyUsageOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
- func (o KeyUsageOutput) ToStringOutput() pulumi.StringOutput
- func (o KeyUsageOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o KeyUsageOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o KeyUsageOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type KeyUsagePtrInput
- type KeyUsagePtrOutput
- func (o KeyUsagePtrOutput) Elem() KeyUsageOutput
- func (KeyUsagePtrOutput) ElementType() reflect.Type
- func (o KeyUsagePtrOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput
- func (o KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
- func (o KeyUsagePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o KeyUsagePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ReplicaKey
- type ReplicaKeyArgs
- type ReplicaKeyInput
- type ReplicaKeyOutput
- type ReplicaKeyState
- type ReplicaKeyTag
- type ReplicaKeyTagArgs
- type ReplicaKeyTagArray
- type ReplicaKeyTagArrayInput
- type ReplicaKeyTagArrayOutput
- func (ReplicaKeyTagArrayOutput) ElementType() reflect.Type
- func (o ReplicaKeyTagArrayOutput) Index(i pulumi.IntInput) ReplicaKeyTagOutput
- func (o ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutput() ReplicaKeyTagArrayOutput
- func (o ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutputWithContext(ctx context.Context) ReplicaKeyTagArrayOutput
- type ReplicaKeyTagInput
- type ReplicaKeyTagOutput
- func (ReplicaKeyTagOutput) ElementType() reflect.Type
- func (o ReplicaKeyTagOutput) Key() pulumi.StringOutput
- func (o ReplicaKeyTagOutput) ToReplicaKeyTagOutput() ReplicaKeyTagOutput
- func (o ReplicaKeyTagOutput) ToReplicaKeyTagOutputWithContext(ctx context.Context) ReplicaKeyTagOutput
- func (o ReplicaKeyTagOutput) Value() pulumi.StringOutput
Constants ¶
const ( KeySpecSymmetricDefault = KeySpec("SYMMETRIC_DEFAULT") KeySpecRsa2048 = KeySpec("RSA_2048") KeySpecRsa3072 = KeySpec("RSA_3072") KeySpecRsa4096 = KeySpec("RSA_4096") KeySpecEccNistP256 = KeySpec("ECC_NIST_P256") KeySpecEccNistP384 = KeySpec("ECC_NIST_P384") KeySpecEccNistP521 = KeySpec("ECC_NIST_P521") KeySpecEccSecgP256k1 = KeySpec("ECC_SECG_P256K1") )
const ( KeyUsageEncryptDecrypt = KeyUsage("ENCRYPT_DECRYPT") KeyUsageSignVerify = KeyUsage("SIGN_VERIFY") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { pulumi.CustomResourceState // Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias. The alias name cannot begin with alias/aws/. The alias/aws/ prefix is reserved for AWS managed CMKs. AliasName pulumi.StringOutput `pulumi:"aliasName"` // Identifies the CMK to which the alias refers. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. You cannot specify another alias. For help finding the key ID and ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide. TargetKeyId pulumi.StringOutput `pulumi:"targetKeyId"` }
The AWS::KMS::Alias resource specifies a display name for a customer master key (CMK) in AWS Key Management Service (AWS KMS). You can use an alias to identify a CMK in cryptographic operations.
func GetAlias ¶
func GetAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)
GetAlias gets an existing Alias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAlias ¶
func NewAlias(ctx *pulumi.Context, name string, args *AliasArgs, opts ...pulumi.ResourceOption) (*Alias, error)
NewAlias registers a new resource with the given unique name, arguments, and options.
func (*Alias) ElementType ¶
func (*Alias) ToAliasOutput ¶
func (i *Alias) ToAliasOutput() AliasOutput
func (*Alias) ToAliasOutputWithContext ¶
func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasArgs ¶
type AliasArgs struct { // Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias. The alias name cannot begin with alias/aws/. The alias/aws/ prefix is reserved for AWS managed CMKs. AliasName pulumi.StringPtrInput // Identifies the CMK to which the alias refers. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. You cannot specify another alias. For help finding the key ID and ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide. TargetKeyId pulumi.StringInput }
The set of arguments for constructing a Alias resource.
func (AliasArgs) ElementType ¶
type AliasInput ¶
type AliasInput interface { pulumi.Input ToAliasOutput() AliasOutput ToAliasOutputWithContext(ctx context.Context) AliasOutput }
type AliasOutput ¶
type AliasOutput struct{ *pulumi.OutputState }
func (AliasOutput) ElementType ¶
func (AliasOutput) ElementType() reflect.Type
func (AliasOutput) ToAliasOutput ¶
func (o AliasOutput) ToAliasOutput() AliasOutput
func (AliasOutput) ToAliasOutputWithContext ¶
func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput
type AliasState ¶
type AliasState struct { }
func (AliasState) ElementType ¶
func (AliasState) ElementType() reflect.Type
type Key ¶
type Key struct { pulumi.CustomResourceState Arn pulumi.StringOutput `pulumi:"arn"` // A description of the CMK. Use a description that helps you to distinguish this CMK from others in the account, such as its intended use. Description pulumi.StringPtrOutput `pulumi:"description"` // Enables automatic rotation of the key material for the specified customer master key (CMK). By default, automation key rotation is not enabled. EnableKeyRotation pulumi.BoolPtrOutput `pulumi:"enableKeyRotation"` // Specifies whether the customer master key (CMK) is enabled. Disabled CMKs cannot be used in cryptographic operations. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` KeyId pulumi.StringOutput `pulumi:"keyId"` // The key policy that authorizes use of the CMK. The key policy must observe the following rules. KeyPolicy pulumi.AnyOutput `pulumi:"keyPolicy"` // Specifies the type of CMK to create. The default value is SYMMETRIC_DEFAULT. This property is required only for asymmetric CMKs. You can't change the KeySpec value after the CMK is created. KeySpec KeySpecPtrOutput `pulumi:"keySpec"` // Determines the cryptographic operations for which you can use the CMK. The default value is ENCRYPT_DECRYPT. This property is required only for asymmetric CMKs. You can't change the KeyUsage value after the CMK is created. KeyUsage KeyUsagePtrOutput `pulumi:"keyUsage"` // Specifies whether the CMK should be Multi-Region. You can't change the MultiRegion value after the CMK is created. MultiRegion pulumi.BoolPtrOutput `pulumi:"multiRegion"` // Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days. PendingWindowInDays pulumi.IntPtrOutput `pulumi:"pendingWindowInDays"` // An array of key-value pairs to apply to this resource. Tags KeyTagArrayOutput `pulumi:"tags"` }
The AWS::KMS::Key resource specifies a customer master key (CMK) in AWS Key Management Service (AWS KMS). Authorized users can use the CMK to encrypt and decrypt small amounts of data (up to 4096 bytes), but they are more commonly used to generate data keys. You can also use CMKs to encrypt data stored in AWS services that are integrated with AWS KMS or within their applications.
func GetKey ¶
func GetKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyState, opts ...pulumi.ResourceOption) (*Key, error)
GetKey gets an existing Key resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKey ¶
func NewKey(ctx *pulumi.Context, name string, args *KeyArgs, opts ...pulumi.ResourceOption) (*Key, error)
NewKey registers a new resource with the given unique name, arguments, and options.
func (*Key) ElementType ¶
func (*Key) ToKeyOutput ¶
type KeyArgs ¶
type KeyArgs struct { // A description of the CMK. Use a description that helps you to distinguish this CMK from others in the account, such as its intended use. Description pulumi.StringPtrInput // Enables automatic rotation of the key material for the specified customer master key (CMK). By default, automation key rotation is not enabled. EnableKeyRotation pulumi.BoolPtrInput // Specifies whether the customer master key (CMK) is enabled. Disabled CMKs cannot be used in cryptographic operations. Enabled pulumi.BoolPtrInput // The key policy that authorizes use of the CMK. The key policy must observe the following rules. KeyPolicy pulumi.Input // Specifies the type of CMK to create. The default value is SYMMETRIC_DEFAULT. This property is required only for asymmetric CMKs. You can't change the KeySpec value after the CMK is created. KeySpec KeySpecPtrInput // Determines the cryptographic operations for which you can use the CMK. The default value is ENCRYPT_DECRYPT. This property is required only for asymmetric CMKs. You can't change the KeyUsage value after the CMK is created. KeyUsage KeyUsagePtrInput // Specifies whether the CMK should be Multi-Region. You can't change the MultiRegion value after the CMK is created. MultiRegion pulumi.BoolPtrInput // Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days. PendingWindowInDays pulumi.IntPtrInput // An array of key-value pairs to apply to this resource. Tags KeyTagArrayInput }
The set of arguments for constructing a Key resource.
func (KeyArgs) ElementType ¶
type KeyOutput ¶
type KeyOutput struct{ *pulumi.OutputState }
func (KeyOutput) ElementType ¶
func (KeyOutput) ToKeyOutput ¶
type KeySpec ¶ added in v0.2.0
type KeySpec string
Specifies the type of CMK to create. The default value is SYMMETRIC_DEFAULT. This property is required only for asymmetric CMKs. You can't change the KeySpec value after the CMK is created.
func (KeySpec) ElementType ¶ added in v0.2.0
func (KeySpec) ToKeySpecOutput ¶ added in v0.2.0
func (e KeySpec) ToKeySpecOutput() KeySpecOutput
func (KeySpec) ToKeySpecOutputWithContext ¶ added in v0.2.0
func (e KeySpec) ToKeySpecOutputWithContext(ctx context.Context) KeySpecOutput
func (KeySpec) ToKeySpecPtrOutput ¶ added in v0.2.0
func (e KeySpec) ToKeySpecPtrOutput() KeySpecPtrOutput
func (KeySpec) ToKeySpecPtrOutputWithContext ¶ added in v0.2.0
func (e KeySpec) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
func (KeySpec) ToStringOutput ¶ added in v0.2.0
func (e KeySpec) ToStringOutput() pulumi.StringOutput
func (KeySpec) ToStringOutputWithContext ¶ added in v0.2.0
func (e KeySpec) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (KeySpec) ToStringPtrOutput ¶ added in v0.2.0
func (e KeySpec) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeySpec) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (e KeySpec) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type KeySpecInput ¶ added in v0.2.0
type KeySpecInput interface { pulumi.Input ToKeySpecOutput() KeySpecOutput ToKeySpecOutputWithContext(context.Context) KeySpecOutput }
KeySpecInput is an input type that accepts KeySpecArgs and KeySpecOutput values. You can construct a concrete instance of `KeySpecInput` via:
KeySpecArgs{...}
type KeySpecOutput ¶ added in v0.2.0
type KeySpecOutput struct{ *pulumi.OutputState }
func (KeySpecOutput) ElementType ¶ added in v0.2.0
func (KeySpecOutput) ElementType() reflect.Type
func (KeySpecOutput) ToKeySpecOutput ¶ added in v0.2.0
func (o KeySpecOutput) ToKeySpecOutput() KeySpecOutput
func (KeySpecOutput) ToKeySpecOutputWithContext ¶ added in v0.2.0
func (o KeySpecOutput) ToKeySpecOutputWithContext(ctx context.Context) KeySpecOutput
func (KeySpecOutput) ToKeySpecPtrOutput ¶ added in v0.2.0
func (o KeySpecOutput) ToKeySpecPtrOutput() KeySpecPtrOutput
func (KeySpecOutput) ToKeySpecPtrOutputWithContext ¶ added in v0.2.0
func (o KeySpecOutput) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
func (KeySpecOutput) ToStringOutput ¶ added in v0.2.0
func (o KeySpecOutput) ToStringOutput() pulumi.StringOutput
func (KeySpecOutput) ToStringOutputWithContext ¶ added in v0.2.0
func (o KeySpecOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (KeySpecOutput) ToStringPtrOutput ¶ added in v0.2.0
func (o KeySpecOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeySpecOutput) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (o KeySpecOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type KeySpecPtrInput ¶ added in v0.2.0
type KeySpecPtrInput interface { pulumi.Input ToKeySpecPtrOutput() KeySpecPtrOutput ToKeySpecPtrOutputWithContext(context.Context) KeySpecPtrOutput }
func KeySpecPtr ¶ added in v0.2.0
func KeySpecPtr(v string) KeySpecPtrInput
type KeySpecPtrOutput ¶ added in v0.2.0
type KeySpecPtrOutput struct{ *pulumi.OutputState }
func (KeySpecPtrOutput) Elem ¶ added in v0.2.0
func (o KeySpecPtrOutput) Elem() KeySpecOutput
func (KeySpecPtrOutput) ElementType ¶ added in v0.2.0
func (KeySpecPtrOutput) ElementType() reflect.Type
func (KeySpecPtrOutput) ToKeySpecPtrOutput ¶ added in v0.2.0
func (o KeySpecPtrOutput) ToKeySpecPtrOutput() KeySpecPtrOutput
func (KeySpecPtrOutput) ToKeySpecPtrOutputWithContext ¶ added in v0.2.0
func (o KeySpecPtrOutput) ToKeySpecPtrOutputWithContext(ctx context.Context) KeySpecPtrOutput
func (KeySpecPtrOutput) ToStringPtrOutput ¶ added in v0.2.0
func (o KeySpecPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeySpecPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (o KeySpecPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type KeyTag ¶
type KeyTag struct { // The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Key string `pulumi:"key"` // The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Value string `pulumi:"value"` }
A key-value pair to associate with a resource.
type KeyTagArgs ¶
type KeyTagArgs struct { // The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Key pulumi.StringInput `pulumi:"key"` // The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Value pulumi.StringInput `pulumi:"value"` }
A key-value pair to associate with a resource.
func (KeyTagArgs) ElementType ¶
func (KeyTagArgs) ElementType() reflect.Type
func (KeyTagArgs) ToKeyTagOutput ¶
func (i KeyTagArgs) ToKeyTagOutput() KeyTagOutput
func (KeyTagArgs) ToKeyTagOutputWithContext ¶
func (i KeyTagArgs) ToKeyTagOutputWithContext(ctx context.Context) KeyTagOutput
type KeyTagArray ¶
type KeyTagArray []KeyTagInput
func (KeyTagArray) ElementType ¶
func (KeyTagArray) ElementType() reflect.Type
func (KeyTagArray) ToKeyTagArrayOutput ¶
func (i KeyTagArray) ToKeyTagArrayOutput() KeyTagArrayOutput
func (KeyTagArray) ToKeyTagArrayOutputWithContext ¶
func (i KeyTagArray) ToKeyTagArrayOutputWithContext(ctx context.Context) KeyTagArrayOutput
type KeyTagArrayInput ¶
type KeyTagArrayInput interface { pulumi.Input ToKeyTagArrayOutput() KeyTagArrayOutput ToKeyTagArrayOutputWithContext(context.Context) KeyTagArrayOutput }
KeyTagArrayInput is an input type that accepts KeyTagArray and KeyTagArrayOutput values. You can construct a concrete instance of `KeyTagArrayInput` via:
KeyTagArray{ KeyTagArgs{...} }
type KeyTagArrayOutput ¶
type KeyTagArrayOutput struct{ *pulumi.OutputState }
func (KeyTagArrayOutput) ElementType ¶
func (KeyTagArrayOutput) ElementType() reflect.Type
func (KeyTagArrayOutput) Index ¶
func (o KeyTagArrayOutput) Index(i pulumi.IntInput) KeyTagOutput
func (KeyTagArrayOutput) ToKeyTagArrayOutput ¶
func (o KeyTagArrayOutput) ToKeyTagArrayOutput() KeyTagArrayOutput
func (KeyTagArrayOutput) ToKeyTagArrayOutputWithContext ¶
func (o KeyTagArrayOutput) ToKeyTagArrayOutputWithContext(ctx context.Context) KeyTagArrayOutput
type KeyTagInput ¶
type KeyTagInput interface { pulumi.Input ToKeyTagOutput() KeyTagOutput ToKeyTagOutputWithContext(context.Context) KeyTagOutput }
KeyTagInput is an input type that accepts KeyTagArgs and KeyTagOutput values. You can construct a concrete instance of `KeyTagInput` via:
KeyTagArgs{...}
type KeyTagOutput ¶
type KeyTagOutput struct{ *pulumi.OutputState }
A key-value pair to associate with a resource.
func (KeyTagOutput) ElementType ¶
func (KeyTagOutput) ElementType() reflect.Type
func (KeyTagOutput) Key ¶
func (o KeyTagOutput) Key() pulumi.StringOutput
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
func (KeyTagOutput) ToKeyTagOutput ¶
func (o KeyTagOutput) ToKeyTagOutput() KeyTagOutput
func (KeyTagOutput) ToKeyTagOutputWithContext ¶
func (o KeyTagOutput) ToKeyTagOutputWithContext(ctx context.Context) KeyTagOutput
func (KeyTagOutput) Value ¶
func (o KeyTagOutput) Value() pulumi.StringOutput
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
type KeyUsage ¶ added in v0.2.0
type KeyUsage string
Determines the cryptographic operations for which you can use the CMK. The default value is ENCRYPT_DECRYPT. This property is required only for asymmetric CMKs. You can't change the KeyUsage value after the CMK is created.
func (KeyUsage) ElementType ¶ added in v0.2.0
func (KeyUsage) ToKeyUsageOutput ¶ added in v0.2.0
func (e KeyUsage) ToKeyUsageOutput() KeyUsageOutput
func (KeyUsage) ToKeyUsageOutputWithContext ¶ added in v0.2.0
func (e KeyUsage) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput
func (KeyUsage) ToKeyUsagePtrOutput ¶ added in v0.2.0
func (e KeyUsage) ToKeyUsagePtrOutput() KeyUsagePtrOutput
func (KeyUsage) ToKeyUsagePtrOutputWithContext ¶ added in v0.2.0
func (e KeyUsage) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
func (KeyUsage) ToStringOutput ¶ added in v0.2.0
func (e KeyUsage) ToStringOutput() pulumi.StringOutput
func (KeyUsage) ToStringOutputWithContext ¶ added in v0.2.0
func (e KeyUsage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (KeyUsage) ToStringPtrOutput ¶ added in v0.2.0
func (e KeyUsage) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeyUsage) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (e KeyUsage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type KeyUsageInput ¶ added in v0.2.0
type KeyUsageInput interface { pulumi.Input ToKeyUsageOutput() KeyUsageOutput ToKeyUsageOutputWithContext(context.Context) KeyUsageOutput }
KeyUsageInput is an input type that accepts KeyUsageArgs and KeyUsageOutput values. You can construct a concrete instance of `KeyUsageInput` via:
KeyUsageArgs{...}
type KeyUsageOutput ¶ added in v0.2.0
type KeyUsageOutput struct{ *pulumi.OutputState }
func (KeyUsageOutput) ElementType ¶ added in v0.2.0
func (KeyUsageOutput) ElementType() reflect.Type
func (KeyUsageOutput) ToKeyUsageOutput ¶ added in v0.2.0
func (o KeyUsageOutput) ToKeyUsageOutput() KeyUsageOutput
func (KeyUsageOutput) ToKeyUsageOutputWithContext ¶ added in v0.2.0
func (o KeyUsageOutput) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput
func (KeyUsageOutput) ToKeyUsagePtrOutput ¶ added in v0.2.0
func (o KeyUsageOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput
func (KeyUsageOutput) ToKeyUsagePtrOutputWithContext ¶ added in v0.2.0
func (o KeyUsageOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
func (KeyUsageOutput) ToStringOutput ¶ added in v0.2.0
func (o KeyUsageOutput) ToStringOutput() pulumi.StringOutput
func (KeyUsageOutput) ToStringOutputWithContext ¶ added in v0.2.0
func (o KeyUsageOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (KeyUsageOutput) ToStringPtrOutput ¶ added in v0.2.0
func (o KeyUsageOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeyUsageOutput) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (o KeyUsageOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type KeyUsagePtrInput ¶ added in v0.2.0
type KeyUsagePtrInput interface { pulumi.Input ToKeyUsagePtrOutput() KeyUsagePtrOutput ToKeyUsagePtrOutputWithContext(context.Context) KeyUsagePtrOutput }
func KeyUsagePtr ¶ added in v0.2.0
func KeyUsagePtr(v string) KeyUsagePtrInput
type KeyUsagePtrOutput ¶ added in v0.2.0
type KeyUsagePtrOutput struct{ *pulumi.OutputState }
func (KeyUsagePtrOutput) Elem ¶ added in v0.2.0
func (o KeyUsagePtrOutput) Elem() KeyUsageOutput
func (KeyUsagePtrOutput) ElementType ¶ added in v0.2.0
func (KeyUsagePtrOutput) ElementType() reflect.Type
func (KeyUsagePtrOutput) ToKeyUsagePtrOutput ¶ added in v0.2.0
func (o KeyUsagePtrOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput
func (KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext ¶ added in v0.2.0
func (o KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput
func (KeyUsagePtrOutput) ToStringPtrOutput ¶ added in v0.2.0
func (o KeyUsagePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (KeyUsagePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.2.0
func (o KeyUsagePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ReplicaKey ¶
type ReplicaKey struct { pulumi.CustomResourceState Arn pulumi.StringOutput `pulumi:"arn"` // A description of the CMK. Use a description that helps you to distinguish this CMK from others in the account, such as its intended use. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies whether the customer master key (CMK) is enabled. Disabled CMKs cannot be used in cryptographic operations. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` KeyId pulumi.StringOutput `pulumi:"keyId"` // The key policy that authorizes use of the CMK. The key policy must observe the following rules. KeyPolicy pulumi.AnyOutput `pulumi:"keyPolicy"` // Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days. PendingWindowInDays pulumi.IntPtrOutput `pulumi:"pendingWindowInDays"` // Identifies the primary CMK to create a replica of. Specify the Amazon Resource Name (ARN) of the CMK. You cannot specify an alias or key ID. For help finding the ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide. PrimaryKeyArn pulumi.StringOutput `pulumi:"primaryKeyArn"` // An array of key-value pairs to apply to this resource. Tags ReplicaKeyTagArrayOutput `pulumi:"tags"` }
The AWS::KMS::ReplicaKey resource specifies a multi-region replica customer master key (CMK) in AWS Key Management Service (AWS KMS).
func GetReplicaKey ¶
func GetReplicaKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReplicaKeyState, opts ...pulumi.ResourceOption) (*ReplicaKey, error)
GetReplicaKey gets an existing ReplicaKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewReplicaKey ¶
func NewReplicaKey(ctx *pulumi.Context, name string, args *ReplicaKeyArgs, opts ...pulumi.ResourceOption) (*ReplicaKey, error)
NewReplicaKey registers a new resource with the given unique name, arguments, and options.
func (*ReplicaKey) ElementType ¶
func (*ReplicaKey) ElementType() reflect.Type
func (*ReplicaKey) ToReplicaKeyOutput ¶
func (i *ReplicaKey) ToReplicaKeyOutput() ReplicaKeyOutput
func (*ReplicaKey) ToReplicaKeyOutputWithContext ¶
func (i *ReplicaKey) ToReplicaKeyOutputWithContext(ctx context.Context) ReplicaKeyOutput
type ReplicaKeyArgs ¶
type ReplicaKeyArgs struct { // A description of the CMK. Use a description that helps you to distinguish this CMK from others in the account, such as its intended use. Description pulumi.StringPtrInput // Specifies whether the customer master key (CMK) is enabled. Disabled CMKs cannot be used in cryptographic operations. Enabled pulumi.BoolPtrInput // The key policy that authorizes use of the CMK. The key policy must observe the following rules. KeyPolicy pulumi.Input // Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days. PendingWindowInDays pulumi.IntPtrInput // Identifies the primary CMK to create a replica of. Specify the Amazon Resource Name (ARN) of the CMK. You cannot specify an alias or key ID. For help finding the ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide. PrimaryKeyArn pulumi.StringInput // An array of key-value pairs to apply to this resource. Tags ReplicaKeyTagArrayInput }
The set of arguments for constructing a ReplicaKey resource.
func (ReplicaKeyArgs) ElementType ¶
func (ReplicaKeyArgs) ElementType() reflect.Type
type ReplicaKeyInput ¶
type ReplicaKeyInput interface { pulumi.Input ToReplicaKeyOutput() ReplicaKeyOutput ToReplicaKeyOutputWithContext(ctx context.Context) ReplicaKeyOutput }
type ReplicaKeyOutput ¶
type ReplicaKeyOutput struct{ *pulumi.OutputState }
func (ReplicaKeyOutput) ElementType ¶
func (ReplicaKeyOutput) ElementType() reflect.Type
func (ReplicaKeyOutput) ToReplicaKeyOutput ¶
func (o ReplicaKeyOutput) ToReplicaKeyOutput() ReplicaKeyOutput
func (ReplicaKeyOutput) ToReplicaKeyOutputWithContext ¶
func (o ReplicaKeyOutput) ToReplicaKeyOutputWithContext(ctx context.Context) ReplicaKeyOutput
type ReplicaKeyState ¶
type ReplicaKeyState struct { }
func (ReplicaKeyState) ElementType ¶
func (ReplicaKeyState) ElementType() reflect.Type
type ReplicaKeyTag ¶
type ReplicaKeyTag struct { // The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Key string `pulumi:"key"` // The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Value string `pulumi:"value"` }
A key-value pair to associate with a resource.
type ReplicaKeyTagArgs ¶
type ReplicaKeyTagArgs struct { // The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Key pulumi.StringInput `pulumi:"key"` // The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. Value pulumi.StringInput `pulumi:"value"` }
A key-value pair to associate with a resource.
func (ReplicaKeyTagArgs) ElementType ¶
func (ReplicaKeyTagArgs) ElementType() reflect.Type
func (ReplicaKeyTagArgs) ToReplicaKeyTagOutput ¶
func (i ReplicaKeyTagArgs) ToReplicaKeyTagOutput() ReplicaKeyTagOutput
func (ReplicaKeyTagArgs) ToReplicaKeyTagOutputWithContext ¶
func (i ReplicaKeyTagArgs) ToReplicaKeyTagOutputWithContext(ctx context.Context) ReplicaKeyTagOutput
type ReplicaKeyTagArray ¶
type ReplicaKeyTagArray []ReplicaKeyTagInput
func (ReplicaKeyTagArray) ElementType ¶
func (ReplicaKeyTagArray) ElementType() reflect.Type
func (ReplicaKeyTagArray) ToReplicaKeyTagArrayOutput ¶
func (i ReplicaKeyTagArray) ToReplicaKeyTagArrayOutput() ReplicaKeyTagArrayOutput
func (ReplicaKeyTagArray) ToReplicaKeyTagArrayOutputWithContext ¶
func (i ReplicaKeyTagArray) ToReplicaKeyTagArrayOutputWithContext(ctx context.Context) ReplicaKeyTagArrayOutput
type ReplicaKeyTagArrayInput ¶
type ReplicaKeyTagArrayInput interface { pulumi.Input ToReplicaKeyTagArrayOutput() ReplicaKeyTagArrayOutput ToReplicaKeyTagArrayOutputWithContext(context.Context) ReplicaKeyTagArrayOutput }
ReplicaKeyTagArrayInput is an input type that accepts ReplicaKeyTagArray and ReplicaKeyTagArrayOutput values. You can construct a concrete instance of `ReplicaKeyTagArrayInput` via:
ReplicaKeyTagArray{ ReplicaKeyTagArgs{...} }
type ReplicaKeyTagArrayOutput ¶
type ReplicaKeyTagArrayOutput struct{ *pulumi.OutputState }
func (ReplicaKeyTagArrayOutput) ElementType ¶
func (ReplicaKeyTagArrayOutput) ElementType() reflect.Type
func (ReplicaKeyTagArrayOutput) Index ¶
func (o ReplicaKeyTagArrayOutput) Index(i pulumi.IntInput) ReplicaKeyTagOutput
func (ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutput ¶
func (o ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutput() ReplicaKeyTagArrayOutput
func (ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutputWithContext ¶
func (o ReplicaKeyTagArrayOutput) ToReplicaKeyTagArrayOutputWithContext(ctx context.Context) ReplicaKeyTagArrayOutput
type ReplicaKeyTagInput ¶
type ReplicaKeyTagInput interface { pulumi.Input ToReplicaKeyTagOutput() ReplicaKeyTagOutput ToReplicaKeyTagOutputWithContext(context.Context) ReplicaKeyTagOutput }
ReplicaKeyTagInput is an input type that accepts ReplicaKeyTagArgs and ReplicaKeyTagOutput values. You can construct a concrete instance of `ReplicaKeyTagInput` via:
ReplicaKeyTagArgs{...}
type ReplicaKeyTagOutput ¶
type ReplicaKeyTagOutput struct{ *pulumi.OutputState }
A key-value pair to associate with a resource.
func (ReplicaKeyTagOutput) ElementType ¶
func (ReplicaKeyTagOutput) ElementType() reflect.Type
func (ReplicaKeyTagOutput) Key ¶
func (o ReplicaKeyTagOutput) Key() pulumi.StringOutput
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
func (ReplicaKeyTagOutput) ToReplicaKeyTagOutput ¶
func (o ReplicaKeyTagOutput) ToReplicaKeyTagOutput() ReplicaKeyTagOutput
func (ReplicaKeyTagOutput) ToReplicaKeyTagOutputWithContext ¶
func (o ReplicaKeyTagOutput) ToReplicaKeyTagOutputWithContext(ctx context.Context) ReplicaKeyTagOutput
func (ReplicaKeyTagOutput) Value ¶
func (o ReplicaKeyTagOutput) Value() pulumi.StringOutput
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.