aws-cdk-lib.aws_secretsmanager.CfnSecret.ReplicaRegionProperty

interface ReplicaRegionProperty

LanguageType name
.NETAmazon.CDK.AWS.SecretsManager.CfnSecret.ReplicaRegionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#CfnSecret_ReplicaRegionProperty
Javasoftware.amazon.awscdk.services.secretsmanager.CfnSecret.ReplicaRegionProperty
Pythonaws_cdk.aws_secretsmanager.CfnSecret.ReplicaRegionProperty
TypeScript aws-cdk-lib » aws_secretsmanager » CfnSecret » ReplicaRegionProperty

Specifies a Region and the KmsKeyId for a replica secret.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';
const replicaRegionProperty: secretsmanager.CfnSecret.ReplicaRegionProperty = {
  region: 'region',

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};

Properties

NameTypeDescription
regionstring(Optional) A string that represents a Region , for example "us-east-1".
kmsKeyId?stringThe ARN, key ID, or alias of the KMS key to encrypt the secret.

region

Type: string

(Optional) A string that represents a Region , for example "us-east-1".


kmsKeyId?

Type: string (optional)

The ARN, key ID, or alias of the KMS key to encrypt the secret.

If you don't include this field, Secrets Manager uses aws/secretsmanager .