Class: AWSCDK::KinesisAnalytics::CfnApplicationOutput::KinesisFirehoseOutputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_output.rb

Overview

When configuring application output, identifies an Amazon Kinesis Firehose delivery stream as the destination.

You provide the stream Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write to the stream on your behalf.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_arn:, role_arn:) ⇒ KinesisFirehoseOutputProperty

Returns a new instance of KinesisFirehoseOutputProperty.

Parameters:

  • resource_arn (String)

    ARN of the destination Amazon Kinesis Firehose delivery stream to write to.

  • role_arn (String)

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.



560
561
562
563
564
565
# File 'kinesis_analytics/cfn_application_output.rb', line 560

def initialize(resource_arn:, role_arn:)
  @resource_arn = resource_arn
  Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn")
  @role_arn = role_arn
  Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn")
end

Instance Attribute Details

#resource_arnString (readonly)

ARN of the destination Amazon Kinesis Firehose delivery stream to write to.



571
572
573
# File 'kinesis_analytics/cfn_application_output.rb', line 571

def resource_arn
  @resource_arn
end

#role_arnString (readonly)

ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.

You need to grant the necessary permissions to this role.



578
579
580
# File 'kinesis_analytics/cfn_application_output.rb', line 578

def role_arn
  @role_arn
end

Class Method Details

.jsii_propertiesObject



580
581
582
583
584
585
# File 'kinesis_analytics/cfn_application_output.rb', line 580

def self.jsii_properties
  {
    :resource_arn => "resourceArn",
    :role_arn => "roleArn",
  }
end

Instance Method Details

#to_jsiiObject



587
588
589
590
591
592
593
594
# File 'kinesis_analytics/cfn_application_output.rb', line 587

def to_jsii
  result = {}
  result.merge!({
    "resourceArn" => @resource_arn,
    "roleArn" => @role_arn,
  })
  result.compact
end