Interface CfnEnvironment.TierProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnEnvironment.TierProperty extends
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 .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 TierProperty tierProperty = TierProperty.builder()
  • Method Details

    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of this environment tier.

      Valid values:

      • For Web server tierWebServer
      • For Worker tierWorker
    • getType

      @Stability(Stable) @Nullable default String getType()
      The type of this environment tier.

      Valid values:

      • For Web server tierStandard
      • For Worker tierSQS/HTTP
    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      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.

    • builder

      @Stability(Stable) static CfnEnvironment.TierProperty.Builder builder()
      a CfnEnvironment.TierProperty.Builder of CfnEnvironment.TierProperty