Class CfnSecret.ReplicaRegionProperty
- Namespace
- Amazon.CDK.AWS.SecretsManager
- Assembly
- Amazon.CDK.AWS.SecretsManager.dll
Specifies a Region and the KmsKeyId for a replica secret.
public class CfnSecret.ReplicaRegionProperty : CfnSecret.IReplicaRegionProperty
- Inheritance
-
CfnSecret.ReplicaRegionProperty
- 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.SecretsManager;
var replicaRegionProperty = new ReplicaRegionProperty {
Region = "region",
// the properties below are optional
KmsKeyId = "kmsKeyId"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
ReplicaRegionProperty()
public ReplicaRegionProperty()
Properties
KmsKeyId
The ARN, key ID, or alias of the KMS key to encrypt the secret.
public string? KmsKeyId { get; set; }
Property Value
Remarks
If you don't include this field, Secrets Manager uses aws/secretsmanager .
Region
(Optional) A string that represents a Region , for example "us-east-1".
public string Region { get; set; }