Class: AWSCDK::Interfaces::AWSApigateway::BasePathMappingReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSApigateway::BasePathMappingReference
- Defined in:
- interfaces/aws_apigateway/base_path_mapping_reference.rb
Overview
A reference to a BasePathMapping resource.
Instance Attribute Summary collapse
-
#base_path ⇒ String
readonly
The BasePath of the BasePathMapping resource.
-
#domain_name ⇒ String
readonly
The DomainName of the BasePathMapping resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base_path:, domain_name:) ⇒ BasePathMappingReference
constructor
A new instance of BasePathMappingReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(base_path:, domain_name:) ⇒ BasePathMappingReference
Returns a new instance of BasePathMappingReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_apigateway/base_path_mapping_reference.rb', line 9 def initialize(base_path:, domain_name:) @base_path = base_path Jsii::Type.check_type(@base_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "basePath") @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") end |
Instance Attribute Details
#base_path ⇒ String (readonly)
The BasePath of the BasePathMapping resource.
19 20 21 |
# File 'interfaces/aws_apigateway/base_path_mapping_reference.rb', line 19 def base_path @base_path end |
#domain_name ⇒ String (readonly)
The DomainName of the BasePathMapping resource.
23 24 25 |
# File 'interfaces/aws_apigateway/base_path_mapping_reference.rb', line 23 def domain_name @domain_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_apigateway/base_path_mapping_reference.rb', line 25 def self.jsii_properties { :base_path => "basePath", :domain_name => "domainName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_apigateway/base_path_mapping_reference.rb', line 32 def to_jsii result = {} result.merge!({ "basePath" => @base_path, "domainName" => @domain_name, }) result.compact end |