Class: AWSCDK::IoTFleetWise::CfnCampaign::TimestreamConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_fleet_wise/cfn_campaign.rb

Overview

The Amazon Timestream table where the AWS IoT FleetWise campaign sends data.

Timestream stores and organizes data to optimize query processing time and to reduce storage costs. For more information, see Data modeling in the Amazon Timestream Developer Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(execution_role_arn:, timestream_table_arn:) ⇒ TimestreamConfigProperty

Returns a new instance of TimestreamConfigProperty.

Parameters:

  • execution_role_arn (String)

    The Amazon Resource Name (ARN) of the task execution role that grants AWS IoT FleetWise permission to deliver data to the Amazon Timestream table.

  • timestream_table_arn (String)

    The Amazon Resource Name (ARN) of the Amazon Timestream table.



1656
1657
1658
1659
1660
1661
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1656

def initialize(execution_role_arn:, timestream_table_arn:)
  @execution_role_arn = execution_role_arn
  Jsii::Type.check_type(@execution_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "executionRoleArn")
  @timestream_table_arn = timestream_table_arn
  Jsii::Type.check_type(@timestream_table_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timestreamTableArn")
end

Instance Attribute Details

#execution_role_arnString (readonly)

The Amazon Resource Name (ARN) of the task execution role that grants AWS IoT FleetWise permission to deliver data to the Amazon Timestream table.



1667
1668
1669
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1667

def execution_role_arn
  @execution_role_arn
end

#timestream_table_arnString (readonly)

The Amazon Resource Name (ARN) of the Amazon Timestream table.



1672
1673
1674
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1672

def timestream_table_arn
  @timestream_table_arn
end

Class Method Details

.jsii_propertiesObject



1674
1675
1676
1677
1678
1679
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1674

def self.jsii_properties
  {
    :execution_role_arn => "executionRoleArn",
    :timestream_table_arn => "timestreamTableArn",
  }
end

Instance Method Details

#to_jsiiObject



1681
1682
1683
1684
1685
1686
1687
1688
# File 'io_t_fleet_wise/cfn_campaign.rb', line 1681

def to_jsii
  result = {}
  result.merge!({
    "executionRoleArn" => @execution_role_arn,
    "timestreamTableArn" => @timestream_table_arn,
  })
  result.compact
end