interface ReplicaRegion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SecretsManager.ReplicaRegion |
![]() | software.amazon.awscdk.services.secretsmanager.ReplicaRegion |
![]() | aws_cdk.aws_secretsmanager.ReplicaRegion |
![]() | @aws-cdk/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 * as kms from '@aws-cdk/aws-kms';
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
declare const key: kms.Key;
const replicaRegion: secretsmanager.ReplicaRegion = {
region: 'region',
// the properties below are optional
encryptionKey: key,
};
Properties
Name | Type | Description |
---|---|---|
region | string | The name of the region. |
encryption | IKey | The 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.