aws-cdk-lib.aws_secretsmanager.ReplicaRegion

interface ReplicaRegion

LanguageType name
.NETAmazon.CDK.AWS.SecretsManager.ReplicaRegion
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#ReplicaRegion
Javasoftware.amazon.awscdk.services.secretsmanager.ReplicaRegion
Pythonaws_cdk.aws_secretsmanager.ReplicaRegion
TypeScript (source)aws-cdk-lib » aws_secretsmanager » ReplicaRegion

Secret replica region.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kms as kms } from 'aws-cdk-lib';
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';

declare const key: kms.Key;
const replicaRegion: secretsmanager.ReplicaRegion = {
  region: 'region',

  // the properties below are optional
  encryptionKey: key,
};

Properties

NameTypeDescription
regionstringThe name of the region.
encryptionKey?IKeyThe customer-managed encryption key to use for encrypting the secret value.

region

Type: string

The name of the region.


encryptionKey?

Type: IKey (optional, default: A default KMS key for the account and region is used.)

The customer-managed encryption key to use for encrypting the secret value.