Interface CfnLocationObjectStorage.CmkSecretConfigProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnLocationObjectStorage.CmkSecretConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnLocationObjectStorage
@Stability(Stable)
public static interface CfnLocationObjectStorage.CmkSecretConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed AWS KMS key .
 
You can use either
CmkSecretConfigorCustomSecretConfigto provide credentials for aCreateLocationrequest. Do not provide both parameters for the same request.
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.datasync.*;
 CmkSecretConfigProperty cmkSecretConfigProperty = CmkSecretConfigProperty.builder()
         .kmsKeyArn("kmsKeyArn")
         .secretArn("secretArn")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLocationObjectStorage.CmkSecretConfigPropertystatic final classAn implementation forCfnLocationObjectStorage.CmkSecretConfigProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringSpecifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn.default StringSpecifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getKmsKeyArnSpecifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn.DataSync provides this key to AWS Secrets Manager . - See Also:
 
- 
getSecretArnSpecifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location.This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn.- See Also:
 
- 
builder
 
-