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