# ReplicationStatusTypeProperty

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

This structure contains details about the current state of key replication, including any status messages and operational information about the replication process.

- Source: Generated at build time
- Type last changed: v2.277.0 · 13 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_paymentcryptography as paymentcryptography } from 'aws-cdk-lib';
const replicationStatusTypeProperty: paymentcryptography.CfnKey.ReplicationStatusTypeProperty = {
  status: 'status',

  // the properties below are optional
  kmsEncryptionKeyArn: 'kmsEncryptionKeyArn',
  kmsEncryptionKeyId: 'kmsEncryptionKeyId',
  statusMessage: 'statusMessage',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_paymentcryptography as paymentcryptography

replication_status_type_property = paymentcryptography.CfnKey.ReplicationStatusTypeProperty(
    status="status",

    # the properties below are optional
    kms_encryption_key_arn="kmsEncryptionKeyArn",
    kms_encryption_key_id="kmsEncryptionKeyId",
    status_message="statusMessage"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.paymentcryptography.*;

ReplicationStatusTypeProperty replicationStatusTypeProperty = ReplicationStatusTypeProperty.builder()
        .status("status")

        // the properties below are optional
        .kmsEncryptionKeyArn("kmsEncryptionKeyArn")
        .kmsEncryptionKeyId("kmsEncryptionKeyId")
        .statusMessage("statusMessage")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PaymentCryptography;

var replicationStatusTypeProperty = new ReplicationStatusTypeProperty {
    Status = "status",

    // the properties below are optional
    KmsEncryptionKeyArn = "kmsEncryptionKeyArn",
    KmsEncryptionKeyId = "kmsEncryptionKeyId",
    StatusMessage = "statusMessage"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

replicationStatusTypeProperty := &ReplicationStatusTypeProperty{
	Status: jsii.String("status"),

	// the properties below are optional
	KmsEncryptionKeyArn: jsii.String("kmsEncryptionKeyArn"),
	KmsEncryptionKeyId: jsii.String("kmsEncryptionKeyId"),
	StatusMessage: jsii.String("statusMessage"),
}
```

## Properties

- `kmsEncryptionKeyArn`: string — The ARN of the AWS KMS key that protects the replica in this region.

- `kmsEncryptionKeyId`: string — The AWS KMS key requested for this region, when replication failed before its ARN was known.

- `status`: string (required) — The current status of key replication in this AWS Region .

  This field indicates whether the key replication is in progress, completed successfully, or has encountered an error. Possible values include states such as `SYNCRHONIZED` , `IN_PROGRESS` , `DELETE_IN_PROGRESS` , or `FAILED` . This provides visibility into the replication process for monitoring and troubleshooting purposes.

- `statusMessage`: string — A message that provides additional information about the current replication status of the key.

  This field contains details about any issues or progress updates related to key replication operations. It may include information about replication failures, synchronization status, or other operational details.
