aws-cdk-lib.aws_datasync.CfnLocationS3.S3ConfigProperty
interface S3ConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DataSync.CfnLocationS3.S3ConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnLocationS3_S3ConfigProperty |
![]() | software.amazon.awscdk.services.datasync.CfnLocationS3.S3ConfigProperty |
![]() | aws_cdk.aws_datasync.CfnLocationS3.S3ConfigProperty |
![]() | 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
Name | Type | Description |
---|---|---|
bucket | string | The ARN of the IAM role for accessing the S3 bucket. |
bucketAccessRoleArn
Type:
string
The ARN of the IAM role for accessing the S3 bucket.