Class: AWSCDK::IoTWireless::CfnWirelessDeviceImportTaskProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTWireless::CfnWirelessDeviceImportTaskProps
- Defined in:
- io_t_wireless/cfn_wireless_device_import_task_props.rb
Overview
Properties for defining a CfnWirelessDeviceImportTask.
Instance Attribute Summary collapse
-
#destination_name ⇒ String
readonly
The name of the destination that describes the IoT rule to route messages from the Sidewalk devices in the import task to other applications.
-
#sidewalk ⇒ AWSCDK::IResolvable, AWSCDK::IoTWireless::CfnWirelessDeviceImportTask::SidewalkProperty
readonly
The Sidewalk-related information of the wireless device import task.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Adds to or modifies the tags of the given resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination_name:, sidewalk:, tags: nil) ⇒ CfnWirelessDeviceImportTaskProps
constructor
A new instance of CfnWirelessDeviceImportTaskProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination_name:, sidewalk:, tags: nil) ⇒ CfnWirelessDeviceImportTaskProps
Returns a new instance of CfnWirelessDeviceImportTaskProps.
12 13 14 15 16 17 18 19 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 12 def initialize(destination_name:, sidewalk:, tags: nil) @destination_name = destination_name Jsii::Type.check_type(@destination_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationName") @sidewalk = sidewalk.is_a?(Hash) ? ::AWSCDK::IoTWireless::CfnWirelessDeviceImportTask::SidewalkProperty.new(**sidewalk.transform_keys(&:to_sym)) : sidewalk Jsii::Type.check_type(@sidewalk, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3R3aXJlbGVzcy5DZm5XaXJlbGVzc0RldmljZUltcG9ydFRhc2suU2lkZXdhbGtQcm9wZXJ0eSJ9XX19")), "sidewalk") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#destination_name ⇒ String (readonly)
The name of the destination that describes the IoT rule to route messages from the Sidewalk devices in the import task to other applications.
25 26 27 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 25 def destination_name @destination_name end |
#sidewalk ⇒ AWSCDK::IResolvable, AWSCDK::IoTWireless::CfnWirelessDeviceImportTask::SidewalkProperty (readonly)
The Sidewalk-related information of the wireless device import task.
30 31 32 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 30 def sidewalk @sidewalk end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Adds to or modifies the tags of the given resource.
Tags are metadata that you can use to manage a resource.
37 38 39 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 37 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 39 def self.jsii_properties { :destination_name => "destinationName", :sidewalk => "sidewalk", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'io_t_wireless/cfn_wireless_device_import_task_props.rb', line 47 def to_jsii result = {} result.merge!({ "destinationName" => @destination_name, "sidewalk" => @sidewalk, "tags" => @tags, }) result.compact end |