paymentcryptography

package
v7.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 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 KeyKeyAttributeArrayOutput `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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	TagsAll  pulumi.StringMapOutput `pulumi:"tagsAll"`
	Timeouts KeyTimeoutsPtrOutput   `pulumi:"timeouts"`
}

Resource for managing an AWS Payment Cryptography Control Plane Key.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/paymentcryptography"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := paymentcryptography.NewKey(ctx, "test", &paymentcryptography.KeyArgs{
			Exportable: pulumi.Bool(true),
			KeyAttributes: paymentcryptography.KeyKeyAttributeArray{
				&paymentcryptography.KeyKeyAttributeArgs{
					KeyAlgorithm: pulumi.String("TDES_3KEY"),
					KeyClass:     pulumi.String("SYMMETRIC_KEY"),
					KeyUsage:     pulumi.String("TR31_P0_PIN_ENCRYPTION_KEY"),
					KeyModesOfUses: paymentcryptography.KeyKeyAttributeKeyModesOfUseArray{
						&paymentcryptography.KeyKeyAttributeKeyModesOfUseArgs{
							Decrypt: pulumi.Bool(true),
							Encrypt: pulumi.Bool(true),
							Wrap:    pulumi.Bool(true),
							Unwrap:  pulumi.Bool(true),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/paymentcryptography"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := paymentcryptography.NewKey(ctx, "test", &paymentcryptography.KeyArgs{
			Exportable: pulumi.Bool(true),
			KeyAttributes: paymentcryptography.KeyKeyAttributeArray{
				&paymentcryptography.KeyKeyAttributeArgs{
					KeyAlgorithm: pulumi.String("TDES_3KEY"),
					KeyClass:     pulumi.String("SYMMETRIC_KEY"),
					KeyUsage:     pulumi.String("TR31_P0_PIN_ENCRYPTION_KEY"),
					KeyModesOfUses: paymentcryptography.KeyKeyAttributeKeyModesOfUseArray{
						&paymentcryptography.KeyKeyAttributeKeyModesOfUseArgs{
							Decrypt: pulumi.Bool(true),
							Encrypt: pulumi.Bool(true),
							Wrap:    pulumi.Bool(true),
							Unwrap:  pulumi.Bool(true),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = paymentcryptography.NewKeyAlias(ctx, "test", &paymentcryptography.KeyAliasArgs{
			AliasName: pulumi.String("alias/test-alias"),
			KeyArn:    test.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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) Region

func (o KeyAliasOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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 KeyKeyAttributeArrayInput
	// Algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV).
	KeyCheckValueAlgorithm pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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 KeyKeyAttribute

type KeyKeyAttribute 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.
	KeyModesOfUses []KeyKeyAttributeKeyModesOfUse `pulumi:"keyModesOfUses"`
	// 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 KeyKeyAttributeArgs

type KeyKeyAttributeArgs 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.
	KeyModesOfUses KeyKeyAttributeKeyModesOfUseArrayInput `pulumi:"keyModesOfUses"`
	// 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 (KeyKeyAttributeArgs) ElementType

func (KeyKeyAttributeArgs) ElementType() reflect.Type

func (KeyKeyAttributeArgs) ToKeyKeyAttributeOutput

func (i KeyKeyAttributeArgs) ToKeyKeyAttributeOutput() KeyKeyAttributeOutput

func (KeyKeyAttributeArgs) ToKeyKeyAttributeOutputWithContext

func (i KeyKeyAttributeArgs) ToKeyKeyAttributeOutputWithContext(ctx context.Context) KeyKeyAttributeOutput

type KeyKeyAttributeArray

type KeyKeyAttributeArray []KeyKeyAttributeInput

func (KeyKeyAttributeArray) ElementType

func (KeyKeyAttributeArray) ElementType() reflect.Type

func (KeyKeyAttributeArray) ToKeyKeyAttributeArrayOutput

func (i KeyKeyAttributeArray) ToKeyKeyAttributeArrayOutput() KeyKeyAttributeArrayOutput

func (KeyKeyAttributeArray) ToKeyKeyAttributeArrayOutputWithContext

func (i KeyKeyAttributeArray) ToKeyKeyAttributeArrayOutputWithContext(ctx context.Context) KeyKeyAttributeArrayOutput

type KeyKeyAttributeArrayInput

type KeyKeyAttributeArrayInput interface {
	pulumi.Input

	ToKeyKeyAttributeArrayOutput() KeyKeyAttributeArrayOutput
	ToKeyKeyAttributeArrayOutputWithContext(context.Context) KeyKeyAttributeArrayOutput
}

KeyKeyAttributeArrayInput is an input type that accepts KeyKeyAttributeArray and KeyKeyAttributeArrayOutput values. You can construct a concrete instance of `KeyKeyAttributeArrayInput` via:

KeyKeyAttributeArray{ KeyKeyAttributeArgs{...} }

type KeyKeyAttributeArrayOutput

type KeyKeyAttributeArrayOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributeArrayOutput) ElementType

func (KeyKeyAttributeArrayOutput) ElementType() reflect.Type

func (KeyKeyAttributeArrayOutput) Index

func (KeyKeyAttributeArrayOutput) ToKeyKeyAttributeArrayOutput

func (o KeyKeyAttributeArrayOutput) ToKeyKeyAttributeArrayOutput() KeyKeyAttributeArrayOutput

func (KeyKeyAttributeArrayOutput) ToKeyKeyAttributeArrayOutputWithContext

func (o KeyKeyAttributeArrayOutput) ToKeyKeyAttributeArrayOutputWithContext(ctx context.Context) KeyKeyAttributeArrayOutput

type KeyKeyAttributeInput

type KeyKeyAttributeInput interface {
	pulumi.Input

	ToKeyKeyAttributeOutput() KeyKeyAttributeOutput
	ToKeyKeyAttributeOutputWithContext(context.Context) KeyKeyAttributeOutput
}

KeyKeyAttributeInput is an input type that accepts KeyKeyAttributeArgs and KeyKeyAttributeOutput values. You can construct a concrete instance of `KeyKeyAttributeInput` via:

KeyKeyAttributeArgs{...}

type KeyKeyAttributeKeyModesOfUse

type KeyKeyAttributeKeyModesOfUse 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 KeyKeyAttributeKeyModesOfUseArgs

type KeyKeyAttributeKeyModesOfUseArgs 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 (KeyKeyAttributeKeyModesOfUseArgs) ElementType

func (KeyKeyAttributeKeyModesOfUseArgs) ToKeyKeyAttributeKeyModesOfUseOutput

func (i KeyKeyAttributeKeyModesOfUseArgs) ToKeyKeyAttributeKeyModesOfUseOutput() KeyKeyAttributeKeyModesOfUseOutput

func (KeyKeyAttributeKeyModesOfUseArgs) ToKeyKeyAttributeKeyModesOfUseOutputWithContext

func (i KeyKeyAttributeKeyModesOfUseArgs) ToKeyKeyAttributeKeyModesOfUseOutputWithContext(ctx context.Context) KeyKeyAttributeKeyModesOfUseOutput

type KeyKeyAttributeKeyModesOfUseArray

type KeyKeyAttributeKeyModesOfUseArray []KeyKeyAttributeKeyModesOfUseInput

func (KeyKeyAttributeKeyModesOfUseArray) ElementType

func (KeyKeyAttributeKeyModesOfUseArray) ToKeyKeyAttributeKeyModesOfUseArrayOutput

func (i KeyKeyAttributeKeyModesOfUseArray) ToKeyKeyAttributeKeyModesOfUseArrayOutput() KeyKeyAttributeKeyModesOfUseArrayOutput

func (KeyKeyAttributeKeyModesOfUseArray) ToKeyKeyAttributeKeyModesOfUseArrayOutputWithContext

func (i KeyKeyAttributeKeyModesOfUseArray) ToKeyKeyAttributeKeyModesOfUseArrayOutputWithContext(ctx context.Context) KeyKeyAttributeKeyModesOfUseArrayOutput

type KeyKeyAttributeKeyModesOfUseArrayInput

type KeyKeyAttributeKeyModesOfUseArrayInput interface {
	pulumi.Input

	ToKeyKeyAttributeKeyModesOfUseArrayOutput() KeyKeyAttributeKeyModesOfUseArrayOutput
	ToKeyKeyAttributeKeyModesOfUseArrayOutputWithContext(context.Context) KeyKeyAttributeKeyModesOfUseArrayOutput
}

KeyKeyAttributeKeyModesOfUseArrayInput is an input type that accepts KeyKeyAttributeKeyModesOfUseArray and KeyKeyAttributeKeyModesOfUseArrayOutput values. You can construct a concrete instance of `KeyKeyAttributeKeyModesOfUseArrayInput` via:

KeyKeyAttributeKeyModesOfUseArray{ KeyKeyAttributeKeyModesOfUseArgs{...} }

type KeyKeyAttributeKeyModesOfUseArrayOutput

type KeyKeyAttributeKeyModesOfUseArrayOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributeKeyModesOfUseArrayOutput) ElementType

func (KeyKeyAttributeKeyModesOfUseArrayOutput) Index

func (KeyKeyAttributeKeyModesOfUseArrayOutput) ToKeyKeyAttributeKeyModesOfUseArrayOutput

func (o KeyKeyAttributeKeyModesOfUseArrayOutput) ToKeyKeyAttributeKeyModesOfUseArrayOutput() KeyKeyAttributeKeyModesOfUseArrayOutput

func (KeyKeyAttributeKeyModesOfUseArrayOutput) ToKeyKeyAttributeKeyModesOfUseArrayOutputWithContext

func (o KeyKeyAttributeKeyModesOfUseArrayOutput) ToKeyKeyAttributeKeyModesOfUseArrayOutputWithContext(ctx context.Context) KeyKeyAttributeKeyModesOfUseArrayOutput

type KeyKeyAttributeKeyModesOfUseInput

type KeyKeyAttributeKeyModesOfUseInput interface {
	pulumi.Input

	ToKeyKeyAttributeKeyModesOfUseOutput() KeyKeyAttributeKeyModesOfUseOutput
	ToKeyKeyAttributeKeyModesOfUseOutputWithContext(context.Context) KeyKeyAttributeKeyModesOfUseOutput
}

KeyKeyAttributeKeyModesOfUseInput is an input type that accepts KeyKeyAttributeKeyModesOfUseArgs and KeyKeyAttributeKeyModesOfUseOutput values. You can construct a concrete instance of `KeyKeyAttributeKeyModesOfUseInput` via:

KeyKeyAttributeKeyModesOfUseArgs{...}

type KeyKeyAttributeKeyModesOfUseOutput

type KeyKeyAttributeKeyModesOfUseOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributeKeyModesOfUseOutput) Decrypt

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

func (KeyKeyAttributeKeyModesOfUseOutput) DeriveKey

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

func (KeyKeyAttributeKeyModesOfUseOutput) ElementType

func (KeyKeyAttributeKeyModesOfUseOutput) Encrypt

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

func (KeyKeyAttributeKeyModesOfUseOutput) Generate

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

func (KeyKeyAttributeKeyModesOfUseOutput) NoRestrictions

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

func (KeyKeyAttributeKeyModesOfUseOutput) Sign

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

func (KeyKeyAttributeKeyModesOfUseOutput) ToKeyKeyAttributeKeyModesOfUseOutput

func (o KeyKeyAttributeKeyModesOfUseOutput) ToKeyKeyAttributeKeyModesOfUseOutput() KeyKeyAttributeKeyModesOfUseOutput

func (KeyKeyAttributeKeyModesOfUseOutput) ToKeyKeyAttributeKeyModesOfUseOutputWithContext

func (o KeyKeyAttributeKeyModesOfUseOutput) ToKeyKeyAttributeKeyModesOfUseOutputWithContext(ctx context.Context) KeyKeyAttributeKeyModesOfUseOutput

func (KeyKeyAttributeKeyModesOfUseOutput) Unwrap

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

func (KeyKeyAttributeKeyModesOfUseOutput) Verify

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

func (KeyKeyAttributeKeyModesOfUseOutput) Wrap

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

type KeyKeyAttributeOutput

type KeyKeyAttributeOutput struct{ *pulumi.OutputState }

func (KeyKeyAttributeOutput) ElementType

func (KeyKeyAttributeOutput) ElementType() reflect.Type

func (KeyKeyAttributeOutput) KeyAlgorithm

func (o KeyKeyAttributeOutput) KeyAlgorithm() pulumi.StringOutput

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

func (KeyKeyAttributeOutput) KeyClass

Type of AWS Payment Cryptography key to create.

func (KeyKeyAttributeOutput) KeyModesOfUses

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

func (KeyKeyAttributeOutput) KeyUsage

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

func (KeyKeyAttributeOutput) ToKeyKeyAttributeOutput

func (o KeyKeyAttributeOutput) ToKeyKeyAttributeOutput() KeyKeyAttributeOutput

func (KeyKeyAttributeOutput) ToKeyKeyAttributeOutputWithContext

func (o KeyKeyAttributeOutput) ToKeyKeyAttributeOutputWithContext(ctx context.Context) KeyKeyAttributeOutput

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() KeyKeyAttributeArrayOutput

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) Region

func (o KeyOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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

func (o KeyOutput) TagsAll() pulumi.StringMapOutput

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

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 KeyKeyAttributeArrayInput
	// 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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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.
	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