Class: AWSCDK::SMSVoice::CfnConfigurationSet::KinesisFirehoseDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnConfigurationSet::KinesisFirehoseDestinationProperty
- Defined in:
- sms_voice/cfn_configuration_set.rb
Overview
Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the AWS Identity and Access Management (IAM) role associated with a Firehose event destination.
Event destinations, such as Firehose, are associated with configuration sets, which enable you to publish message sending events.
Instance Attribute Summary collapse
-
#delivery_stream_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the delivery stream.
-
#iam_role_arn ⇒ String
readonly
The ARN of an AWS Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.
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.
747 748 749 750 751 752 |
# File 'sms_voice/cfn_configuration_set.rb', line 747 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 Amazon Resource Name (ARN) of the delivery stream.
758 759 760 |
# File 'sms_voice/cfn_configuration_set.rb', line 758 def delivery_stream_arn @delivery_stream_arn end |
#iam_role_arn ⇒ String (readonly)
The ARN of an AWS Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.
763 764 765 |
# File 'sms_voice/cfn_configuration_set.rb', line 763 def iam_role_arn @iam_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
765 766 767 768 769 770 |
# File 'sms_voice/cfn_configuration_set.rb', line 765 def self.jsii_properties { :delivery_stream_arn => "deliveryStreamArn", :iam_role_arn => "iamRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
772 773 774 775 776 777 778 779 |
# File 'sms_voice/cfn_configuration_set.rb', line 772 def to_jsii result = {} result.merge!({ "deliveryStreamArn" => @delivery_stream_arn, "iamRoleArn" => @iam_role_arn, }) result.compact end |