Class CfnSecret.ReplicaRegionProperty
Specifies a Region
and the KmsKeyId
for a replica secret.
Inheritance
System.Object
CfnSecret.ReplicaRegionProperty
Implements
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReplicaRegionProperty : Object, CfnSecret.IReplicaRegionProperty
Syntax (vb)
Public Class ReplicaRegionProperty
Inherits Object
Implements CfnSecret.IReplicaRegionProperty
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Constructors
ReplicaRegionProperty() |
Properties
KmsKeyId | The ARN, key ID, or alias of the KMS key to encrypt the secret. |
Region | A string that represents a |
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
System.String
Remarks
If you don't include this field, Secrets Manager uses aws/secretsmanager
.
Region
A string that represents a Region
, for example "us-east-1".
public string Region { get; set; }
Property Value
System.String