Class: AWSCDK::Interfaces::AWSAppmesh::VirtualGatewayReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAppmesh::VirtualGatewayReference
- Defined in:
- interfaces/aws_appmesh/virtual_gateway_reference.rb
Overview
A reference to a VirtualGateway resource.
Instance Attribute Summary collapse
-
#virtual_gateway_arn ⇒ String
readonly
The Arn of the VirtualGateway resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(virtual_gateway_arn:) ⇒ VirtualGatewayReference
constructor
A new instance of VirtualGatewayReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(virtual_gateway_arn:) ⇒ VirtualGatewayReference
Returns a new instance of VirtualGatewayReference.
8 9 10 11 |
# File 'interfaces/aws_appmesh/virtual_gateway_reference.rb', line 8 def initialize(virtual_gateway_arn:) @virtual_gateway_arn = virtual_gateway_arn Jsii::Type.check_type(@virtual_gateway_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "virtualGatewayArn") end |
Instance Attribute Details
#virtual_gateway_arn ⇒ String (readonly)
The Arn of the VirtualGateway resource.
16 17 18 |
# File 'interfaces/aws_appmesh/virtual_gateway_reference.rb', line 16 def virtual_gateway_arn @virtual_gateway_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_appmesh/virtual_gateway_reference.rb', line 18 def self.jsii_properties { :virtual_gateway_arn => "virtualGatewayArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_appmesh/virtual_gateway_reference.rb', line 24 def to_jsii result = {} result.merge!({ "virtualGatewayArn" => @virtual_gateway_arn, }) result.compact end |