Class 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.
Inheritance
System.Object
CfnBucket.AccessControlTranslationProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AccessControlTranslationProperty : Object, CfnBucket.IAccessControlTranslationProperty
Syntax (vb)
Public Class AccessControlTranslationProperty
Inherits Object
Implements CfnBucket.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
Constructors
AccessControlTranslationProperty() |
Properties
Owner | Specifies the replica ownership. |
Constructors
AccessControlTranslationProperty()
public AccessControlTranslationProperty()
Properties
Owner
Specifies the replica ownership.
public string Owner { get; set; }
Property Value
System.String
Remarks
For default and valid values, see PUT bucket replication in the Amazon S3 API Reference .