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