Class: AWSCDK::SMSVoice::CfnConfigurationSet::KinesisFirehoseDestinationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(delivery_stream_arn:, iam_role_arn:) ⇒ KinesisFirehoseDestinationProperty

Returns a new instance of KinesisFirehoseDestinationProperty.

Parameters:

  • delivery_stream_arn (String)

    The Amazon Resource Name (ARN) of the delivery stream.

  • iam_role_arn (String)

    The ARN of an AWS Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.



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_arnString (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_arnString (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_propertiesObject



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_jsiiObject



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