paymentcryptography

package
v6.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	pulumi.CustomResourceState

	// ARN of the key.
	Arn                  pulumi.StringOutput `pulumi:"arn"`
	DeletionWindowInDays pulumi.IntOutput    `pulumi:"deletionWindowInDays"`
	// Whether to enable the key.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Whether the key is exportable from the service.
	Exportable pulumi.BoolOutput `pulumi:"exportable"`
	// Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
	//
	// The following arguments are optional:
	KeyAttributes KeyKeyAttributesPtrOutput `pulumi:"keyAttributes"`
	// Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
	KeyCheckValue pulumi.StringOutput `pulumi:"keyCheckValue"`
	// Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
	KeyCheckValueAlgorithm pulumi.StringOutput `pulumi:"keyCheckValueAlgorithm"`
	// Source of the key material.
	KeyOrigin pulumi.StringOutput `pulumi:"keyOrigin"`
	// State of key that is being created or deleted.
	KeyState pulumi.StringOutput `pulumi:"keyState"`
	// Map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapOutput `pulumi:"tagsAll"`
	Timeouts KeyTimeoutsPtrOutput   `pulumi:"timeouts"`
}

Resource for managing an AWS Payment Cryptography Control Plane Key.

## Example Usage

## Import

Using `pulumi import`, import Payment Cryptography Control Plane Key using the `arn:aws:payment-cryptography:us-east-1:123456789012:key/qtbojf64yshyvyzf`. For example:

```sh $ pulumi import aws:paymentcryptography/key:Key example arn:aws:payment-cryptography:us-east-1:123456789012:key/qtbojf64yshyvyzf ```

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) ElementType() reflect.Type

func (*Key) ToKeyOutput

func (i *Key) ToKeyOutput() KeyOutput

func (*Key) ToKeyOutputWithContext

func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyAlias

type KeyAlias struct {
	pulumi.CustomResourceState

	// Name of the Key Alias.
	//
	// The following arguments are optional:
	AliasName pulumi.StringOutput `pulumi:"aliasName"`
	// ARN of the key.
	KeyArn pulumi.StringPtrOutput `pulumi:"keyArn"`
}

Resource for managing an AWS Payment Cryptography Control Plane Key Alias.

## Example Usage

## Import

Using `pulumi import`, import Payment Cryptography Control Plane Key Alias using the `alias/4681482429376900170`. For example:

```sh $ pulumi import aws:paymentcryptography/keyAlias:KeyAlias example alias/4681482429376900170 ```

func GetKeyAlias

func GetKeyAlias(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyAliasState, opts ...pulumi.ResourceOption) (*KeyAlias, error)

GetKeyAlias gets an existing KeyAlias 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 NewKeyAlias

func NewKeyAlias(ctx *pulumi.Context,
	name string, args *KeyAliasArgs, opts ...pulumi.ResourceOption) (*KeyAlias, error)

NewKeyAlias registers a new resource with the given unique name, arguments, and options.

func (*KeyAlias) ElementType

func (*KeyAlias) ElementType() reflect.Type

func (*KeyAlias) ToKeyAliasOutput

func (i *KeyAlias) ToKeyAliasOutput() KeyAliasOutput

func (*KeyAlias) ToKeyAliasOutputWithContext

func (i *KeyAlias) ToKeyAliasOutputWithContext(ctx context.Context) KeyAliasOutput

type KeyAliasArgs

type KeyAliasArgs struct {
	// Name of the Key Alias.
	//
	// The following arguments are optional:
	AliasName pulumi.StringInput
	// ARN of the key.
	KeyArn pulumi.StringPtrInput
}

The set of arguments for constructing a KeyAlias resource.

func (KeyAliasArgs) ElementType

func (KeyAliasArgs) ElementType() reflect.Type

type KeyAliasArray

type KeyAliasArray []KeyAliasInput

func (KeyAliasArray) ElementType

func (KeyAliasArray) ElementType() reflect.Type

func (KeyAliasArray) ToKeyAliasArrayOutput

func (i KeyAliasArray) ToKeyAliasArrayOutput() KeyAliasArrayOutput

func (KeyAliasArray) ToKeyAliasArrayOutputWithContext

func (i KeyAliasArray) ToKeyAliasArrayOutputWithContext(ctx context.Context) KeyAliasArrayOutput

type KeyAliasArrayInput

type KeyAliasArrayInput interface {
	pulumi.Input

	ToKeyAliasArrayOutput() KeyAliasArrayOutput
	ToKeyAliasArrayOutputWithContext(context.Context) KeyAliasArrayOutput
}

KeyAliasArrayInput is an input type that accepts KeyAliasArray and KeyAliasArrayOutput values. You can construct a concrete instance of `KeyAliasArrayInput` via:

KeyAliasArray{ KeyAliasArgs{...} }

type KeyAliasArrayOutput

type KeyAliasArrayOutput struct{ *pulumi.OutputState }

func (KeyAliasArrayOutput) ElementType

func (KeyAliasArrayOutput) ElementType() reflect.Type

func (KeyAliasArrayOutput) Index

func (KeyAliasArrayOutput) ToKeyAliasArrayOutput

func (o KeyAliasArrayOutput) ToKeyAliasArrayOutput() KeyAliasArrayOutput

func (KeyAliasArrayOutput) ToKeyAliasArrayOutputWithContext

func (o KeyAliasArrayOutput) ToKeyAliasArrayOutputWithContext(ctx context.Context) KeyAliasArrayOutput

type KeyAliasInput

type KeyAliasInput interface {
	pulumi.Input

	ToKeyAliasOutput() KeyAliasOutput
	ToKeyAliasOutputWithContext(ctx context.Context) KeyAliasOutput
}

type KeyAliasMap

type KeyAliasMap map[string]KeyAliasInput

func (KeyAliasMap) ElementType

func (KeyAliasMap) ElementType() reflect.Type

func (KeyAliasMap) ToKeyAliasMapOutput

func (i KeyAliasMap) ToKeyAliasMapOutput() KeyAliasMapOutput

func (KeyAliasMap) ToKeyAliasMapOutputWithContext

func (i KeyAliasMap) ToKeyAliasMapOutputWithContext(ctx context.Context) KeyAliasMapOutput

type KeyAliasMapInput

type KeyAliasMapInput interface {
	pulumi.Input

	ToKeyAliasMapOutput() KeyAliasMapOutput
	ToKeyAliasMapOutputWithContext(context.Context) KeyAliasMapOutput
}

KeyAliasMapInput is an input type that accepts KeyAliasMap and KeyAliasMapOutput values. You can construct a concrete instance of `KeyAliasMapInput` via:

KeyAliasMap{ "key": KeyAliasArgs{...} }

type KeyAliasMapOutput

type KeyAliasMapOutput struct{ *pulumi.OutputState }

func (KeyAliasMapOutput) ElementType

func (KeyAliasMapOutput) ElementType() reflect.Type

func (KeyAliasMapOutput) MapIndex

func (KeyAliasMapOutput) ToKeyAliasMapOutput

func (o KeyAliasMapOutput) ToKeyAliasMapOutput() KeyAliasMapOutput

func (KeyAliasMapOutput) ToKeyAliasMapOutputWithContext

func (o KeyAliasMapOutput) ToKeyAliasMapOutputWithContext(ctx context.Context) KeyAliasMapOutput

type KeyAliasOutput

type KeyAliasOutput struct{ *pulumi.OutputState }

func (KeyAliasOutput) AliasName

func (o KeyAliasOutput) AliasName() pulumi.StringOutput

Name of the Key Alias.

The following arguments are optional:

func (KeyAliasOutput) ElementType

func (KeyAliasOutput) ElementType() reflect.Type

func (KeyAliasOutput) KeyArn

ARN of the key.

func (KeyAliasOutput) ToKeyAliasOutput

func (o KeyAliasOutput) ToKeyAliasOutput() KeyAliasOutput

func (KeyAliasOutput) ToKeyAliasOutputWithContext

func (o KeyAliasOutput) ToKeyAliasOutputWithContext(ctx context.Context) KeyAliasOutput

type KeyAliasState

type KeyAliasState struct {
	// Name of the Key Alias.
	//
	// The following arguments are optional:
	AliasName pulumi.StringPtrInput
	// ARN of the key.
	KeyArn pulumi.StringPtrInput
}

func (KeyAliasState) ElementType

func (KeyAliasState) ElementType() reflect.Type

type KeyArgs

type KeyArgs struct {
	DeletionWindowInDays pulumi.IntPtrInput
	// Whether to enable the key.
	Enabled pulumi.BoolPtrInput
	// Whether the key is exportable from the service.
	Exportable pulumi.BoolInput
	// Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
	//
	// The following arguments are optional:
	KeyAttributes KeyKeyAttributesPtrInput
	// Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
	KeyCheckValueAlgorithm pulumi.StringPtrInput
	// Map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags     pulumi.StringMapInput
	Timeouts KeyTimeoutsPtrInput
}

The set of arguments for constructing a Key resource.

func (KeyArgs) ElementType

func (KeyArgs) ElementType() reflect.Type

type KeyArray

type KeyArray []KeyInput

func (KeyArray) ElementType

func (KeyArray) ElementType() reflect.Type

func (KeyArray) ToKeyArrayOutput

func (i KeyArray) ToKeyArrayOutput() KeyArrayOutput

func (KeyArray) ToKeyArrayOutputWithContext

func (i KeyArray) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput

type KeyArrayInput

type KeyArrayInput interface {
	pulumi.Input

	ToKeyArrayOutput() KeyArrayOutput
	ToKeyArrayOutputWithContext(context.Context) KeyArrayOutput
}

KeyArrayInput is an input type that accepts KeyArray and KeyArrayOutput values. You can construct a concrete instance of `KeyArrayInput` via:

KeyArray{ KeyArgs{...} }

type KeyArrayOutput

type KeyArrayOutput struct{ *pulumi.OutputState }

func (KeyArrayOutput) ElementType

func (KeyArrayOutput) ElementType() reflect.Type

func (KeyArrayOutput) Index

func (KeyArrayOutput) ToKeyArrayOutput

func (o KeyArrayOutput) ToKeyArrayOutput() KeyArrayOutput

func (KeyArrayOutput) ToKeyArrayOutputWithContext

func (o KeyArrayOutput) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput

type KeyInput

type KeyInput interface {
	pulumi.Input

	ToKeyOutput() KeyOutput
	ToKeyOutputWithContext(ctx context.Context) KeyOutput
}

type KeyKeyAttributes

type KeyKeyAttributes struct {
	// Key algorithm to be use during creation of an AWS Payment Cryptography key.
	KeyAlgorithm string `pulumi:"keyAlgorithm"`
	// Type of AWS Payment Cryptography key to create.
	KeyClass string `pulumi:"keyClass"`
	// List of cryptographic operations that you can perform using the key.
	KeyModesOfUse *KeyKeyAttributesKeyModesOfUse `pulumi:"keyModesOfUse"`
	// Cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
	KeyUsage string `pulumi:"keyUsage"`
}

type KeyKeyAttributesArgs

type KeyKeyAttributesArgs struct {
	// Key algorithm to be use during creation of an AWS Payment Cryptography key.
	KeyAlgorithm pulumi.StringInput `pulumi:"keyAlgorithm"`
	// Type of AWS Payment Cryptography key to create.
	KeyClass pulumi.StringInput `pulumi:"keyClass"`
	// List of cryptographic operations that you can perform using the key.
	KeyModesOfUse KeyKeyAttributesKeyModesOfUsePtrInput `pulumi:"keyModesOfUse"`
	// Cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
}

func (KeyKeyAttributesArgs) ElementType

func (KeyKeyAttributesArgs) ElementType() reflect.Type

func (KeyKeyAttributesArgs) ToKeyKeyAttributesOutput

func (i KeyKeyAttributesArgs) ToKeyKeyAttributesOutput() KeyKeyAttributesOutput

func (KeyKeyAttributesArgs) ToKeyKeyAttributesOutputWithContext

func (i KeyKeyAttributesArgs) ToKeyKeyAttributesOutputWithContext(ctx context.Context) KeyKeyAttributesOutput

func (KeyKeyAttributesArgs) ToKeyKeyAttributesPtrOutput

func (i KeyKeyAttributesArgs) ToKeyKeyAttributesPtrOutput() KeyKeyAttributesPtrOutput

func (KeyKeyAttributesArgs) ToKeyKeyAttributesPtrOutputWithContext

func (i KeyKeyAttributesArgs) ToKeyKeyAttributesPtrOutputWithContext(ctx context.Context) KeyKeyAttributesPtrOutput

type KeyKeyAttributesInput

type KeyKeyAttributesInput interface {
	pulumi.Input

	ToKeyKeyAttributesOutput() KeyKeyAttributesOutput
	ToKeyKeyAttributesOutputWithContext(context.Context) KeyKeyAttributesOutput
}

KeyKeyAttributesInput is an input type that accepts KeyKeyAttributesArgs and KeyKeyAttributesOutput values. You can construct a concrete instance of `KeyKeyAttributesInput` via:

KeyKeyAttributesArgs{...}

type KeyKeyAttributesKeyModesOfUse

type KeyKeyAttributesKeyModesOfUse struct {
	// Whether an AWS Payment Cryptography key can be used to decrypt data.
	Decrypt *bool `pulumi:"decrypt"`
	// Whether an AWS Payment Cryptography key can be used to derive new keys.
	DeriveKey *bool `pulumi:"deriveKey"`
	// Whether an AWS Payment Cryptography key can be used to encrypt data.
	Encrypt *bool `pulumi:"encrypt"`
	// Whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
	Generate *bool `pulumi:"generate"`
	// Whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.
	NoRestrictions *bool `pulumi:"noRestrictions"`
	// Whether an AWS Payment Cryptography key can be used for signing.
	Sign *bool `pulumi:"sign"`
	// Whether an AWS Payment Cryptography key can be used to unwrap other keys.
	Unwrap *bool `pulumi:"unwrap"`
	// Whether an AWS Payment Cryptography key can be used to verify signatures.
	Verify *bool `pulumi:"verify"`
	// Whether an AWS Payment Cryptography key can be used to wrap other keys.
	Wrap *bool `pulumi:"wrap"`
}

type KeyKeyAttributesKeyModesOfUseArgs

type KeyKeyAttributesKeyModesOfUseArgs struct {
	// Whether an AWS Payment Cryptography key can be used to decrypt data.
	Decrypt pulumi.BoolPtrInput `pulumi:"decrypt"`
	// Whether an AWS Payment Cryptography key can be used to derive new keys.
	DeriveKey pulumi.BoolPtrInput `pulumi:"deriveKey"`
	// Whether an AWS Payment Cryptography key can be used to encrypt data.
	Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"`
	// Whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
	Generate pulumi.BoolPtrInput `pulumi:"generate"`
	// Whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.
	NoRestrictions pulumi.BoolPtrInput `pulumi:"noRestrictions"`
	// Whether an AWS Payment Cryptography key can be used for signing.
	Sign pulumi.BoolPtrInput `pulumi:"sign"`
	// Whether an AWS Payment Cryptography key can be used to unwrap other keys.
	Unwrap pulumi.BoolPtrInput `pulumi:"unwrap"`
	// Whether an AWS Payment Cryptography key can be used to verify signatures.
	Verify pulumi.BoolPtrInput `pulumi:"verify"`
	// Whether an AWS Payment Cryptography key can be used to wrap other keys.
	Wrap pulumi.BoolPtrInput `pulumi:"wrap"`
}

func (KeyKeyAttributesKeyModesOfUseArgs) ElementType

func (KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUseOutput

func (i KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUseOutput() KeyKeyAttributesKeyModesOfUseOutput

func (KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUseOutputWithContext

func (i KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUseOutputWithContext(ctx context.Context) KeyKeyAttributesKeyModesOfUseOutput

func (KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUsePtrOutput

func (i KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUsePtrOutput() KeyKeyAttributesKeyModesOfUsePtrOutput

func (KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext

func (i KeyKeyAttributesKeyModesOfUseArgs) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext(ctx context.Context) KeyKeyAttributesKeyModesOfUsePtrOutput

type KeyKeyAttributesKeyModesOfUseInput

type KeyKeyAttributesKeyModesOfUseInput interface {
	pulumi.Input

	ToKeyKeyAttributesKeyModesOfUseOutput() KeyKeyAttributesKeyModesOfUseOutput
	ToKeyKeyAttributesKeyModesOfUseOutputWithContext(context.Context) KeyKeyAttributesKeyModesOfUseOutput
}

KeyKeyAttributesKeyModesOfUseInput is an input type that accepts KeyKeyAttributesKeyModesOfUseArgs and KeyKeyAttributesKeyModesOfUseOutput values. You can construct a concrete instance of `KeyKeyAttributesKeyModesOfUseInput` via:

KeyKeyAttributesKeyModesOfUseArgs{...}

type KeyKeyAttributesKeyModesOfUseOutput

type KeyKeyAttributesKeyModesOfUseOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributesKeyModesOfUseOutput) Decrypt

Whether an AWS Payment Cryptography key can be used to decrypt data.

func (KeyKeyAttributesKeyModesOfUseOutput) DeriveKey

Whether an AWS Payment Cryptography key can be used to derive new keys.

func (KeyKeyAttributesKeyModesOfUseOutput) ElementType

func (KeyKeyAttributesKeyModesOfUseOutput) Encrypt

Whether an AWS Payment Cryptography key can be used to encrypt data.

func (KeyKeyAttributesKeyModesOfUseOutput) Generate

Whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.

func (KeyKeyAttributesKeyModesOfUseOutput) NoRestrictions

Whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.

func (KeyKeyAttributesKeyModesOfUseOutput) Sign

Whether an AWS Payment Cryptography key can be used for signing.

func (KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUseOutput

func (o KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUseOutput() KeyKeyAttributesKeyModesOfUseOutput

func (KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUseOutputWithContext

func (o KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUseOutputWithContext(ctx context.Context) KeyKeyAttributesKeyModesOfUseOutput

func (KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutput

func (o KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutput() KeyKeyAttributesKeyModesOfUsePtrOutput

func (KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext

func (o KeyKeyAttributesKeyModesOfUseOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext(ctx context.Context) KeyKeyAttributesKeyModesOfUsePtrOutput

func (KeyKeyAttributesKeyModesOfUseOutput) Unwrap

Whether an AWS Payment Cryptography key can be used to unwrap other keys.

func (KeyKeyAttributesKeyModesOfUseOutput) Verify

Whether an AWS Payment Cryptography key can be used to verify signatures.

func (KeyKeyAttributesKeyModesOfUseOutput) Wrap

Whether an AWS Payment Cryptography key can be used to wrap other keys.

type KeyKeyAttributesKeyModesOfUsePtrInput

type KeyKeyAttributesKeyModesOfUsePtrInput interface {
	pulumi.Input

	ToKeyKeyAttributesKeyModesOfUsePtrOutput() KeyKeyAttributesKeyModesOfUsePtrOutput
	ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext(context.Context) KeyKeyAttributesKeyModesOfUsePtrOutput
}

KeyKeyAttributesKeyModesOfUsePtrInput is an input type that accepts KeyKeyAttributesKeyModesOfUseArgs, KeyKeyAttributesKeyModesOfUsePtr and KeyKeyAttributesKeyModesOfUsePtrOutput values. You can construct a concrete instance of `KeyKeyAttributesKeyModesOfUsePtrInput` via:

        KeyKeyAttributesKeyModesOfUseArgs{...}

or:

        nil

type KeyKeyAttributesKeyModesOfUsePtrOutput

type KeyKeyAttributesKeyModesOfUsePtrOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Decrypt

Whether an AWS Payment Cryptography key can be used to decrypt data.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) DeriveKey

Whether an AWS Payment Cryptography key can be used to derive new keys.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Elem

func (KeyKeyAttributesKeyModesOfUsePtrOutput) ElementType

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Encrypt

Whether an AWS Payment Cryptography key can be used to encrypt data.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Generate

Whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) NoRestrictions

Whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Sign

Whether an AWS Payment Cryptography key can be used for signing.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutput

func (o KeyKeyAttributesKeyModesOfUsePtrOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutput() KeyKeyAttributesKeyModesOfUsePtrOutput

func (KeyKeyAttributesKeyModesOfUsePtrOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext

func (o KeyKeyAttributesKeyModesOfUsePtrOutput) ToKeyKeyAttributesKeyModesOfUsePtrOutputWithContext(ctx context.Context) KeyKeyAttributesKeyModesOfUsePtrOutput

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Unwrap

Whether an AWS Payment Cryptography key can be used to unwrap other keys.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Verify

Whether an AWS Payment Cryptography key can be used to verify signatures.

func (KeyKeyAttributesKeyModesOfUsePtrOutput) Wrap

Whether an AWS Payment Cryptography key can be used to wrap other keys.

type KeyKeyAttributesOutput

type KeyKeyAttributesOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributesOutput) ElementType

func (KeyKeyAttributesOutput) ElementType() reflect.Type

func (KeyKeyAttributesOutput) KeyAlgorithm

func (o KeyKeyAttributesOutput) KeyAlgorithm() pulumi.StringOutput

Key algorithm to be use during creation of an AWS Payment Cryptography key.

func (KeyKeyAttributesOutput) KeyClass

Type of AWS Payment Cryptography key to create.

func (KeyKeyAttributesOutput) KeyModesOfUse

List of cryptographic operations that you can perform using the key.

func (KeyKeyAttributesOutput) KeyUsage

Cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.

func (KeyKeyAttributesOutput) ToKeyKeyAttributesOutput

func (o KeyKeyAttributesOutput) ToKeyKeyAttributesOutput() KeyKeyAttributesOutput

func (KeyKeyAttributesOutput) ToKeyKeyAttributesOutputWithContext

func (o KeyKeyAttributesOutput) ToKeyKeyAttributesOutputWithContext(ctx context.Context) KeyKeyAttributesOutput

func (KeyKeyAttributesOutput) ToKeyKeyAttributesPtrOutput

func (o KeyKeyAttributesOutput) ToKeyKeyAttributesPtrOutput() KeyKeyAttributesPtrOutput

func (KeyKeyAttributesOutput) ToKeyKeyAttributesPtrOutputWithContext

func (o KeyKeyAttributesOutput) ToKeyKeyAttributesPtrOutputWithContext(ctx context.Context) KeyKeyAttributesPtrOutput

type KeyKeyAttributesPtrInput

type KeyKeyAttributesPtrInput interface {
	pulumi.Input

	ToKeyKeyAttributesPtrOutput() KeyKeyAttributesPtrOutput
	ToKeyKeyAttributesPtrOutputWithContext(context.Context) KeyKeyAttributesPtrOutput
}

KeyKeyAttributesPtrInput is an input type that accepts KeyKeyAttributesArgs, KeyKeyAttributesPtr and KeyKeyAttributesPtrOutput values. You can construct a concrete instance of `KeyKeyAttributesPtrInput` via:

        KeyKeyAttributesArgs{...}

or:

        nil

type KeyKeyAttributesPtrOutput

type KeyKeyAttributesPtrOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributesPtrOutput) Elem

func (KeyKeyAttributesPtrOutput) ElementType

func (KeyKeyAttributesPtrOutput) ElementType() reflect.Type

func (KeyKeyAttributesPtrOutput) KeyAlgorithm

Key algorithm to be use during creation of an AWS Payment Cryptography key.

func (KeyKeyAttributesPtrOutput) KeyClass

Type of AWS Payment Cryptography key to create.

func (KeyKeyAttributesPtrOutput) KeyModesOfUse

List of cryptographic operations that you can perform using the key.

func (KeyKeyAttributesPtrOutput) KeyUsage

Cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.

func (KeyKeyAttributesPtrOutput) ToKeyKeyAttributesPtrOutput

func (o KeyKeyAttributesPtrOutput) ToKeyKeyAttributesPtrOutput() KeyKeyAttributesPtrOutput

func (KeyKeyAttributesPtrOutput) ToKeyKeyAttributesPtrOutputWithContext

func (o KeyKeyAttributesPtrOutput) ToKeyKeyAttributesPtrOutputWithContext(ctx context.Context) KeyKeyAttributesPtrOutput

type KeyMap

type KeyMap map[string]KeyInput

func (KeyMap) ElementType

func (KeyMap) ElementType() reflect.Type

func (KeyMap) ToKeyMapOutput

func (i KeyMap) ToKeyMapOutput() KeyMapOutput

func (KeyMap) ToKeyMapOutputWithContext

func (i KeyMap) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput

type KeyMapInput

type KeyMapInput interface {
	pulumi.Input

	ToKeyMapOutput() KeyMapOutput
	ToKeyMapOutputWithContext(context.Context) KeyMapOutput
}

KeyMapInput is an input type that accepts KeyMap and KeyMapOutput values. You can construct a concrete instance of `KeyMapInput` via:

KeyMap{ "key": KeyArgs{...} }

type KeyMapOutput

type KeyMapOutput struct{ *pulumi.OutputState }

func (KeyMapOutput) ElementType

func (KeyMapOutput) ElementType() reflect.Type

func (KeyMapOutput) MapIndex

func (o KeyMapOutput) MapIndex(k pulumi.StringInput) KeyOutput

func (KeyMapOutput) ToKeyMapOutput

func (o KeyMapOutput) ToKeyMapOutput() KeyMapOutput

func (KeyMapOutput) ToKeyMapOutputWithContext

func (o KeyMapOutput) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput

type KeyOutput

type KeyOutput struct{ *pulumi.OutputState }

func (KeyOutput) Arn

func (o KeyOutput) Arn() pulumi.StringOutput

ARN of the key.

func (KeyOutput) DeletionWindowInDays

func (o KeyOutput) DeletionWindowInDays() pulumi.IntOutput

func (KeyOutput) ElementType

func (KeyOutput) ElementType() reflect.Type

func (KeyOutput) Enabled

func (o KeyOutput) Enabled() pulumi.BoolOutput

Whether to enable the key.

func (KeyOutput) Exportable

func (o KeyOutput) Exportable() pulumi.BoolOutput

Whether the key is exportable from the service.

func (KeyOutput) KeyAttributes

func (o KeyOutput) KeyAttributes() KeyKeyAttributesPtrOutput

Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.

The following arguments are optional:

func (KeyOutput) KeyCheckValue

func (o KeyOutput) KeyCheckValue() pulumi.StringOutput

Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.

func (KeyOutput) KeyCheckValueAlgorithm

func (o KeyOutput) KeyCheckValueAlgorithm() pulumi.StringOutput

Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).

func (KeyOutput) KeyOrigin

func (o KeyOutput) KeyOrigin() pulumi.StringOutput

Source of the key material.

func (KeyOutput) KeyState

func (o KeyOutput) KeyState() pulumi.StringOutput

State of key that is being created or deleted.

func (KeyOutput) Tags

func (o KeyOutput) Tags() pulumi.StringMapOutput

Map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (KeyOutput) TagsAll deprecated

func (o KeyOutput) TagsAll() pulumi.StringMapOutput

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (KeyOutput) Timeouts

func (o KeyOutput) Timeouts() KeyTimeoutsPtrOutput

func (KeyOutput) ToKeyOutput

func (o KeyOutput) ToKeyOutput() KeyOutput

func (KeyOutput) ToKeyOutputWithContext

func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyState

type KeyState struct {
	// ARN of the key.
	Arn                  pulumi.StringPtrInput
	DeletionWindowInDays pulumi.IntPtrInput
	// Whether to enable the key.
	Enabled pulumi.BoolPtrInput
	// Whether the key is exportable from the service.
	Exportable pulumi.BoolPtrInput
	// Role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
	//
	// The following arguments are optional:
	KeyAttributes KeyKeyAttributesPtrInput
	// Key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
	KeyCheckValue pulumi.StringPtrInput
	// Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
	KeyCheckValueAlgorithm pulumi.StringPtrInput
	// Source of the key material.
	KeyOrigin pulumi.StringPtrInput
	// State of key that is being created or deleted.
	KeyState pulumi.StringPtrInput
	// Map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapInput
	Timeouts KeyTimeoutsPtrInput
}

func (KeyState) ElementType

func (KeyState) ElementType() reflect.Type

type KeyTimeouts

type KeyTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type KeyTimeoutsArgs

type KeyTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (KeyTimeoutsArgs) ElementType

func (KeyTimeoutsArgs) ElementType() reflect.Type

func (KeyTimeoutsArgs) ToKeyTimeoutsOutput

func (i KeyTimeoutsArgs) ToKeyTimeoutsOutput() KeyTimeoutsOutput

func (KeyTimeoutsArgs) ToKeyTimeoutsOutputWithContext

func (i KeyTimeoutsArgs) ToKeyTimeoutsOutputWithContext(ctx context.Context) KeyTimeoutsOutput

func (KeyTimeoutsArgs) ToKeyTimeoutsPtrOutput

func (i KeyTimeoutsArgs) ToKeyTimeoutsPtrOutput() KeyTimeoutsPtrOutput

func (KeyTimeoutsArgs) ToKeyTimeoutsPtrOutputWithContext

func (i KeyTimeoutsArgs) ToKeyTimeoutsPtrOutputWithContext(ctx context.Context) KeyTimeoutsPtrOutput

type KeyTimeoutsInput

type KeyTimeoutsInput interface {
	pulumi.Input

	ToKeyTimeoutsOutput() KeyTimeoutsOutput
	ToKeyTimeoutsOutputWithContext(context.Context) KeyTimeoutsOutput
}

KeyTimeoutsInput is an input type that accepts KeyTimeoutsArgs and KeyTimeoutsOutput values. You can construct a concrete instance of `KeyTimeoutsInput` via:

KeyTimeoutsArgs{...}

type KeyTimeoutsOutput

type KeyTimeoutsOutput struct{ *pulumi.OutputState }

func (KeyTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (KeyTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (KeyTimeoutsOutput) ElementType

func (KeyTimeoutsOutput) ElementType() reflect.Type

func (KeyTimeoutsOutput) ToKeyTimeoutsOutput

func (o KeyTimeoutsOutput) ToKeyTimeoutsOutput() KeyTimeoutsOutput

func (KeyTimeoutsOutput) ToKeyTimeoutsOutputWithContext

func (o KeyTimeoutsOutput) ToKeyTimeoutsOutputWithContext(ctx context.Context) KeyTimeoutsOutput

func (KeyTimeoutsOutput) ToKeyTimeoutsPtrOutput

func (o KeyTimeoutsOutput) ToKeyTimeoutsPtrOutput() KeyTimeoutsPtrOutput

func (KeyTimeoutsOutput) ToKeyTimeoutsPtrOutputWithContext

func (o KeyTimeoutsOutput) ToKeyTimeoutsPtrOutputWithContext(ctx context.Context) KeyTimeoutsPtrOutput

func (KeyTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type KeyTimeoutsPtrInput

type KeyTimeoutsPtrInput interface {
	pulumi.Input

	ToKeyTimeoutsPtrOutput() KeyTimeoutsPtrOutput
	ToKeyTimeoutsPtrOutputWithContext(context.Context) KeyTimeoutsPtrOutput
}

KeyTimeoutsPtrInput is an input type that accepts KeyTimeoutsArgs, KeyTimeoutsPtr and KeyTimeoutsPtrOutput values. You can construct a concrete instance of `KeyTimeoutsPtrInput` via:

        KeyTimeoutsArgs{...}

or:

        nil

func KeyTimeoutsPtr

func KeyTimeoutsPtr(v *KeyTimeoutsArgs) KeyTimeoutsPtrInput

type KeyTimeoutsPtrOutput

type KeyTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (KeyTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (KeyTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (KeyTimeoutsPtrOutput) Elem

func (KeyTimeoutsPtrOutput) ElementType

func (KeyTimeoutsPtrOutput) ElementType() reflect.Type

func (KeyTimeoutsPtrOutput) ToKeyTimeoutsPtrOutput

func (o KeyTimeoutsPtrOutput) ToKeyTimeoutsPtrOutput() KeyTimeoutsPtrOutput

func (KeyTimeoutsPtrOutput) ToKeyTimeoutsPtrOutputWithContext

func (o KeyTimeoutsPtrOutput) ToKeyTimeoutsPtrOutputWithContext(ctx context.Context) KeyTimeoutsPtrOutput

func (KeyTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL