Class: AWSCDK::SES::CfnConfigurationSetEventDestination::KinesisFirehoseDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSetEventDestination::KinesisFirehoseDestinationProperty
- Defined in:
- ses/cfn_configuration_set_event_destination.rb
Overview
An object that defines an Amazon Kinesis Data Firehose destination for email events.
You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
Instance Attribute Summary collapse
-
#delivery_stream_arn ⇒ String
readonly
The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.
-
#iam_role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(delivery_stream_arn:, iam_role_arn:) ⇒ KinesisFirehoseDestinationProperty
constructor
A new instance of KinesisFirehoseDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(delivery_stream_arn:, iam_role_arn:) ⇒ KinesisFirehoseDestinationProperty
Returns a new instance of KinesisFirehoseDestinationProperty.
773 774 775 776 777 778 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 773 def initialize(delivery_stream_arn:, iam_role_arn:) @delivery_stream_arn = delivery_stream_arn Jsii::Type.check_type(@delivery_stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deliveryStreamArn") @iam_role_arn = iam_role_arn Jsii::Type.check_type(@iam_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "iamRoleArn") end |
Instance Attribute Details
#delivery_stream_arn ⇒ String (readonly)
The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.
784 785 786 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 784 def delivery_stream_arn @delivery_stream_arn end |
#iam_role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
789 790 791 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 789 def iam_role_arn @iam_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
791 792 793 794 795 796 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 791 def self.jsii_properties { :delivery_stream_arn => "deliveryStreamArn", :iam_role_arn => "iamRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
798 799 800 801 802 803 804 805 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 798 def to_jsii result = {} result.merge!({ "deliveryStreamArn" => @delivery_stream_arn, "iamRoleArn" => @iam_role_arn, }) result.compact end |