Interface CfnBucket.IAccessControlTranslationProperty
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.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccessControlTranslationProperty
Syntax (vb)
Public Interface IAccessControlTranslationProperty
Remarks
If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var accessControlTranslationProperty = new AccessControlTranslationProperty {
Owner = "owner"
};
Synopsis
Properties
Owner | Specifies the replica ownership. |
Properties
Owner
Specifies the replica ownership.
string Owner { get; }
Property Value
System.String
Remarks
For default and valid values, see PUT bucket replication in the Amazon S3 API Reference .