Interface CfnSecret.IReplicaRegionProperty
Specifies a Region
and the KmsKeyId
for a replica secret.
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.AWS.SecretsManager.dll
Syntax (csharp)
public interface IReplicaRegionProperty
Syntax (vb)
Public Interface 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
Properties
KmsKeyId | The ARN, key ID, or alias of the KMS key to encrypt the secret. |
Region | (Optional) A string that represents a |
Properties
KmsKeyId
The ARN, key ID, or alias of the KMS key to encrypt the secret.
virtual string KmsKeyId { get; }
Property Value
System.String
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".
string Region { get; }
Property Value
System.String