Class: AWSCDK::APIGatewayv2::BatchHttpRouteOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APIGatewayv2::BatchHttpRouteOptions
- Defined in:
- api_gatewayv2/batch_http_route_options.rb
Overview
Options used when configuring multiple routes, at once.
The options here are the ones that would be configured for all being set up.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#integration ⇒ AWSCDK::APIGatewayv2::HttpRouteIntegration
readonly
The integration to be configured on this route.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(integration:) ⇒ BatchHttpRouteOptions
constructor
A new instance of BatchHttpRouteOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(integration:) ⇒ BatchHttpRouteOptions
Returns a new instance of BatchHttpRouteOptions.
10 11 12 13 |
# File 'api_gatewayv2/batch_http_route_options.rb', line 10 def initialize(integration:) @integration = integration Jsii::Type.check_type(@integration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBpZ2F0ZXdheXYyLkh0dHBSb3V0ZUludGVncmF0aW9uIn0=")), "integration") end |
Instance Attribute Details
#integration ⇒ AWSCDK::APIGatewayv2::HttpRouteIntegration (readonly)
The integration to be configured on this route.
18 19 20 |
# File 'api_gatewayv2/batch_http_route_options.rb', line 18 def integration @integration end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'api_gatewayv2/batch_http_route_options.rb', line 20 def self.jsii_properties { :integration => "integration", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'api_gatewayv2/batch_http_route_options.rb', line 26 def to_jsii result = {} result.merge!({ "integration" => @integration, }) result.compact end |