Class: AWSCDK::IoTFleetWise::CfnVehicle::StateTemplateAssociationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnVehicle::StateTemplateAssociationProperty
- Defined in:
- io_t_fleet_wise/cfn_vehicle.rb
Overview
The state template associated with a vehicle.
State templates contain state properties, which are signals that belong to a signal catalog that is synchronized between the AWS IoT FleetWise Edge and the AWS Cloud .
Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in the AWS IoT FleetWise Developer Guide .
Instance Attribute Summary collapse
-
#identifier ⇒ String
readonly
The unique ID of the state template.
- #state_template_update_strategy ⇒ AWSCDK::IResolvable, AWSCDK::IoTFleetWise::CfnVehicle::StateTemplateUpdateStrategyProperty readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(identifier:, state_template_update_strategy:) ⇒ StateTemplateAssociationProperty
constructor
A new instance of StateTemplateAssociationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(identifier:, state_template_update_strategy:) ⇒ StateTemplateAssociationProperty
Returns a new instance of StateTemplateAssociationProperty.
653 654 655 656 657 658 |
# File 'io_t_fleet_wise/cfn_vehicle.rb', line 653 def initialize(identifier:, state_template_update_strategy:) @identifier = identifier Jsii::Type.check_type(@identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identifier") @state_template_update_strategy = state_template_update_strategy.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnVehicle::StateTemplateUpdateStrategyProperty.new(**state_template_update_strategy.transform_keys(&:to_sym)) : state_template_update_strategy Jsii::Type.check_type(@state_template_update_strategy, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuVmVoaWNsZS5TdGF0ZVRlbXBsYXRlVXBkYXRlU3RyYXRlZ3lQcm9wZXJ0eSJ9XX19")), "stateTemplateUpdateStrategy") end |
Instance Attribute Details
#identifier ⇒ String (readonly)
The unique ID of the state template.
664 665 666 |
# File 'io_t_fleet_wise/cfn_vehicle.rb', line 664 def identifier @identifier end |
#state_template_update_strategy ⇒ AWSCDK::IResolvable, AWSCDK::IoTFleetWise::CfnVehicle::StateTemplateUpdateStrategyProperty (readonly)
667 668 669 |
# File 'io_t_fleet_wise/cfn_vehicle.rb', line 667 def state_template_update_strategy @state_template_update_strategy end |
Class Method Details
.jsii_properties ⇒ Object
669 670 671 672 673 674 |
# File 'io_t_fleet_wise/cfn_vehicle.rb', line 669 def self.jsii_properties { :identifier => "identifier", :state_template_update_strategy => "stateTemplateUpdateStrategy", } end |
Instance Method Details
#to_jsii ⇒ Object
676 677 678 679 680 681 682 683 |
# File 'io_t_fleet_wise/cfn_vehicle.rb', line 676 def to_jsii result = {} result.merge!({ "identifier" => @identifier, "stateTemplateUpdateStrategy" => @state_template_update_strategy, }) result.compact end |