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 CmkSecretConfig or CustomSecretConfig to provide credentials for a CreateLocation request. 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: