Skip to content
v2.274.0

ReplicaRegion Struct ​

Secret replica region.

Example ​

ts
// 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 ​

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

Default: A default KMS key for the account and region is used.

regionstringregionstrregionStringRegionstringRegion*stringrequired#
The name of the region.