Class: AWSCDK::IoTWireless::CfnTaskDefinition::UpdateWirelessGatewayTaskCreateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTWireless::CfnTaskDefinition::UpdateWirelessGatewayTaskCreateProperty
- Defined in:
- io_t_wireless/cfn_task_definition.rb
Overview
UpdateWirelessGatewayTaskCreate object.
Instance Attribute Summary collapse
-
#lo_ra_wan ⇒ AWSCDK::IResolvable, ...
readonly
The properties that relate to the LoRaWAN wireless gateway.
-
#update_data_role ⇒ String?
readonly
The IAM role used to read data from the S3 bucket.
-
#update_data_source ⇒ String?
readonly
The link to the S3 bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(lo_ra_wan: nil, update_data_role: nil, update_data_source: nil) ⇒ UpdateWirelessGatewayTaskCreateProperty
constructor
A new instance of UpdateWirelessGatewayTaskCreateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(lo_ra_wan: nil, update_data_role: nil, update_data_source: nil) ⇒ UpdateWirelessGatewayTaskCreateProperty
Returns a new instance of UpdateWirelessGatewayTaskCreateProperty.
753 754 755 756 757 758 759 760 |
# File 'io_t_wireless/cfn_task_definition.rb', line 753 def initialize(lo_ra_wan: nil, update_data_role: nil, update_data_source: nil) @lo_ra_wan = lo_ra_wan.is_a?(Hash) ? ::AWSCDK::IoTWireless::CfnTaskDefinition::LoRaWANUpdateGatewayTaskCreateProperty.new(**lo_ra_wan.transform_keys(&:to_sym)) : lo_ra_wan Jsii::Type.check_type(@lo_ra_wan, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3R3aXJlbGVzcy5DZm5UYXNrRGVmaW5pdGlvbi5Mb1JhV0FOVXBkYXRlR2F0ZXdheVRhc2tDcmVhdGVQcm9wZXJ0eSJ9XX19")), "loRaWan") unless @lo_ra_wan.nil? @update_data_role = update_data_role Jsii::Type.check_type(@update_data_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "updateDataRole") unless @update_data_role.nil? @update_data_source = update_data_source Jsii::Type.check_type(@update_data_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "updateDataSource") unless @update_data_source.nil? end |
Instance Attribute Details
#lo_ra_wan ⇒ AWSCDK::IResolvable, ... (readonly)
The properties that relate to the LoRaWAN wireless gateway.
766 767 768 |
# File 'io_t_wireless/cfn_task_definition.rb', line 766 def lo_ra_wan @lo_ra_wan end |
#update_data_role ⇒ String? (readonly)
The IAM role used to read data from the S3 bucket.
771 772 773 |
# File 'io_t_wireless/cfn_task_definition.rb', line 771 def update_data_role @update_data_role end |
#update_data_source ⇒ String? (readonly)
The link to the S3 bucket.
776 777 778 |
# File 'io_t_wireless/cfn_task_definition.rb', line 776 def update_data_source @update_data_source end |
Class Method Details
.jsii_properties ⇒ Object
778 779 780 781 782 783 784 |
# File 'io_t_wireless/cfn_task_definition.rb', line 778 def self.jsii_properties { :lo_ra_wan => "loRaWan", :update_data_role => "updateDataRole", :update_data_source => "updateDataSource", } end |
Instance Method Details
#to_jsii ⇒ Object
786 787 788 789 790 791 792 793 794 |
# File 'io_t_wireless/cfn_task_definition.rb', line 786 def to_jsii result = {} result.merge!({ "loRaWan" => @lo_ra_wan, "updateDataRole" => @update_data_role, "updateDataSource" => @update_data_source, }) result.compact end |