Class: AWSCDK::Interfaces::AWSLocation::TrackerReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSLocation::TrackerReference
- Defined in:
- interfaces/aws_location/tracker_reference.rb
Overview
A reference to a Tracker resource.
Instance Attribute Summary collapse
-
#tracker_arn ⇒ String
readonly
The ARN of the Tracker resource.
-
#tracker_name ⇒ String
readonly
The TrackerName of the Tracker resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tracker_arn:, tracker_name:) ⇒ TrackerReference
constructor
A new instance of TrackerReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tracker_arn:, tracker_name:) ⇒ TrackerReference
Returns a new instance of TrackerReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_location/tracker_reference.rb', line 9 def initialize(tracker_arn:, tracker_name:) @tracker_arn = tracker_arn Jsii::Type.check_type(@tracker_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trackerArn") @tracker_name = tracker_name Jsii::Type.check_type(@tracker_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trackerName") end |
Instance Attribute Details
#tracker_arn ⇒ String (readonly)
The ARN of the Tracker resource.
19 20 21 |
# File 'interfaces/aws_location/tracker_reference.rb', line 19 def tracker_arn @tracker_arn end |
#tracker_name ⇒ String (readonly)
The TrackerName of the Tracker resource.
23 24 25 |
# File 'interfaces/aws_location/tracker_reference.rb', line 23 def tracker_name @tracker_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_location/tracker_reference.rb', line 25 def self.jsii_properties { :tracker_arn => "trackerArn", :tracker_name => "trackerName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_location/tracker_reference.rb', line 32 def to_jsii result = {} result.merge!({ "trackerArn" => @tracker_arn, "trackerName" => @tracker_name, }) result.compact end |