# AWS::PaymentCryptography Construct Library

---

![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib

---

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as paymentcryptography from 'aws-cdk-lib/aws-paymentcryptography';
```

Python:

```python
import aws_cdk.aws_paymentcryptography as paymentcryptography
```

Java:

```java
import software.amazon.awscdk.services.paymentcryptography.*;
```

C#:

```csharp
using Amazon.CDK.AWS.PaymentCryptography;
```

Go:

```go
import paymentcryptography "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for PaymentCryptography construct libraries](https://constructs.dev/search?q=paymentcryptography)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::PaymentCryptography resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PaymentCryptography.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::PaymentCryptography](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PaymentCryptography.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnAlias`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnAlias.html) Construct (L1) Creates an *alias* , or a friendly name, for an AWS Payment Cryptography key.
- [`CfnKey`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnKey.html) Construct (L1) Creates an AWS Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and AWS Region .

### Structs

- [`CfnAliasProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnAliasProps.html) Struct Properties for defining a `CfnAlias`.
- [`CfnKey.KeyAttributesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnKey.KeyAttributesProperty.html) Struct The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
- [`CfnKey.KeyModesOfUseProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnKey.KeyModesOfUseProperty.html) Struct The list of cryptographic operations that you can perform using the key.
- [`CfnKey.ReplicationStatusTypeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnKey.ReplicationStatusTypeProperty.html) Struct Represents the replication status information for a key in a replication region for [Multi-Region key replication](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html) .
- [`CfnKeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_paymentcryptography.CfnKeyProps.html) Struct Properties for defining a `CfnKey`.
