Class: AWSCDK::Interfaces::AWSLocation::TrackerConsumerReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSLocation::TrackerConsumerReference
- Defined in:
- interfaces/aws_location/tracker_consumer_reference.rb
Overview
A reference to a TrackerConsumer resource.
Instance Attribute Summary collapse
-
#consumer_arn ⇒ String
readonly
The ConsumerArn of the TrackerConsumer resource.
-
#tracker_name ⇒ String
readonly
The TrackerName of the TrackerConsumer resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(consumer_arn:, tracker_name:) ⇒ TrackerConsumerReference
constructor
A new instance of TrackerConsumerReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(consumer_arn:, tracker_name:) ⇒ TrackerConsumerReference
Returns a new instance of TrackerConsumerReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_location/tracker_consumer_reference.rb', line 9 def initialize(consumer_arn:, tracker_name:) @consumer_arn = consumer_arn Jsii::Type.check_type(@consumer_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "consumerArn") @tracker_name = tracker_name Jsii::Type.check_type(@tracker_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trackerName") end |
Instance Attribute Details
#consumer_arn ⇒ String (readonly)
The ConsumerArn of the TrackerConsumer resource.
19 20 21 |
# File 'interfaces/aws_location/tracker_consumer_reference.rb', line 19 def consumer_arn @consumer_arn end |
#tracker_name ⇒ String (readonly)
The TrackerName of the TrackerConsumer resource.
23 24 25 |
# File 'interfaces/aws_location/tracker_consumer_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_consumer_reference.rb', line 25 def self.jsii_properties { :consumer_arn => "consumerArn", :tracker_name => "trackerName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_location/tracker_consumer_reference.rb', line 32 def to_jsii result = {} result.merge!({ "consumerArn" => @consumer_arn, "trackerName" => @tracker_name, }) result.compact end |