Class: AWSCDK::AppMesh::CfnGatewayRoute::HttpGatewayRoutePathRewriteProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnGatewayRoute::HttpGatewayRoutePathRewriteProperty
- Defined in:
- app_mesh/cfn_gateway_route.rb
Overview
An object that represents the path to rewrite.
Instance Attribute Summary collapse
-
#exact ⇒ String?
readonly
The exact path to rewrite.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(exact: nil) ⇒ HttpGatewayRoutePathRewriteProperty
constructor
A new instance of HttpGatewayRoutePathRewriteProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(exact: nil) ⇒ HttpGatewayRoutePathRewriteProperty
Returns a new instance of HttpGatewayRoutePathRewriteProperty.
1487 1488 1489 1490 |
# File 'app_mesh/cfn_gateway_route.rb', line 1487 def initialize(exact: nil) @exact = exact Jsii::Type.check_type(@exact, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exact") unless @exact.nil? end |
Instance Attribute Details
#exact ⇒ String? (readonly)
The exact path to rewrite.
1496 1497 1498 |
# File 'app_mesh/cfn_gateway_route.rb', line 1496 def exact @exact end |
Class Method Details
.jsii_properties ⇒ Object
1498 1499 1500 1501 1502 |
# File 'app_mesh/cfn_gateway_route.rb', line 1498 def self.jsii_properties { :exact => "exact", } end |
Instance Method Details
#to_jsii ⇒ Object
1504 1505 1506 1507 1508 1509 1510 |
# File 'app_mesh/cfn_gateway_route.rb', line 1504 def to_jsii result = {} result.merge!({ "exact" => @exact, }) result.compact end |