Class: AWSCDK::S3::CfnBucket::SourceSelectionCriteriaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnBucket::SourceSelectionCriteriaProperty
- Defined in:
- s3/cfn_bucket.rb
Overview
A container that describes additional filters for identifying the source objects that you want to replicate.
You can choose to enable or disable the replication of these objects.
Instance Attribute Summary collapse
-
#replica_modifications ⇒ AWSCDK::IResolvable, ...
readonly
A filter that you can specify for selection for modifications on replicas.
-
#sse_kms_encrypted_objects ⇒ AWSCDK::IResolvable, ...
readonly
A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(replica_modifications: nil, sse_kms_encrypted_objects: nil) ⇒ SourceSelectionCriteriaProperty
constructor
A new instance of SourceSelectionCriteriaProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(replica_modifications: nil, sse_kms_encrypted_objects: nil) ⇒ SourceSelectionCriteriaProperty
Returns a new instance of SourceSelectionCriteriaProperty.
4366 4367 4368 4369 4370 4371 |
# File 's3/cfn_bucket.rb', line 4366 def initialize(replica_modifications: nil, sse_kms_encrypted_objects: nil) @replica_modifications = replica_modifications.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::ReplicaModificationsProperty.new(**replica_modifications.transform_keys(&:to_sym)) : replica_modifications Jsii::Type.check_type(@replica_modifications, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuUmVwbGljYU1vZGlmaWNhdGlvbnNQcm9wZXJ0eSJ9XX19")), "replicaModifications") unless @replica_modifications.nil? @sse_kms_encrypted_objects = sse_kms_encrypted_objects.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::SseKMSEncryptedObjectsProperty.new(**sse_kms_encrypted_objects.transform_keys(&:to_sym)) : sse_kms_encrypted_objects Jsii::Type.check_type(@sse_kms_encrypted_objects, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuU3NlS21zRW5jcnlwdGVkT2JqZWN0c1Byb3BlcnR5In1dfX0=")), "sseKmsEncryptedObjects") unless @sse_kms_encrypted_objects.nil? end |
Instance Attribute Details
#replica_modifications ⇒ AWSCDK::IResolvable, ... (readonly)
A filter that you can specify for selection for modifications on replicas.
4377 4378 4379 |
# File 's3/cfn_bucket.rb', line 4377 def replica_modifications @replica_modifications end |
#sse_kms_encrypted_objects ⇒ AWSCDK::IResolvable, ... (readonly)
A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS.
4382 4383 4384 |
# File 's3/cfn_bucket.rb', line 4382 def sse_kms_encrypted_objects @sse_kms_encrypted_objects end |
Class Method Details
.jsii_properties ⇒ Object
4384 4385 4386 4387 4388 4389 |
# File 's3/cfn_bucket.rb', line 4384 def self.jsii_properties { :replica_modifications => "replicaModifications", :sse_kms_encrypted_objects => "sseKmsEncryptedObjects", } end |
Instance Method Details
#to_jsii ⇒ Object
4391 4392 4393 4394 4395 4396 4397 4398 |
# File 's3/cfn_bucket.rb', line 4391 def to_jsii result = {} result.merge!({ "replicaModifications" => @replica_modifications, "sseKmsEncryptedObjects" => @sse_kms_encrypted_objects, }) result.compact end |