Class CfnLocationFSxONTAPPropsMixin.CmkSecretConfigProperty
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DataSync
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLocationFSxONTAPPropsMixin.CmkSecretConfigProperty : CfnLocationFSxONTAPPropsMixin.ICmkSecretConfigProperty
Syntax (vb)
Public Class CfnLocationFSxONTAPPropsMixin.CmkSecretConfigProperty Implements CfnLocationFSxONTAPPropsMixin.ICmkSecretConfigProperty
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.CfnPropertyMixins.AWS.DataSync;
var cmkSecretConfigProperty = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
};
Synopsis
Constructors
| CmkSecretConfigProperty() | Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key. |
Properties
| KmsKeyArn | Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn. |
| SecretArn | Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync. |
Constructors
CmkSecretConfigProperty()
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
public CmkSecretConfigProperty()
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.CfnPropertyMixins.AWS.DataSync;
var cmkSecretConfigProperty = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
};
Properties
KmsKeyArn
Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn.
public string? KmsKeyArn { get; set; }
Property Value
Remarks
DataSync provides this key to AWS Secrets Manager.
SecretArn
Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
public string? SecretArn { get; set; }