Class ReplicaRegion
- Namespace
- Amazon.CDK.AWS.SecretsManager
- Assembly
- Amazon.CDK.AWS.SecretsManager.dll
Secret replica region.
public class ReplicaRegion : IReplicaRegion
- Inheritance
-
ReplicaRegion
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KMS;
using Amazon.CDK.AWS.SecretsManager;
Key key;
var replicaRegion = new ReplicaRegion {
Region = "region",
// the properties below are optional
EncryptionKey = key
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
ReplicaRegion()
public ReplicaRegion()
Properties
EncryptionKey
The customer-managed encryption key to use for encrypting the secret value.
public IKey? EncryptionKey { get; set; }
Property Value
- IKey
Remarks
Default: - A default KMS key for the account and region is used.
Region
The name of the region.
public string Region { get; set; }