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