AWS Fundamentals Logo
AWS Fundamentals
AWS::ElasticBeanstalk::Environment

ElasticBeanstalk Environment

Resource Type definition for AWS::ElasticBeanstalk::Environment

Properties

12 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
ApplicationName
string
RequiredCreate-only
CNAMEPrefix
string
Create-only
Description
string
EnvironmentName
string
Create-only
OperationsRole
string
OptionSettings
Array<OptionSetting>
Write-only
PlatformArn
string
SolutionStackName
string
Create-only
Tags
Array<Tag>
TemplateName
string
Write-only
Tier
Tier
VersionLabel
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
EndpointURLstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ElasticBeanstalk::Environment

Resources:
  MyResource:
    Type: AWS::ElasticBeanstalk::Environment
    Properties:
      ApplicationName: "my-applicationname"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

elasticbeanstalk:DescribeEnvironmentselasticbeanstalk:DescribeConfigurationSettingselasticbeanstalk:ListTagsForResource

create

elasticbeanstalk:DescribeEnvironmentselasticbeanstalk:CreateEnvironmentelasticbeanstalk:AddTagselasticbeanstalk:ListTagsForResourceiam:PassRole

update

elasticbeanstalk:DescribeEnvironmentselasticbeanstalk:UpdateEnvironmentelasticbeanstalk:AssociateEnvironmentOperationsRoleelasticbeanstalk:DisassociateEnvironmentOperationsRoleelasticbeanstalk:AddTagselasticbeanstalk:ListTagsForResourceelasticbeanstalk:RemoveTagss3:GetBucketLocation

list

elasticbeanstalk:DescribeEnvironmentselasticbeanstalk:ListTagsForResource

delete

elasticbeanstalk:DescribeEnvironmentselasticbeanstalk:TerminateEnvironment

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceElasticBeanstalk
Properties13
Required1
TaggingSupported
Primary IDEnvironmentName

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CNAMEPrefixEnvironmentNameApplicationNameSolutionStackNameTier/NameTier/Type

External Links