Class: AWSCDK::IoTAnalytics::CfnDataset::IotEventsDestinationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_dataset.rb

Overview

Configuration information for delivery of dataset contents to AWS IoT Events .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_name:, role_arn:) ⇒ IotEventsDestinationConfigurationProperty

Returns a new instance of IotEventsDestinationConfigurationProperty.

Parameters:

  • input_name (String)

    The name of the AWS IoT Events input to which dataset contents are delivered.

  • role_arn (String)

    The ARN of the role that grants ITA permission to deliver dataset contents to an AWS IoT Events input.



1033
1034
1035
1036
1037
1038
# File 'io_t_analytics/cfn_dataset.rb', line 1033

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

Instance Attribute Details

#input_nameString (readonly)

The name of the AWS IoT Events input to which dataset contents are delivered.



1044
1045
1046
# File 'io_t_analytics/cfn_dataset.rb', line 1044

def input_name
  @input_name
end

#role_arnString (readonly)

The ARN of the role that grants ITA permission to deliver dataset contents to an AWS IoT Events input.



1049
1050
1051
# File 'io_t_analytics/cfn_dataset.rb', line 1049

def role_arn
  @role_arn
end

Class Method Details

.jsii_propertiesObject



1051
1052
1053
1054
1055
1056
# File 'io_t_analytics/cfn_dataset.rb', line 1051

def self.jsii_properties
  {
    :input_name => "inputName",
    :role_arn => "roleArn",
  }
end

Instance Method Details

#to_jsiiObject



1058
1059
1060
1061
1062
1063
1064
1065
# File 'io_t_analytics/cfn_dataset.rb', line 1058

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