Interface CfnBucket.AccessControlTranslationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.AccessControlTranslationProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.AccessControlTranslationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.s3.*; AccessControlTranslationProperty accessControlTranslationProperty = AccessControlTranslationProperty.builder() .owner("owner") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.AccessControlTranslationProperty
static final class
An implementation forCfnBucket.AccessControlTranslationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOwner
Specifies the replica ownership.For default and valid values, see PUT bucket replication in the Amazon S3 API Reference .
- See Also:
-
builder
-