interface ReplicaRegionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SecretsManager.CfnSecret.ReplicaRegionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#CfnSecret_ReplicaRegionProperty |
Java | software.amazon.awscdk.services.secretsmanager.CfnSecret.ReplicaRegionProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
region | string | A string that represents a Region , for example "us-east-1". |
kms | string | The ARN, key ID, or alias of the KMS key to encrypt the secret. |
region
Type:
string
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
.