aws-cdk-lib.aws_datasync.CfnLocationS3.S3ConfigProperty

interface S3ConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.DataSync.CfnLocationS3.S3ConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnLocationS3_S3ConfigProperty
Javasoftware.amazon.awscdk.services.datasync.CfnLocationS3.S3ConfigProperty
Pythonaws_cdk.aws_datasync.CfnLocationS3.S3ConfigProperty
TypeScript aws-cdk-lib » aws_datasync » CfnLocationS3 » S3ConfigProperty

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .

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

NameTypeDescription
bucketAccessRoleArnstringThe ARN of the IAM role for accessing the S3 bucket.

bucketAccessRoleArn

Type: string

The ARN of the IAM role for accessing the S3 bucket.