Class: AWSCDK::S3::CfnStorageLens::SSEKMSProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnStorageLens::SSEKMSProperty
- Defined in:
- s3/cfn_storage_lens.rb
Overview
Specifies the use of server-side encryption using an AWS Key Management Service key (SSE-KMS) to encrypt the delivered S3 Storage Lens metrics export file.
Instance Attribute Summary collapse
-
#key_id ⇒ String
readonly
Specifies the Amazon Resource Name (ARN) of the customer managed AWS key to use for encrypting the S3 Storage Lens metrics export file.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_id:) ⇒ SSEKMSProperty
constructor
A new instance of SSEKMSProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_id:) ⇒ SSEKMSProperty
Returns a new instance of SSEKMSProperty.
1259 1260 1261 1262 |
# File 's3/cfn_storage_lens.rb', line 1259 def initialize(key_id:) @key_id = key_id Jsii::Type.check_type(@key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyId") end |
Instance Attribute Details
#key_id ⇒ String (readonly)
Specifies the Amazon Resource Name (ARN) of the customer managed AWS key to use for encrypting the S3 Storage Lens metrics export file.
Amazon S3 only supports symmetric encryption keys. For more information, see Special-purpose keys in the AWS Key Management Service Developer Guide .
1270 1271 1272 |
# File 's3/cfn_storage_lens.rb', line 1270 def key_id @key_id end |
Class Method Details
.jsii_properties ⇒ Object
1272 1273 1274 1275 1276 |
# File 's3/cfn_storage_lens.rb', line 1272 def self.jsii_properties { :key_id => "keyId", } end |
Instance Method Details
#to_jsii ⇒ Object
1278 1279 1280 1281 1282 1283 1284 |
# File 's3/cfn_storage_lens.rb', line 1278 def to_jsii result = {} result.merge!({ "keyId" => @key_id, }) result.compact end |