Class: AWSCDK::S3::CfnBucket::SseKMSEncryptedObjectsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3/cfn_bucket.rb

Overview

A container for filter information for the selection of S3 objects encrypted with AWS KMS.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:) ⇒ SseKMSEncryptedObjectsProperty

Returns a new instance of SseKMSEncryptedObjectsProperty.

Parameters:

  • status (String)

    Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.



4408
4409
4410
4411
# File 's3/cfn_bucket.rb', line 4408

def initialize(status:)
  @status = status
  Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status")
end

Instance Attribute Details

#statusString (readonly)

Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service.



4417
4418
4419
# File 's3/cfn_bucket.rb', line 4417

def status
  @status
end

Class Method Details

.jsii_propertiesObject



4419
4420
4421
4422
4423
# File 's3/cfn_bucket.rb', line 4419

def self.jsii_properties
  {
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



4425
4426
4427
4428
4429
4430
4431
# File 's3/cfn_bucket.rb', line 4425

def to_jsii
  result = {}
  result.merge!({
    "status" => @status,
  })
  result.compact
end