Class: AWSCDK::Interfaces::AWSElasticbeanstalk::EnvironmentReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSElasticbeanstalk::EnvironmentReference
- Defined in:
- interfaces/aws_elasticbeanstalk/environment_reference.rb
Overview
A reference to a Environment resource.
Instance Attribute Summary collapse
-
#environment_name ⇒ String
readonly
The EnvironmentName of the Environment resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(environment_name:) ⇒ EnvironmentReference
constructor
A new instance of EnvironmentReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(environment_name:) ⇒ EnvironmentReference
Returns a new instance of EnvironmentReference.
8 9 10 11 |
# File 'interfaces/aws_elasticbeanstalk/environment_reference.rb', line 8 def initialize(environment_name:) @environment_name = environment_name Jsii::Type.check_type(@environment_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environmentName") end |
Instance Attribute Details
#environment_name ⇒ String (readonly)
The EnvironmentName of the Environment resource.
16 17 18 |
# File 'interfaces/aws_elasticbeanstalk/environment_reference.rb', line 16 def environment_name @environment_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_elasticbeanstalk/environment_reference.rb', line 18 def self.jsii_properties { :environment_name => "environmentName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_elasticbeanstalk/environment_reference.rb', line 24 def to_jsii result = {} result.merge!({ "environmentName" => @environment_name, }) result.compact end |