interface S3ConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DataSync.CfnLocationS3.S3ConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnLocationS3_S3ConfigProperty |
Java | software.amazon.awscdk.services.datasync.CfnLocationS3.S3ConfigProperty |
Python | aws_cdk.aws_datasync.CfnLocationS3.S3ConfigProperty |
TypeScript | aws-cdk-lib » aws_datasync » CfnLocationS3 » S3ConfigProperty |
Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets .
Example
// 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 s3ConfigProperty: datasync.CfnLocationS3.S3ConfigProperty = {
bucketAccessRoleArn: 'bucketAccessRoleArn',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket. |
bucketAccessRoleArn
Type:
string
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.