Class: AWSCDK::Interfaces::AWSApigatewayv2::RouteResponseReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSApigatewayv2::RouteResponseReference
- Defined in:
- interfaces/aws_apigatewayv2/route_response_reference.rb
Overview
A reference to a RouteResponse resource.
Instance Attribute Summary collapse
-
#api_id ⇒ String
readonly
The ApiId of the RouteResponse resource.
-
#route_id ⇒ String
readonly
The RouteId of the RouteResponse resource.
-
#route_response_id ⇒ String
readonly
The RouteResponseId of the RouteResponse resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(api_id:, route_id:, route_response_id:) ⇒ RouteResponseReference
constructor
A new instance of RouteResponseReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(api_id:, route_id:, route_response_id:) ⇒ RouteResponseReference
Returns a new instance of RouteResponseReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 10 def initialize(api_id:, route_id:, route_response_id:) @api_id = api_id Jsii::Type.check_type(@api_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiId") @route_id = route_id Jsii::Type.check_type(@route_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeId") @route_response_id = route_response_id Jsii::Type.check_type(@route_response_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeResponseId") end |
Instance Attribute Details
#api_id ⇒ String (readonly)
The ApiId of the RouteResponse resource.
22 23 24 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 22 def api_id @api_id end |
#route_id ⇒ String (readonly)
The RouteId of the RouteResponse resource.
26 27 28 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 26 def route_id @route_id end |
#route_response_id ⇒ String (readonly)
The RouteResponseId of the RouteResponse resource.
30 31 32 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 30 def route_response_id @route_response_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 32 def self.jsii_properties { :api_id => "apiId", :route_id => "routeId", :route_response_id => "routeResponseId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_apigatewayv2/route_response_reference.rb', line 40 def to_jsii result = {} result.merge!({ "apiId" => @api_id, "routeId" => @route_id, "routeResponseId" => @route_response_id, }) result.compact end |