ReplicaRegion
- class aws_cdk.aws_secretsmanager.ReplicaRegion(*, region, encryption_key=None)
Bases:
object
Secret replica region.
- Parameters:
region (
str
) – The name of the region.encryption_key (
Optional
[IKey
]) – The customer-managed encryption key to use for encrypting the secret value. Default: - A default KMS key for the account and region is used.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_kms as kms import aws_cdk.aws_secretsmanager as secretsmanager # key: kms.Key replica_region = secretsmanager.ReplicaRegion( region="region", # the properties below are optional encryption_key=key )
Attributes
- encryption_key
The customer-managed encryption key to use for encrypting the secret value.
- Default:
A default KMS key for the account and region is used.
- region
The name of the region.