Class: AWSCDK::Interfaces::AWSRefactorspaces::RouteReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_refactorspaces/route_reference.rb

Overview

A reference to a Route resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_identifier:, environment_identifier:, route_arn:, route_identifier:) ⇒ RouteReference

Returns a new instance of RouteReference.

Parameters:

  • application_identifier (String)

    The ApplicationIdentifier of the Route resource.

  • environment_identifier (String)

    The EnvironmentIdentifier of the Route resource.

  • route_arn (String)

    The ARN of the Route resource.

  • route_identifier (String)

    The RouteIdentifier of the Route resource.



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

The ApplicationIdentifier of the Route resource.

Returns:

  • (String)


25
26
27
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 25

def application_identifier
  @application_identifier
end

#environment_identifierString (readonly)

The EnvironmentIdentifier of the Route resource.

Returns:

  • (String)


29
30
31
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 29

def environment_identifier
  @environment_identifier
end

#route_arnString (readonly)

The ARN of the Route resource.

Returns:

  • (String)


33
34
35
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 33

def route_arn
  @route_arn
end

#route_identifierString (readonly)

The RouteIdentifier of the Route resource.

Returns:

  • (String)


37
38
39
# File 'interfaces/aws_refactorspaces/route_reference.rb', line 37

def route_identifier
  @route_identifier
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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