Class ReplicationRule.Jsii$Proxy
- All Implemented Interfaces:
ReplicationRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ReplicationRule
ReplicationRule-
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.ReplicationRule
ReplicationRule.Builder, ReplicationRule.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ReplicationRule.Builder builder) Constructor that initializes the object based on literal property values passed by theReplicationRule.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 BooleanWhether to want to change replica ownership to the AWS account that owns the destination bucket.final BooleanSpecifies whether Amazon S3 replicates delete markers.final IBucketThe destination bucket for the replicated objects.final FilterA filter that identifies the subset of objects to which the replication rule applies.final StringgetId()A unique identifier for the rule.final IKeyThe customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket.final ReplicationTimeValueA container specifying replication metrics-related settings enabling replication metrics and events.final NumberThe priority indicates which rule has precedence whenever two or more replication rules conflict.final BooleanSpecifies whether Amazon S3 replicates modifications on replicas.final ReplicationTimeValueSpecifying 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 BooleanSpecifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.final StorageClassThe 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 theReplicationRule.Builder.
-
-
Method Details
-
getDestination
Description copied from interface:ReplicationRuleThe destination bucket for the replicated objects.The destination can be either in the same AWS account or a cross account.
If you want to configure cross-account replication, the destination bucket must have a policy that allows the source bucket to replicate objects to it.
- Specified by:
getDestinationin interfaceReplicationRule- See Also:
-
getAccessControlTransition
Description copied from interface:ReplicationRuleWhether to want to change replica ownership to the AWS account that owns the destination bucket.This can only be specified if the source bucket and the destination bucket are not in the same AWS account.
Default: - The replicas are owned by same AWS account that owns the source object
- Specified by:
getAccessControlTransitionin interfaceReplicationRule
-
getDeleteMarkerReplication
Description copied from interface:ReplicationRuleSpecifies whether Amazon S3 replicates delete markers.Default: - delete markers in source bucket is not replicated to destination bucket
- Specified by:
getDeleteMarkerReplicationin interfaceReplicationRule- See Also:
-
getFilter
Description copied from interface:ReplicationRuleA filter that identifies the subset of objects to which the replication rule applies.Default: - applies to all objects
- Specified by:
getFilterin interfaceReplicationRule
-
getId
Description copied from interface:ReplicationRuleA unique identifier for the rule.The maximum value is 255 characters.
Default: - auto generated random ID
- Specified by:
getIdin interfaceReplicationRule
-
getKmsKey
Description copied from interface:ReplicationRuleThe customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket.Amazon S3 uses this key to encrypt replica objects.
Amazon S3 only supports symmetric encryption KMS keys.
Default: - Amazon S3 uses the AWS managed KMS key for encryption
- Specified by:
getKmsKeyin interfaceReplicationRule- See Also:
-
getMetrics
Description copied from interface:ReplicationRuleA container specifying replication metrics-related settings enabling replication metrics and events.When a value is set, metrics will be output to indicate whether the replication took longer than the specified time.
Default: - Replication metrics are not enabled
- Specified by:
getMetricsin interfaceReplicationRule
-
getPriority
Description copied from interface:ReplicationRuleThe priority indicates which rule has precedence whenever two or more replication rules conflict.Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority.
The higher the number, the higher the priority.
It is essential to specify priority explicitly when the replication configuration has multiple rules.
Default: 0
- Specified by:
getPriorityin interfaceReplicationRule
-
getReplicaModifications
Description copied from interface:ReplicationRuleSpecifies whether Amazon S3 replicates modifications on replicas.Default: false
- Specified by:
getReplicaModificationsin interfaceReplicationRule
-
getReplicationTimeControl
Description copied from interface:ReplicationRuleSpecifying 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.Default: - S3 Replication Time Control is not enabled
- Specified by:
getReplicationTimeControlin interfaceReplicationRule
-
getSseKmsEncryptedObjects
Description copied from interface:ReplicationRuleSpecifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.Default: false
- Specified by:
getSseKmsEncryptedObjectsin interfaceReplicationRule
-
getStorageClass
Description copied from interface:ReplicationRuleThe storage class to use when replicating objects, such as S3 Standard or reduced redundancy.Default: - The storage class of the source object
- Specified by:
getStorageClassin interfaceReplicationRule
-
$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()
-