Class: AWSCDK::AppMesh::VirtualGatewayAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::VirtualGatewayAttributes
- Defined in:
- app_mesh/virtual_gateway_attributes.rb
Overview
Unterface with properties necessary to import a reusable VirtualGateway.
Instance Attribute Summary collapse
-
#mesh ⇒ AWSCDK::AppMesh::IMesh
readonly
The Mesh that the VirtualGateway belongs to.
-
#virtual_gateway_name ⇒ String
readonly
The name of the VirtualGateway.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mesh:, virtual_gateway_name:) ⇒ VirtualGatewayAttributes
constructor
A new instance of VirtualGatewayAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mesh:, virtual_gateway_name:) ⇒ VirtualGatewayAttributes
Returns a new instance of VirtualGatewayAttributes.
9 10 11 12 13 14 |
# File 'app_mesh/virtual_gateway_attributes.rb', line 9 def initialize(mesh:, virtual_gateway_name:) @mesh = mesh Jsii::Type.check_type(@mesh, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwbWVzaC5JTWVzaCJ9")), "mesh") @virtual_gateway_name = virtual_gateway_name Jsii::Type.check_type(@virtual_gateway_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "virtualGatewayName") end |
Instance Attribute Details
#mesh ⇒ AWSCDK::AppMesh::IMesh (readonly)
The Mesh that the VirtualGateway belongs to.
19 20 21 |
# File 'app_mesh/virtual_gateway_attributes.rb', line 19 def mesh @mesh end |
#virtual_gateway_name ⇒ String (readonly)
The name of the VirtualGateway.
23 24 25 |
# File 'app_mesh/virtual_gateway_attributes.rb', line 23 def virtual_gateway_name @virtual_gateway_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'app_mesh/virtual_gateway_attributes.rb', line 25 def self.jsii_properties { :mesh => "mesh", :virtual_gateway_name => "virtualGatewayName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'app_mesh/virtual_gateway_attributes.rb', line 32 def to_jsii result = {} result.merge!({ "mesh" => @mesh, "virtualGatewayName" => @virtual_gateway_name, }) result.compact end |