Skip to content
v2.274.0

CustomSecretConfigProperty Struct ​

Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const customSecretConfigProperty: datasync.CfnLocationHDFS.CustomSecretConfigProperty = {
  secretAccessRoleArn: 'secretAccessRoleArn',
  secretArn: 'secretArn',
};

Properties ​

secretAccessRoleArnstringsecret_access_role_arnstrsecretAccessRoleArnStringSecretAccessRoleArnstringSecretAccessRoleArn*stringrequired#
Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
secretArnstringsecret_arnstrsecretArnStringSecretArnstringSecretArn*stringrequired#
Specifies the ARN for a customer created AWS Secrets Manager secret.