KeyAliasArgs

data class KeyAliasArgs(val aliasName: Output<String>? = null, val keyArn: Output<String>? = null) : ConvertibleToJava<KeyAliasArgs>

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

Example Usage

Basic Usage

resources:
test:
type: aws:paymentcryptography:Key
properties:
exportable: true
keyAttributes:
- keyAlgorithm: TDES_3KEY
keyClass: SYMMETRIC_KEY
keyUsage: TR31_P0_PIN_ENCRYPTION_KEY
keyModesOfUse:
- decrypt: true
encrypt: true
wrap: true
unwrap: true
testKeyAlias:
type: aws:paymentcryptography:KeyAlias
name: test
properties:
aliasName: alias/test-alias
keyArn: ${test.arn}

Import

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

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

Constructors

Link copied to clipboard
constructor(aliasName: Output<String>? = null, keyArn: Output<String>? = null)

Properties

Link copied to clipboard
val aliasName: Output<String>? = null

Name of the Key Alias. The following arguments are optional:

Link copied to clipboard
val keyArn: Output<String>? = null

ARN of the key.

Functions

Link copied to clipboard
open override fun toJava(): KeyAliasArgs