paymentcryptography

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyAlgorithmTdes2key    = KeyAlgorithm("TDES_2KEY")
	KeyAlgorithmTdes3key    = KeyAlgorithm("TDES_3KEY")
	KeyAlgorithmAes128      = KeyAlgorithm("AES_128")
	KeyAlgorithmAes192      = KeyAlgorithm("AES_192")
	KeyAlgorithmAes256      = KeyAlgorithm("AES_256")
	KeyAlgorithmRsa2048     = KeyAlgorithm("RSA_2048")
	KeyAlgorithmRsa3072     = KeyAlgorithm("RSA_3072")
	KeyAlgorithmRsa4096     = KeyAlgorithm("RSA_4096")
	KeyAlgorithmEccNistP256 = KeyAlgorithm("ECC_NIST_P256")
	KeyAlgorithmEccNistP384 = KeyAlgorithm("ECC_NIST_P384")
)
View Source
const (
	KeyCheckValueAlgorithmCmac     = KeyCheckValueAlgorithm("CMAC")
	KeyCheckValueAlgorithmAnsiX924 = KeyCheckValueAlgorithm("ANSI_X9_24")
)
View Source
const (
	KeyClassSymmetricKey      = KeyClass("SYMMETRIC_KEY")
	KeyClassAsymmetricKeyPair = KeyClass("ASYMMETRIC_KEY_PAIR")
	KeyClassPrivateKey        = KeyClass("PRIVATE_KEY")
	KeyClassPublicKey         = KeyClass("PUBLIC_KEY")
)
View Source
const (
	KeyOriginExternal               = KeyOrigin("EXTERNAL")
	KeyOriginAwsPaymentCryptography = KeyOrigin("AWS_PAYMENT_CRYPTOGRAPHY")
)
View Source
const (
	KeyStateEnumCreateInProgress = KeyStateEnum("CREATE_IN_PROGRESS")
	KeyStateEnumCreateComplete   = KeyStateEnum("CREATE_COMPLETE")
	KeyStateEnumDeletePending    = KeyStateEnum("DELETE_PENDING")
	KeyStateEnumDeleteComplete   = KeyStateEnum("DELETE_COMPLETE")
)
View Source
const (
	KeyUsageTr31b0BaseDerivationKey                = KeyUsage("TR31_B0_BASE_DERIVATION_KEY")
	KeyUsageTr31c0CardVerificationKey              = KeyUsage("TR31_C0_CARD_VERIFICATION_KEY")
	KeyUsageTr31d0SymmetricDataEncryptionKey       = KeyUsage("TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY")
	KeyUsageTr31d1AsymmetricKeyForDataEncryption   = KeyUsage("TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION")
	KeyUsageTr31e0EmvMkeyAppCryptograms            = KeyUsage("TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS")
	KeyUsageTr31e1EmvMkeyConfidentiality           = KeyUsage("TR31_E1_EMV_MKEY_CONFIDENTIALITY")
	KeyUsageTr31e2EmvMkeyIntegrity                 = KeyUsage("TR31_E2_EMV_MKEY_INTEGRITY")
	KeyUsageTr31e4EmvMkeyDynamicNumbers            = KeyUsage("TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS")
	KeyUsageTr31e5EmvMkeyCardPersonalization       = KeyUsage("TR31_E5_EMV_MKEY_CARD_PERSONALIZATION")
	KeyUsageTr31e6EmvMkeyOther                     = KeyUsage("TR31_E6_EMV_MKEY_OTHER")
	KeyUsageTr31k0KeyEncryptionKey                 = KeyUsage("TR31_K0_KEY_ENCRYPTION_KEY")
	KeyUsageTr31k1KeyBlockProtectionKey            = KeyUsage("TR31_K1_KEY_BLOCK_PROTECTION_KEY")
	KeyUsageTr31k3AsymmetricKeyForKeyAgreement     = KeyUsage("TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT")
	KeyUsageTr31m3Iso97973MacKey                   = KeyUsage("TR31_M3_ISO_9797_3_MAC_KEY")
	KeyUsageTr31m1Iso97971MacKey                   = KeyUsage("TR31_M1_ISO_9797_1_MAC_KEY")
	KeyUsageTr31m6Iso97975CmacKey                  = KeyUsage("TR31_M6_ISO_9797_5_CMAC_KEY")
	KeyUsageTr31m7HmacKey                          = KeyUsage("TR31_M7_HMAC_KEY")
	KeyUsageTr31p0PinEncryptionKey                 = KeyUsage("TR31_P0_PIN_ENCRYPTION_KEY")
	KeyUsageTr31p1PinGenerationKey                 = KeyUsage("TR31_P1_PIN_GENERATION_KEY")
	KeyUsageTr31s0AsymmetricKeyForDigitalSignature = KeyUsage("TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE")
	KeyUsageTr31v1Ibm3624PinVerificationKey        = KeyUsage("TR31_V1_IBM3624_PIN_VERIFICATION_KEY")
	KeyUsageTr31v2VisaPinVerificationKey           = KeyUsage("TR31_V2_VISA_PIN_VERIFICATION_KEY")
	KeyUsageTr31k2Tr34AsymmetricKey                = KeyUsage("TR31_K2_TR34_ASYMMETRIC_KEY")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	pulumi.CustomResourceState

	// A friendly name that you can use to refer to a key. The value must begin with `alias/` .
	//
	// > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
	AliasName pulumi.StringOutput `pulumi:"aliasName"`
	// The `KeyARN` of the key associated with the alias.
	KeyArn pulumi.StringPtrOutput `pulumi:"keyArn"`
}

Definition of AWS::PaymentCryptography::Alias Resource Type

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

func (*Alias) ToAliasOutput

func (i *Alias) ToAliasOutput() AliasOutput

func (*Alias) ToAliasOutputWithContext

func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput

type AliasArgs

type AliasArgs struct {
	// A friendly name that you can use to refer to a key. The value must begin with `alias/` .
	//
	// > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
	AliasName pulumi.StringPtrInput
	// The `KeyARN` of the key associated with the alias.
	KeyArn pulumi.StringPtrInput
}

The set of arguments for constructing a Alias resource.

func (AliasArgs) ElementType

func (AliasArgs) ElementType() reflect.Type

type AliasInput

type AliasInput interface {
	pulumi.Input

	ToAliasOutput() AliasOutput
	ToAliasOutputWithContext(ctx context.Context) AliasOutput
}

type AliasOutput

type AliasOutput struct{ *pulumi.OutputState }

func (AliasOutput) AliasName

func (o AliasOutput) AliasName() pulumi.StringOutput

A friendly name that you can use to refer to a key. The value must begin with `alias/` .

> Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.

func (AliasOutput) ElementType

func (AliasOutput) ElementType() reflect.Type

func (AliasOutput) KeyArn

func (o AliasOutput) KeyArn() pulumi.StringPtrOutput

The `KeyARN` of the key associated with the alias.

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

	// Specifies whether the key is enabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies whether the key is exportable. This data is immutable after the key is created.
	Exportable pulumi.BoolOutput `pulumi:"exportable"`
	// The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
	KeyAttributes KeyAttributesOutput `pulumi:"keyAttributes"`
	// The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
	//
	// For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
	KeyCheckValueAlgorithm KeyCheckValueAlgorithmPtrOutput `pulumi:"keyCheckValueAlgorithm"`
	KeyIdentifier          pulumi.StringOutput             `pulumi:"keyIdentifier"`
	// The source of the key material. For keys created within AWS Payment Cryptography, the value is `AWS_PAYMENT_CRYPTOGRAPHY` . For keys imported into AWS Payment Cryptography, the value is `EXTERNAL` .
	KeyOrigin KeyOriginOutput `pulumi:"keyOrigin"`
	// The state of key that is being created or deleted.
	KeyState KeyStateEnumOutput `pulumi:"keyState"`
	Tags     aws.TagArrayOutput `pulumi:"tags"`
}

Definition of AWS::PaymentCryptography::Key Resource Type

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 KeyAlgorithm

type KeyAlgorithm string

func (KeyAlgorithm) ElementType

func (KeyAlgorithm) ElementType() reflect.Type

func (KeyAlgorithm) ToKeyAlgorithmOutput

func (e KeyAlgorithm) ToKeyAlgorithmOutput() KeyAlgorithmOutput

func (KeyAlgorithm) ToKeyAlgorithmOutputWithContext

func (e KeyAlgorithm) ToKeyAlgorithmOutputWithContext(ctx context.Context) KeyAlgorithmOutput

func (KeyAlgorithm) ToKeyAlgorithmPtrOutput

func (e KeyAlgorithm) ToKeyAlgorithmPtrOutput() KeyAlgorithmPtrOutput

func (KeyAlgorithm) ToKeyAlgorithmPtrOutputWithContext

func (e KeyAlgorithm) ToKeyAlgorithmPtrOutputWithContext(ctx context.Context) KeyAlgorithmPtrOutput

func (KeyAlgorithm) ToStringOutput

func (e KeyAlgorithm) ToStringOutput() pulumi.StringOutput

func (KeyAlgorithm) ToStringOutputWithContext

func (e KeyAlgorithm) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyAlgorithm) ToStringPtrOutput

func (e KeyAlgorithm) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyAlgorithm) ToStringPtrOutputWithContext

func (e KeyAlgorithm) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyAlgorithmInput

type KeyAlgorithmInput interface {
	pulumi.Input

	ToKeyAlgorithmOutput() KeyAlgorithmOutput
	ToKeyAlgorithmOutputWithContext(context.Context) KeyAlgorithmOutput
}

KeyAlgorithmInput is an input type that accepts values of the KeyAlgorithm enum A concrete instance of `KeyAlgorithmInput` can be one of the following:

KeyAlgorithmTdes2key
KeyAlgorithmTdes3key
KeyAlgorithmAes128
KeyAlgorithmAes192
KeyAlgorithmAes256
KeyAlgorithmRsa2048
KeyAlgorithmRsa3072
KeyAlgorithmRsa4096
KeyAlgorithmEccNistP256
KeyAlgorithmEccNistP384

type KeyAlgorithmOutput

type KeyAlgorithmOutput struct{ *pulumi.OutputState }

func (KeyAlgorithmOutput) ElementType

func (KeyAlgorithmOutput) ElementType() reflect.Type

func (KeyAlgorithmOutput) ToKeyAlgorithmOutput

func (o KeyAlgorithmOutput) ToKeyAlgorithmOutput() KeyAlgorithmOutput

func (KeyAlgorithmOutput) ToKeyAlgorithmOutputWithContext

func (o KeyAlgorithmOutput) ToKeyAlgorithmOutputWithContext(ctx context.Context) KeyAlgorithmOutput

func (KeyAlgorithmOutput) ToKeyAlgorithmPtrOutput

func (o KeyAlgorithmOutput) ToKeyAlgorithmPtrOutput() KeyAlgorithmPtrOutput

func (KeyAlgorithmOutput) ToKeyAlgorithmPtrOutputWithContext

func (o KeyAlgorithmOutput) ToKeyAlgorithmPtrOutputWithContext(ctx context.Context) KeyAlgorithmPtrOutput

func (KeyAlgorithmOutput) ToStringOutput

func (o KeyAlgorithmOutput) ToStringOutput() pulumi.StringOutput

func (KeyAlgorithmOutput) ToStringOutputWithContext

func (o KeyAlgorithmOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyAlgorithmOutput) ToStringPtrOutput

func (o KeyAlgorithmOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyAlgorithmOutput) ToStringPtrOutputWithContext

func (o KeyAlgorithmOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyAlgorithmPtrInput

type KeyAlgorithmPtrInput interface {
	pulumi.Input

	ToKeyAlgorithmPtrOutput() KeyAlgorithmPtrOutput
	ToKeyAlgorithmPtrOutputWithContext(context.Context) KeyAlgorithmPtrOutput
}

func KeyAlgorithmPtr

func KeyAlgorithmPtr(v string) KeyAlgorithmPtrInput

type KeyAlgorithmPtrOutput

type KeyAlgorithmPtrOutput struct{ *pulumi.OutputState }

func (KeyAlgorithmPtrOutput) Elem

func (KeyAlgorithmPtrOutput) ElementType

func (KeyAlgorithmPtrOutput) ElementType() reflect.Type

func (KeyAlgorithmPtrOutput) ToKeyAlgorithmPtrOutput

func (o KeyAlgorithmPtrOutput) ToKeyAlgorithmPtrOutput() KeyAlgorithmPtrOutput

func (KeyAlgorithmPtrOutput) ToKeyAlgorithmPtrOutputWithContext

func (o KeyAlgorithmPtrOutput) ToKeyAlgorithmPtrOutputWithContext(ctx context.Context) KeyAlgorithmPtrOutput

func (KeyAlgorithmPtrOutput) ToStringPtrOutput

func (o KeyAlgorithmPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyAlgorithmPtrOutput) ToStringPtrOutputWithContext

func (o KeyAlgorithmPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyArgs

type KeyArgs struct {
	// Specifies whether the key is enabled.
	Enabled pulumi.BoolPtrInput
	// Specifies whether the key is exportable. This data is immutable after the key is created.
	Exportable pulumi.BoolInput
	// The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
	KeyAttributes KeyAttributesInput
	// The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
	//
	// For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
	KeyCheckValueAlgorithm KeyCheckValueAlgorithmPtrInput
	Tags                   aws.TagArrayInput
}

The set of arguments for constructing a Key resource.

func (KeyArgs) ElementType

func (KeyArgs) ElementType() reflect.Type

type KeyAttributes

type KeyAttributes struct {
	// The key algorithm to be use during creation of an AWS Payment Cryptography key.
	//
	// For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms.
	KeyAlgorithm KeyAlgorithm `pulumi:"keyAlgorithm"`
	// The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.
	KeyClass KeyClass `pulumi:"keyClass"`
	// The list of cryptographic operations that you can perform using the key.
	KeyModesOfUse KeyModesOfUse `pulumi:"keyModesOfUse"`
	// The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
	KeyUsage KeyUsage `pulumi:"keyUsage"`
}

type KeyAttributesArgs

type KeyAttributesArgs struct {
	// The key algorithm to be use during creation of an AWS Payment Cryptography key.
	//
	// For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms.
	KeyAlgorithm KeyAlgorithmInput `pulumi:"keyAlgorithm"`
	// The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.
	KeyClass KeyClassInput `pulumi:"keyClass"`
	// The list of cryptographic operations that you can perform using the key.
	KeyModesOfUse KeyModesOfUseInput `pulumi:"keyModesOfUse"`
	// The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
	KeyUsage KeyUsageInput `pulumi:"keyUsage"`
}

func (KeyAttributesArgs) ElementType

func (KeyAttributesArgs) ElementType() reflect.Type

func (KeyAttributesArgs) ToKeyAttributesOutput

func (i KeyAttributesArgs) ToKeyAttributesOutput() KeyAttributesOutput

func (KeyAttributesArgs) ToKeyAttributesOutputWithContext

func (i KeyAttributesArgs) ToKeyAttributesOutputWithContext(ctx context.Context) KeyAttributesOutput

type KeyAttributesInput

type KeyAttributesInput interface {
	pulumi.Input

	ToKeyAttributesOutput() KeyAttributesOutput
	ToKeyAttributesOutputWithContext(context.Context) KeyAttributesOutput
}

KeyAttributesInput is an input type that accepts KeyAttributesArgs and KeyAttributesOutput values. You can construct a concrete instance of `KeyAttributesInput` via:

KeyAttributesArgs{...}

type KeyAttributesOutput

type KeyAttributesOutput struct{ *pulumi.OutputState }

func (KeyAttributesOutput) ElementType

func (KeyAttributesOutput) ElementType() reflect.Type

func (KeyAttributesOutput) KeyAlgorithm

func (o KeyAttributesOutput) KeyAlgorithm() KeyAlgorithmOutput

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

For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms.

func (KeyAttributesOutput) KeyClass

func (o KeyAttributesOutput) KeyClass() KeyClassOutput

The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.

func (KeyAttributesOutput) KeyModesOfUse

func (o KeyAttributesOutput) KeyModesOfUse() KeyModesOfUseOutput

The list of cryptographic operations that you can perform using the key.

func (KeyAttributesOutput) KeyUsage

func (o KeyAttributesOutput) KeyUsage() KeyUsageOutput

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

func (KeyAttributesOutput) ToKeyAttributesOutput

func (o KeyAttributesOutput) ToKeyAttributesOutput() KeyAttributesOutput

func (KeyAttributesOutput) ToKeyAttributesOutputWithContext

func (o KeyAttributesOutput) ToKeyAttributesOutputWithContext(ctx context.Context) KeyAttributesOutput

type KeyAttributesPtrOutput

type KeyAttributesPtrOutput struct{ *pulumi.OutputState }

func (KeyAttributesPtrOutput) Elem

func (KeyAttributesPtrOutput) ElementType

func (KeyAttributesPtrOutput) ElementType() reflect.Type

func (KeyAttributesPtrOutput) KeyAlgorithm

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

For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms.

func (KeyAttributesPtrOutput) KeyClass

The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair.

func (KeyAttributesPtrOutput) KeyModesOfUse

The list of cryptographic operations that you can perform using the key.

func (KeyAttributesPtrOutput) KeyUsage

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

func (KeyAttributesPtrOutput) ToKeyAttributesPtrOutput

func (o KeyAttributesPtrOutput) ToKeyAttributesPtrOutput() KeyAttributesPtrOutput

func (KeyAttributesPtrOutput) ToKeyAttributesPtrOutputWithContext

func (o KeyAttributesPtrOutput) ToKeyAttributesPtrOutputWithContext(ctx context.Context) KeyAttributesPtrOutput

type KeyCheckValueAlgorithm

type KeyCheckValueAlgorithm string

func (KeyCheckValueAlgorithm) ElementType

func (KeyCheckValueAlgorithm) ElementType() reflect.Type

func (KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmOutput

func (e KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmOutput() KeyCheckValueAlgorithmOutput

func (KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmOutputWithContext

func (e KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmOutputWithContext(ctx context.Context) KeyCheckValueAlgorithmOutput

func (KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmPtrOutput

func (e KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmPtrOutput() KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmPtrOutputWithContext

func (e KeyCheckValueAlgorithm) ToKeyCheckValueAlgorithmPtrOutputWithContext(ctx context.Context) KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithm) ToStringOutput

func (e KeyCheckValueAlgorithm) ToStringOutput() pulumi.StringOutput

func (KeyCheckValueAlgorithm) ToStringOutputWithContext

func (e KeyCheckValueAlgorithm) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyCheckValueAlgorithm) ToStringPtrOutput

func (e KeyCheckValueAlgorithm) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyCheckValueAlgorithm) ToStringPtrOutputWithContext

func (e KeyCheckValueAlgorithm) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyCheckValueAlgorithmInput

type KeyCheckValueAlgorithmInput interface {
	pulumi.Input

	ToKeyCheckValueAlgorithmOutput() KeyCheckValueAlgorithmOutput
	ToKeyCheckValueAlgorithmOutputWithContext(context.Context) KeyCheckValueAlgorithmOutput
}

KeyCheckValueAlgorithmInput is an input type that accepts values of the KeyCheckValueAlgorithm enum A concrete instance of `KeyCheckValueAlgorithmInput` can be one of the following:

KeyCheckValueAlgorithmCmac
KeyCheckValueAlgorithmAnsiX924

type KeyCheckValueAlgorithmOutput

type KeyCheckValueAlgorithmOutput struct{ *pulumi.OutputState }

func (KeyCheckValueAlgorithmOutput) ElementType

func (KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmOutput

func (o KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmOutput() KeyCheckValueAlgorithmOutput

func (KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmOutputWithContext

func (o KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmOutputWithContext(ctx context.Context) KeyCheckValueAlgorithmOutput

func (KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmPtrOutput

func (o KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmPtrOutput() KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmPtrOutputWithContext

func (o KeyCheckValueAlgorithmOutput) ToKeyCheckValueAlgorithmPtrOutputWithContext(ctx context.Context) KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithmOutput) ToStringOutput

func (KeyCheckValueAlgorithmOutput) ToStringOutputWithContext

func (o KeyCheckValueAlgorithmOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyCheckValueAlgorithmOutput) ToStringPtrOutput

func (o KeyCheckValueAlgorithmOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyCheckValueAlgorithmOutput) ToStringPtrOutputWithContext

func (o KeyCheckValueAlgorithmOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyCheckValueAlgorithmPtrInput

type KeyCheckValueAlgorithmPtrInput interface {
	pulumi.Input

	ToKeyCheckValueAlgorithmPtrOutput() KeyCheckValueAlgorithmPtrOutput
	ToKeyCheckValueAlgorithmPtrOutputWithContext(context.Context) KeyCheckValueAlgorithmPtrOutput
}

func KeyCheckValueAlgorithmPtr

func KeyCheckValueAlgorithmPtr(v string) KeyCheckValueAlgorithmPtrInput

type KeyCheckValueAlgorithmPtrOutput

type KeyCheckValueAlgorithmPtrOutput struct{ *pulumi.OutputState }

func (KeyCheckValueAlgorithmPtrOutput) Elem

func (KeyCheckValueAlgorithmPtrOutput) ElementType

func (KeyCheckValueAlgorithmPtrOutput) ToKeyCheckValueAlgorithmPtrOutput

func (o KeyCheckValueAlgorithmPtrOutput) ToKeyCheckValueAlgorithmPtrOutput() KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithmPtrOutput) ToKeyCheckValueAlgorithmPtrOutputWithContext

func (o KeyCheckValueAlgorithmPtrOutput) ToKeyCheckValueAlgorithmPtrOutputWithContext(ctx context.Context) KeyCheckValueAlgorithmPtrOutput

func (KeyCheckValueAlgorithmPtrOutput) ToStringPtrOutput

func (KeyCheckValueAlgorithmPtrOutput) ToStringPtrOutputWithContext

func (o KeyCheckValueAlgorithmPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyClass

type KeyClass string

func (KeyClass) ElementType

func (KeyClass) ElementType() reflect.Type

func (KeyClass) ToKeyClassOutput

func (e KeyClass) ToKeyClassOutput() KeyClassOutput

func (KeyClass) ToKeyClassOutputWithContext

func (e KeyClass) ToKeyClassOutputWithContext(ctx context.Context) KeyClassOutput

func (KeyClass) ToKeyClassPtrOutput

func (e KeyClass) ToKeyClassPtrOutput() KeyClassPtrOutput

func (KeyClass) ToKeyClassPtrOutputWithContext

func (e KeyClass) ToKeyClassPtrOutputWithContext(ctx context.Context) KeyClassPtrOutput

func (KeyClass) ToStringOutput

func (e KeyClass) ToStringOutput() pulumi.StringOutput

func (KeyClass) ToStringOutputWithContext

func (e KeyClass) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyClass) ToStringPtrOutput

func (e KeyClass) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyClass) ToStringPtrOutputWithContext

func (e KeyClass) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyClassInput

type KeyClassInput interface {
	pulumi.Input

	ToKeyClassOutput() KeyClassOutput
	ToKeyClassOutputWithContext(context.Context) KeyClassOutput
}

KeyClassInput is an input type that accepts values of the KeyClass enum A concrete instance of `KeyClassInput` can be one of the following:

KeyClassSymmetricKey
KeyClassAsymmetricKeyPair
KeyClassPrivateKey
KeyClassPublicKey

type KeyClassOutput

type KeyClassOutput struct{ *pulumi.OutputState }

func (KeyClassOutput) ElementType

func (KeyClassOutput) ElementType() reflect.Type

func (KeyClassOutput) ToKeyClassOutput

func (o KeyClassOutput) ToKeyClassOutput() KeyClassOutput

func (KeyClassOutput) ToKeyClassOutputWithContext

func (o KeyClassOutput) ToKeyClassOutputWithContext(ctx context.Context) KeyClassOutput

func (KeyClassOutput) ToKeyClassPtrOutput

func (o KeyClassOutput) ToKeyClassPtrOutput() KeyClassPtrOutput

func (KeyClassOutput) ToKeyClassPtrOutputWithContext

func (o KeyClassOutput) ToKeyClassPtrOutputWithContext(ctx context.Context) KeyClassPtrOutput

func (KeyClassOutput) ToStringOutput

func (o KeyClassOutput) ToStringOutput() pulumi.StringOutput

func (KeyClassOutput) ToStringOutputWithContext

func (o KeyClassOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyClassOutput) ToStringPtrOutput

func (o KeyClassOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyClassOutput) ToStringPtrOutputWithContext

func (o KeyClassOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyClassPtrInput

type KeyClassPtrInput interface {
	pulumi.Input

	ToKeyClassPtrOutput() KeyClassPtrOutput
	ToKeyClassPtrOutputWithContext(context.Context) KeyClassPtrOutput
}

func KeyClassPtr

func KeyClassPtr(v string) KeyClassPtrInput

type KeyClassPtrOutput

type KeyClassPtrOutput struct{ *pulumi.OutputState }

func (KeyClassPtrOutput) Elem

func (KeyClassPtrOutput) ElementType

func (KeyClassPtrOutput) ElementType() reflect.Type

func (KeyClassPtrOutput) ToKeyClassPtrOutput

func (o KeyClassPtrOutput) ToKeyClassPtrOutput() KeyClassPtrOutput

func (KeyClassPtrOutput) ToKeyClassPtrOutputWithContext

func (o KeyClassPtrOutput) ToKeyClassPtrOutputWithContext(ctx context.Context) KeyClassPtrOutput

func (KeyClassPtrOutput) ToStringPtrOutput

func (o KeyClassPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyClassPtrOutput) ToStringPtrOutputWithContext

func (o KeyClassPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyInput

type KeyInput interface {
	pulumi.Input

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

type KeyModesOfUse

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

type KeyModesOfUseArgs

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

func (KeyModesOfUseArgs) ElementType

func (KeyModesOfUseArgs) ElementType() reflect.Type

func (KeyModesOfUseArgs) ToKeyModesOfUseOutput

func (i KeyModesOfUseArgs) ToKeyModesOfUseOutput() KeyModesOfUseOutput

func (KeyModesOfUseArgs) ToKeyModesOfUseOutputWithContext

func (i KeyModesOfUseArgs) ToKeyModesOfUseOutputWithContext(ctx context.Context) KeyModesOfUseOutput

type KeyModesOfUseInput

type KeyModesOfUseInput interface {
	pulumi.Input

	ToKeyModesOfUseOutput() KeyModesOfUseOutput
	ToKeyModesOfUseOutputWithContext(context.Context) KeyModesOfUseOutput
}

KeyModesOfUseInput is an input type that accepts KeyModesOfUseArgs and KeyModesOfUseOutput values. You can construct a concrete instance of `KeyModesOfUseInput` via:

KeyModesOfUseArgs{...}

type KeyModesOfUseOutput

type KeyModesOfUseOutput struct{ *pulumi.OutputState }

func (KeyModesOfUseOutput) Decrypt

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

func (KeyModesOfUseOutput) DeriveKey

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

func (KeyModesOfUseOutput) ElementType

func (KeyModesOfUseOutput) ElementType() reflect.Type

func (KeyModesOfUseOutput) Encrypt

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

func (KeyModesOfUseOutput) Generate

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

func (KeyModesOfUseOutput) NoRestrictions

func (o KeyModesOfUseOutput) NoRestrictions() pulumi.BoolPtrOutput

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

func (KeyModesOfUseOutput) Sign

Specifies whether an AWS Payment Cryptography key can be used for signing.

func (KeyModesOfUseOutput) ToKeyModesOfUseOutput

func (o KeyModesOfUseOutput) ToKeyModesOfUseOutput() KeyModesOfUseOutput

func (KeyModesOfUseOutput) ToKeyModesOfUseOutputWithContext

func (o KeyModesOfUseOutput) ToKeyModesOfUseOutputWithContext(ctx context.Context) KeyModesOfUseOutput

func (KeyModesOfUseOutput) Unwrap

func (KeyModesOfUseOutput) Verify

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

func (KeyModesOfUseOutput) Wrap

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

type KeyModesOfUsePtrOutput

type KeyModesOfUsePtrOutput struct{ *pulumi.OutputState }

func (KeyModesOfUsePtrOutput) Decrypt

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

func (KeyModesOfUsePtrOutput) DeriveKey

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

func (KeyModesOfUsePtrOutput) Elem

func (KeyModesOfUsePtrOutput) ElementType

func (KeyModesOfUsePtrOutput) ElementType() reflect.Type

func (KeyModesOfUsePtrOutput) Encrypt

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

func (KeyModesOfUsePtrOutput) Generate

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

func (KeyModesOfUsePtrOutput) NoRestrictions

func (o KeyModesOfUsePtrOutput) NoRestrictions() pulumi.BoolPtrOutput

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

func (KeyModesOfUsePtrOutput) Sign

Specifies whether an AWS Payment Cryptography key can be used for signing.

func (KeyModesOfUsePtrOutput) ToKeyModesOfUsePtrOutput

func (o KeyModesOfUsePtrOutput) ToKeyModesOfUsePtrOutput() KeyModesOfUsePtrOutput

func (KeyModesOfUsePtrOutput) ToKeyModesOfUsePtrOutputWithContext

func (o KeyModesOfUsePtrOutput) ToKeyModesOfUsePtrOutputWithContext(ctx context.Context) KeyModesOfUsePtrOutput

func (KeyModesOfUsePtrOutput) Unwrap

func (KeyModesOfUsePtrOutput) Verify

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

func (KeyModesOfUsePtrOutput) Wrap

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

type KeyOrigin

type KeyOrigin string

Defines the source of a key

type KeyOriginOutput

type KeyOriginOutput struct{ *pulumi.OutputState }

func (KeyOriginOutput) ElementType

func (KeyOriginOutput) ElementType() reflect.Type

func (KeyOriginOutput) ToKeyOriginOutput

func (o KeyOriginOutput) ToKeyOriginOutput() KeyOriginOutput

func (KeyOriginOutput) ToKeyOriginOutputWithContext

func (o KeyOriginOutput) ToKeyOriginOutputWithContext(ctx context.Context) KeyOriginOutput

func (KeyOriginOutput) ToKeyOriginPtrOutput

func (o KeyOriginOutput) ToKeyOriginPtrOutput() KeyOriginPtrOutput

func (KeyOriginOutput) ToKeyOriginPtrOutputWithContext

func (o KeyOriginOutput) ToKeyOriginPtrOutputWithContext(ctx context.Context) KeyOriginPtrOutput

func (KeyOriginOutput) ToStringOutput

func (o KeyOriginOutput) ToStringOutput() pulumi.StringOutput

func (KeyOriginOutput) ToStringOutputWithContext

func (o KeyOriginOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyOriginOutput) ToStringPtrOutput

func (o KeyOriginOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyOriginOutput) ToStringPtrOutputWithContext

func (o KeyOriginOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyOriginPtrOutput

type KeyOriginPtrOutput struct{ *pulumi.OutputState }

func (KeyOriginPtrOutput) Elem

func (KeyOriginPtrOutput) ElementType

func (KeyOriginPtrOutput) ElementType() reflect.Type

func (KeyOriginPtrOutput) ToKeyOriginPtrOutput

func (o KeyOriginPtrOutput) ToKeyOriginPtrOutput() KeyOriginPtrOutput

func (KeyOriginPtrOutput) ToKeyOriginPtrOutputWithContext

func (o KeyOriginPtrOutput) ToKeyOriginPtrOutputWithContext(ctx context.Context) KeyOriginPtrOutput

func (KeyOriginPtrOutput) ToStringPtrOutput

func (o KeyOriginPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyOriginPtrOutput) ToStringPtrOutputWithContext

func (o KeyOriginPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyOutput

type KeyOutput struct{ *pulumi.OutputState }

func (KeyOutput) ElementType

func (KeyOutput) ElementType() reflect.Type

func (KeyOutput) Enabled

func (o KeyOutput) Enabled() pulumi.BoolPtrOutput

Specifies whether the key is enabled.

func (KeyOutput) Exportable

func (o KeyOutput) Exportable() pulumi.BoolOutput

Specifies whether the key is exportable. This data is immutable after the key is created.

func (KeyOutput) KeyAttributes

func (o KeyOutput) KeyAttributes() KeyAttributesOutput

The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.

func (KeyOutput) KeyCheckValueAlgorithm

func (o KeyOutput) KeyCheckValueAlgorithm() KeyCheckValueAlgorithmPtrOutput

The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.

For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

func (KeyOutput) KeyIdentifier

func (o KeyOutput) KeyIdentifier() pulumi.StringOutput

func (KeyOutput) KeyOrigin

func (o KeyOutput) KeyOrigin() KeyOriginOutput

The source of the key material. For keys created within AWS Payment Cryptography, the value is `AWS_PAYMENT_CRYPTOGRAPHY` . For keys imported into AWS Payment Cryptography, the value is `EXTERNAL` .

func (KeyOutput) KeyState

func (o KeyOutput) KeyState() KeyStateEnumOutput

The state of key that is being created or deleted.

func (KeyOutput) Tags

func (o KeyOutput) Tags() aws.TagArrayOutput

func (KeyOutput) ToKeyOutput

func (o KeyOutput) ToKeyOutput() KeyOutput

func (KeyOutput) ToKeyOutputWithContext

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

type KeyState

type KeyState struct {
}

func (KeyState) ElementType

func (KeyState) ElementType() reflect.Type

type KeyStateEnum

type KeyStateEnum string

Defines the state of a key

type KeyStateEnumOutput

type KeyStateEnumOutput struct{ *pulumi.OutputState }

func (KeyStateEnumOutput) ElementType

func (KeyStateEnumOutput) ElementType() reflect.Type

func (KeyStateEnumOutput) ToKeyStateEnumOutput

func (o KeyStateEnumOutput) ToKeyStateEnumOutput() KeyStateEnumOutput

func (KeyStateEnumOutput) ToKeyStateEnumOutputWithContext

func (o KeyStateEnumOutput) ToKeyStateEnumOutputWithContext(ctx context.Context) KeyStateEnumOutput

func (KeyStateEnumOutput) ToKeyStateEnumPtrOutput

func (o KeyStateEnumOutput) ToKeyStateEnumPtrOutput() KeyStateEnumPtrOutput

func (KeyStateEnumOutput) ToKeyStateEnumPtrOutputWithContext

func (o KeyStateEnumOutput) ToKeyStateEnumPtrOutputWithContext(ctx context.Context) KeyStateEnumPtrOutput

func (KeyStateEnumOutput) ToStringOutput

func (o KeyStateEnumOutput) ToStringOutput() pulumi.StringOutput

func (KeyStateEnumOutput) ToStringOutputWithContext

func (o KeyStateEnumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyStateEnumOutput) ToStringPtrOutput

func (o KeyStateEnumOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyStateEnumOutput) ToStringPtrOutputWithContext

func (o KeyStateEnumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyStateEnumPtrOutput

type KeyStateEnumPtrOutput struct{ *pulumi.OutputState }

func (KeyStateEnumPtrOutput) Elem

func (KeyStateEnumPtrOutput) ElementType

func (KeyStateEnumPtrOutput) ElementType() reflect.Type

func (KeyStateEnumPtrOutput) ToKeyStateEnumPtrOutput

func (o KeyStateEnumPtrOutput) ToKeyStateEnumPtrOutput() KeyStateEnumPtrOutput

func (KeyStateEnumPtrOutput) ToKeyStateEnumPtrOutputWithContext

func (o KeyStateEnumPtrOutput) ToKeyStateEnumPtrOutputWithContext(ctx context.Context) KeyStateEnumPtrOutput

func (KeyStateEnumPtrOutput) ToStringPtrOutput

func (o KeyStateEnumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyStateEnumPtrOutput) ToStringPtrOutputWithContext

func (o KeyStateEnumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyTag

type KeyTag struct {
	// The key of the tag.
	Key string `pulumi:"key"`
	// The value of the tag.
	Value string `pulumi:"value"`
}

type KeyUsage

type KeyUsage string

func (KeyUsage) ElementType

func (KeyUsage) ElementType() reflect.Type

func (KeyUsage) ToKeyUsageOutput

func (e KeyUsage) ToKeyUsageOutput() KeyUsageOutput

func (KeyUsage) ToKeyUsageOutputWithContext

func (e KeyUsage) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput

func (KeyUsage) ToKeyUsagePtrOutput

func (e KeyUsage) ToKeyUsagePtrOutput() KeyUsagePtrOutput

func (KeyUsage) ToKeyUsagePtrOutputWithContext

func (e KeyUsage) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput

func (KeyUsage) ToStringOutput

func (e KeyUsage) ToStringOutput() pulumi.StringOutput

func (KeyUsage) ToStringOutputWithContext

func (e KeyUsage) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyUsage) ToStringPtrOutput

func (e KeyUsage) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyUsage) ToStringPtrOutputWithContext

func (e KeyUsage) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyUsageInput

type KeyUsageInput interface {
	pulumi.Input

	ToKeyUsageOutput() KeyUsageOutput
	ToKeyUsageOutputWithContext(context.Context) KeyUsageOutput
}

KeyUsageInput is an input type that accepts values of the KeyUsage enum A concrete instance of `KeyUsageInput` can be one of the following:

KeyUsageTr31b0BaseDerivationKey
KeyUsageTr31c0CardVerificationKey
KeyUsageTr31d0SymmetricDataEncryptionKey
KeyUsageTr31d1AsymmetricKeyForDataEncryption
KeyUsageTr31e0EmvMkeyAppCryptograms
KeyUsageTr31e1EmvMkeyConfidentiality
KeyUsageTr31e2EmvMkeyIntegrity
KeyUsageTr31e4EmvMkeyDynamicNumbers
KeyUsageTr31e5EmvMkeyCardPersonalization
KeyUsageTr31e6EmvMkeyOther
KeyUsageTr31k0KeyEncryptionKey
KeyUsageTr31k1KeyBlockProtectionKey
KeyUsageTr31k3AsymmetricKeyForKeyAgreement
KeyUsageTr31m3Iso97973MacKey
KeyUsageTr31m1Iso97971MacKey
KeyUsageTr31m6Iso97975CmacKey
KeyUsageTr31m7HmacKey
KeyUsageTr31p0PinEncryptionKey
KeyUsageTr31p1PinGenerationKey
KeyUsageTr31s0AsymmetricKeyForDigitalSignature
KeyUsageTr31v1Ibm3624PinVerificationKey
KeyUsageTr31v2VisaPinVerificationKey
KeyUsageTr31k2Tr34AsymmetricKey

type KeyUsageOutput

type KeyUsageOutput struct{ *pulumi.OutputState }

func (KeyUsageOutput) ElementType

func (KeyUsageOutput) ElementType() reflect.Type

func (KeyUsageOutput) ToKeyUsageOutput

func (o KeyUsageOutput) ToKeyUsageOutput() KeyUsageOutput

func (KeyUsageOutput) ToKeyUsageOutputWithContext

func (o KeyUsageOutput) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageOutput

func (KeyUsageOutput) ToKeyUsagePtrOutput

func (o KeyUsageOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput

func (KeyUsageOutput) ToKeyUsagePtrOutputWithContext

func (o KeyUsageOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput

func (KeyUsageOutput) ToStringOutput

func (o KeyUsageOutput) ToStringOutput() pulumi.StringOutput

func (KeyUsageOutput) ToStringOutputWithContext

func (o KeyUsageOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (KeyUsageOutput) ToStringPtrOutput

func (o KeyUsageOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyUsageOutput) ToStringPtrOutputWithContext

func (o KeyUsageOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type KeyUsagePtrInput

type KeyUsagePtrInput interface {
	pulumi.Input

	ToKeyUsagePtrOutput() KeyUsagePtrOutput
	ToKeyUsagePtrOutputWithContext(context.Context) KeyUsagePtrOutput
}

func KeyUsagePtr

func KeyUsagePtr(v string) KeyUsagePtrInput

type KeyUsagePtrOutput

type KeyUsagePtrOutput struct{ *pulumi.OutputState }

func (KeyUsagePtrOutput) Elem

func (KeyUsagePtrOutput) ElementType

func (KeyUsagePtrOutput) ElementType() reflect.Type

func (KeyUsagePtrOutput) ToKeyUsagePtrOutput

func (o KeyUsagePtrOutput) ToKeyUsagePtrOutput() KeyUsagePtrOutput

func (KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext

func (o KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyUsagePtrOutput

func (KeyUsagePtrOutput) ToStringPtrOutput

func (o KeyUsagePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (KeyUsagePtrOutput) ToStringPtrOutputWithContext

func (o KeyUsagePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LookupAliasArgs

type LookupAliasArgs struct {
	// A friendly name that you can use to refer to a key. The value must begin with `alias/` .
	//
	// > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
	AliasName string `pulumi:"aliasName"`
}

type LookupAliasOutputArgs

type LookupAliasOutputArgs struct {
	// A friendly name that you can use to refer to a key. The value must begin with `alias/` .
	//
	// > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output.
	AliasName pulumi.StringInput `pulumi:"aliasName"`
}

func (LookupAliasOutputArgs) ElementType

func (LookupAliasOutputArgs) ElementType() reflect.Type

type LookupAliasResult

type LookupAliasResult struct {
	// The `KeyARN` of the key associated with the alias.
	KeyArn *string `pulumi:"keyArn"`
}

func LookupAlias

func LookupAlias(ctx *pulumi.Context, args *LookupAliasArgs, opts ...pulumi.InvokeOption) (*LookupAliasResult, error)

Definition of AWS::PaymentCryptography::Alias Resource Type

type LookupAliasResultOutput

type LookupAliasResultOutput struct{ *pulumi.OutputState }

func (LookupAliasResultOutput) ElementType

func (LookupAliasResultOutput) ElementType() reflect.Type

func (LookupAliasResultOutput) KeyArn

The `KeyARN` of the key associated with the alias.

func (LookupAliasResultOutput) ToLookupAliasResultOutput

func (o LookupAliasResultOutput) ToLookupAliasResultOutput() LookupAliasResultOutput

func (LookupAliasResultOutput) ToLookupAliasResultOutputWithContext

func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx context.Context) LookupAliasResultOutput

type LookupKeyArgs

type LookupKeyArgs struct {
	KeyIdentifier string `pulumi:"keyIdentifier"`
}

type LookupKeyOutputArgs

type LookupKeyOutputArgs struct {
	KeyIdentifier pulumi.StringInput `pulumi:"keyIdentifier"`
}

func (LookupKeyOutputArgs) ElementType

func (LookupKeyOutputArgs) ElementType() reflect.Type

type LookupKeyResult

type LookupKeyResult struct {
	// Specifies whether the key is enabled.
	Enabled *bool `pulumi:"enabled"`
	// Specifies whether the key is exportable. This data is immutable after the key is created.
	Exportable *bool `pulumi:"exportable"`
	// The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
	KeyAttributes *KeyAttributes `pulumi:"keyAttributes"`
	// The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
	//
	// For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
	KeyCheckValueAlgorithm *KeyCheckValueAlgorithm `pulumi:"keyCheckValueAlgorithm"`
	KeyIdentifier          *string                 `pulumi:"keyIdentifier"`
	// The source of the key material. For keys created within AWS Payment Cryptography, the value is `AWS_PAYMENT_CRYPTOGRAPHY` . For keys imported into AWS Payment Cryptography, the value is `EXTERNAL` .
	KeyOrigin *KeyOrigin `pulumi:"keyOrigin"`
	// The state of key that is being created or deleted.
	KeyState *KeyStateEnum `pulumi:"keyState"`
	Tags     []aws.Tag     `pulumi:"tags"`
}

func LookupKey

func LookupKey(ctx *pulumi.Context, args *LookupKeyArgs, opts ...pulumi.InvokeOption) (*LookupKeyResult, error)

Definition of AWS::PaymentCryptography::Key Resource Type

type LookupKeyResultOutput

type LookupKeyResultOutput struct{ *pulumi.OutputState }

func (LookupKeyResultOutput) ElementType

func (LookupKeyResultOutput) ElementType() reflect.Type

func (LookupKeyResultOutput) Enabled

Specifies whether the key is enabled.

func (LookupKeyResultOutput) Exportable

Specifies whether the key is exportable. This data is immutable after the key is created.

func (LookupKeyResultOutput) KeyAttributes

The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.

func (LookupKeyResultOutput) KeyCheckValueAlgorithm

func (o LookupKeyResultOutput) KeyCheckValueAlgorithm() KeyCheckValueAlgorithmPtrOutput

The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.

For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

func (LookupKeyResultOutput) KeyIdentifier

func (o LookupKeyResultOutput) KeyIdentifier() pulumi.StringPtrOutput

func (LookupKeyResultOutput) KeyOrigin

The source of the key material. For keys created within AWS Payment Cryptography, the value is `AWS_PAYMENT_CRYPTOGRAPHY` . For keys imported into AWS Payment Cryptography, the value is `EXTERNAL` .

func (LookupKeyResultOutput) KeyState

The state of key that is being created or deleted.

func (LookupKeyResultOutput) Tags

func (LookupKeyResultOutput) ToLookupKeyResultOutput

func (o LookupKeyResultOutput) ToLookupKeyResultOutput() LookupKeyResultOutput

func (LookupKeyResultOutput) ToLookupKeyResultOutputWithContext

func (o LookupKeyResultOutput) ToLookupKeyResultOutputWithContext(ctx context.Context) LookupKeyResultOutput

Jump to

Keyboard shortcuts

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