Class CfnBucket.ReplicationDestinationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.ReplicationDestinationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.ReplicationDestinationProperty
CfnBucket.ReplicationDestinationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.ReplicationDestinationProperty
CfnBucket.ReplicationDestinationProperty.Builder, CfnBucket.ReplicationDestinationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.ReplicationDestinationProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectSpecify 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.final StringDestination bucket owner account ID.final StringThe Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.final ObjectSpecifies encryption-related information.final ObjectA container specifying replication metrics-related settings enabling replication metrics and events.final ObjectA container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.final StringThe storage class to use when replicating objects, such as S3 Standard or reduced redundancy.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnBucket.ReplicationDestinationProperty.Builder.
-
-
Method Details
-
getBucket
Description copied from interface:CfnBucket.ReplicationDestinationPropertyThe Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.- Specified by:
getBucketin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getAccessControlTranslation
Description copied from interface:CfnBucket.ReplicationDestinationPropertySpecify 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.
Returns union: either
IResolvableorCfnBucket.AccessControlTranslationProperty- Specified by:
getAccessControlTranslationin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getAccount
Description copied from interface:CfnBucket.ReplicationDestinationPropertyDestination bucket owner account ID.In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS account that owns the destination bucket by specifying the
AccessControlTranslationproperty, this is the account ID of the destination bucket owner. For more information, see Cross-Region Replication Additional Configuration: Change Replica Owner in the Amazon S3 User Guide .If you specify the
AccessControlTranslationproperty, theAccountproperty is required.- Specified by:
getAccountin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getEncryptionConfiguration
Description copied from interface:CfnBucket.ReplicationDestinationPropertySpecifies encryption-related information.Returns union: either
IResolvableorCfnBucket.EncryptionConfigurationProperty- Specified by:
getEncryptionConfigurationin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getMetrics
Description copied from interface:CfnBucket.ReplicationDestinationPropertyA container specifying replication metrics-related settings enabling replication metrics and events.Returns union: either
IResolvableorCfnBucket.MetricsProperty- Specified by:
getMetricsin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getReplicationTime
Description copied from interface:CfnBucket.ReplicationDestinationPropertyA container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.Must be specified together with a
Metricsblock.Returns union: either
IResolvableorCfnBucket.ReplicationTimeProperty- Specified by:
getReplicationTimein interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
getStorageClass
Description copied from interface:CfnBucket.ReplicationDestinationPropertyThe storage class to use when replicating objects, such as S3 Standard or reduced redundancy.By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the
StorageClasselement of the PUT Bucket replication action in the Amazon S3 API Reference .FSX_OPENZFSis not an accepted value when replicating objects.- Specified by:
getStorageClassin interfaceCfnBucket.ReplicationDestinationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-