Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::KMSEncryptionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::KMSEncryptionConfigProperty
- Defined in:
- kinesis_firehose/cfn_delivery_stream.rb
Overview
The KMSEncryptionConfig property type specifies the AWS Key Management Service ( AWS KMS) encryption key that Amazon Simple Storage Service (Amazon S3) uses to encrypt data delivered by the Amazon Kinesis Data Firehose (Kinesis Data Firehose) stream.
Instance Attribute Summary collapse
-
#awskms_key_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(awskms_key_arn:) ⇒ KMSEncryptionConfigProperty
constructor
A new instance of KMSEncryptionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(awskms_key_arn:) ⇒ KMSEncryptionConfigProperty
Returns a new instance of KMSEncryptionConfigProperty.
3223 3224 3225 3226 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3223 def initialize(awskms_key_arn:) @awskms_key_arn = awskms_key_arn Jsii::Type.check_type(@awskms_key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awskmsKeyArn") end |
Instance Attribute Details
#awskms_key_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream.
The key must belong to the same region as the destination S3 bucket.
3234 3235 3236 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3234 def awskms_key_arn @awskms_key_arn end |
Class Method Details
.jsii_properties ⇒ Object
3236 3237 3238 3239 3240 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3236 def self.jsii_properties { :awskms_key_arn => "awskmsKeyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
3242 3243 3244 3245 3246 3247 3248 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3242 def to_jsii result = {} result.merge!({ "awskmsKeyArn" => @awskms_key_arn, }) result.compact end |