interface AccessControlTranslationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.AccessControlTranslationProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.AccessControlTranslationProperty |
Python | aws_cdk.aws_s3.CfnBucket.AccessControlTranslationProperty |
TypeScript | @aws-cdk/aws-s3 » CfnBucket » AccessControlTranslationProperty |
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket.
If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
const accessControlTranslationProperty: s3.CfnBucket.AccessControlTranslationProperty = {
owner: 'owner',
};
Properties
Name | Type | Description |
---|---|---|
owner | string | Specifies the replica ownership. |
owner
Type:
string
Specifies the replica ownership.
For default and valid values, see PUT bucket replication in the Amazon S3 API Reference .