Class: AWSCDK::Interfaces::AWSRefactorspaces::ApplicationReference

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

Overview

A reference to a Application resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_arn:, application_identifier:, environment_identifier:) ⇒ ApplicationReference

Returns a new instance of ApplicationReference.

Parameters:

  • application_arn (String)

    The ARN of the Application resource.

  • application_identifier (String)

    The ApplicationIdentifier of the Application resource.

  • environment_identifier (String)

    The EnvironmentIdentifier of the Application resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 10

def initialize(application_arn:, application_identifier:, environment_identifier:)
  @application_arn = application_arn
  Jsii::Type.check_type(@application_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationArn")
  @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")
end

Instance Attribute Details

#application_arnString (readonly)

The ARN of the Application resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 22

def application_arn
  @application_arn
end

#application_identifierString (readonly)

The ApplicationIdentifier of the Application resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 26

def application_identifier
  @application_identifier
end

#environment_identifierString (readonly)

The EnvironmentIdentifier of the Application resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 30

def environment_identifier
  @environment_identifier
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 32

def self.jsii_properties
  {
    :application_arn => "applicationArn",
    :application_identifier => "applicationIdentifier",
    :environment_identifier => "environmentIdentifier",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_refactorspaces/application_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "applicationArn" => @application_arn,
    "applicationIdentifier" => @application_identifier,
    "environmentIdentifier" => @environment_identifier,
  })
  result.compact
end