Class: AWSCDK::ElasticBeanstalk::CfnEnvironment::TierProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticBeanstalk::CfnEnvironment::TierProperty
- Defined in:
- elastic_beanstalk/cfn_environment.rb
Overview
Use the Tier property type to specify the environment tier for an AWS Elastic Beanstalk environment when defining an AWS::ElasticBeanstalk::Environment resource in an AWS CloudFormation template.
Describes the environment tier for an AWS::ElasticBeanstalk::Environment resource. For more information, see Environment Tiers in the AWS Elastic Beanstalk Developer Guide .
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name of this environment tier.
-
#type ⇒ String?
readonly
The type of this environment tier.
-
#version ⇒ String?
readonly
The version of this environment tier.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, type: nil, version: nil) ⇒ TierProperty
constructor
A new instance of TierProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, type: nil, version: nil) ⇒ TierProperty
Returns a new instance of TierProperty.
737 738 739 740 741 742 743 744 |
# File 'elastic_beanstalk/cfn_environment.rb', line 737 def initialize(name: nil, type: nil, version: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
The name of this environment tier.
Valid values:
- For Web server tier –
WebServer - For Worker tier –
Worker
755 756 757 |
# File 'elastic_beanstalk/cfn_environment.rb', line 755 def name @name end |
#type ⇒ String? (readonly)
The type of this environment tier.
Valid values:
- For Web server tier –
Standard - For Worker tier –
SQS/HTTP
765 766 767 |
# File 'elastic_beanstalk/cfn_environment.rb', line 765 def type @type end |
#version ⇒ String? (readonly)
The version of this environment tier.
When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
774 775 776 |
# File 'elastic_beanstalk/cfn_environment.rb', line 774 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
776 777 778 779 780 781 782 |
# File 'elastic_beanstalk/cfn_environment.rb', line 776 def self.jsii_properties { :name => "name", :type => "type", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
784 785 786 787 788 789 790 791 792 |
# File 'elastic_beanstalk/cfn_environment.rb', line 784 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, "version" => @version, }) result.compact end |