Class: AWSCDK::AppMesh::CfnGatewayRoute::HttpGatewayRoutePathRewriteProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_gateway_route.rb

Overview

An object that represents the path to rewrite.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exact: nil) ⇒ HttpGatewayRoutePathRewriteProperty

Returns a new instance of HttpGatewayRoutePathRewriteProperty.

Parameters:

  • exact (String, nil) (defaults to: nil)

    The exact path to rewrite.



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

#exactString? (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_propertiesObject



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_jsiiObject



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