Class: AWSCDK::Interfaces::AWSRefactorspaces::RouteReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRefactorspaces::RouteReference
- Defined in:
- interfaces/aws_refactorspaces/route_reference.rb
Overview
A reference to a Route resource.
Instance Attribute Summary collapse
-
#application_identifier ⇒ String
readonly
The ApplicationIdentifier of the Route resource.
-
#environment_identifier ⇒ String
readonly
The EnvironmentIdentifier of the Route resource.
-
#route_arn ⇒ String
readonly
The ARN of the Route resource.
-
#route_identifier ⇒ String
readonly
The RouteIdentifier of the Route resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_identifier:, environment_identifier:, route_arn:, route_identifier:) ⇒ RouteReference
constructor
A new instance of RouteReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_identifier:, environment_identifier:, route_arn:, route_identifier:) ⇒ RouteReference
Returns a new instance of RouteReference.
11 12 13 14 15 16 17 18 19 20 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 11 def initialize(application_identifier:, environment_identifier:, route_arn:, route_identifier:) @application_identifier = application_identifier Jsii::Type.check_type(@application_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationIdentifier") @environment_identifier = environment_identifier Jsii::Type.check_type(@environment_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentIdentifier") @route_arn = route_arn Jsii::Type.check_type(@route_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeArn") @route_identifier = route_identifier Jsii::Type.check_type(@route_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routeIdentifier") end |
Instance Attribute Details
#application_identifier ⇒ String (readonly)
The ApplicationIdentifier of the Route resource.
25 26 27 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 25 def application_identifier @application_identifier end |
#environment_identifier ⇒ String (readonly)
The EnvironmentIdentifier of the Route resource.
29 30 31 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 29 def environment_identifier @environment_identifier end |
#route_arn ⇒ String (readonly)
The ARN of the Route resource.
33 34 35 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 33 def route_arn @route_arn end |
#route_identifier ⇒ String (readonly)
The RouteIdentifier of the Route resource.
37 38 39 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 37 def route_identifier @route_identifier end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 39 def self.jsii_properties { :application_identifier => "applicationIdentifier", :environment_identifier => "environmentIdentifier", :route_arn => "routeArn", :route_identifier => "routeIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
48 49 50 51 52 53 54 55 56 57 |
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 48 def to_jsii result = {} result.merge!({ "applicationIdentifier" => @application_identifier, "environmentIdentifier" => @environment_identifier, "routeArn" => @route_arn, "routeIdentifier" => @route_identifier, }) result.compact end |