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
orCustomSecretConfig
to provide credentials for aCreateLocation
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationObjectStorage.CmkSecretConfigProperty
static final class
An implementation forCfnLocationObjectStorage.CmkSecretConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn
.default String
Specifies 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
-
getKmsKeyArn
Specifies 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:
-
getSecretArn
Specifies 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
-