Class: AWSCDK::Interfaces::AWSApigateway::BasePathMappingV2Reference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_apigateway/base_path_mapping_v2_reference.rb

Overview

A reference to a BasePathMappingV2 resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base_path_mapping_arn:) ⇒ BasePathMappingV2Reference

Returns a new instance of BasePathMappingV2Reference.

Parameters:

  • base_path_mapping_arn (String)

    The BasePathMappingArn of the BasePathMappingV2 resource.



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_arnString (readonly)

The BasePathMappingArn of the BasePathMappingV2 resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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