Skip to content
v2.273.0

AWS Elastic Beanstalk Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as elasticbeanstalk from 'aws-cdk-lib/aws-elasticbeanstalk';
python
import aws_cdk.aws_elasticbeanstalk as elasticbeanstalk
java
import software.amazon.awscdk.services.elasticbeanstalk.*;
csharp
using Amazon.CDK.AWS.ElasticBeanstalk;
go
import elasticbeanstalk "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::ElasticBeanstalk.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnApplicationConstruct (L1)Specify an AWS Elastic Beanstalk application by using the AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.
CfnApplicationVersionConstruct (L1)Specify an AWS Elastic Beanstalk application version by using the AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template.
CfnConfigurationTemplateConstruct (L1)Specify an AWS Elastic Beanstalk configuration template by using the AWS::ElasticBeanstalk::ConfigurationTemplate resource in an AWS CloudFormation template.
CfnEnvironmentConstruct (L1)Specify an AWS Elastic Beanstalk environment by using the AWS::ElasticBeanstalk::Environment resource in an AWS CloudFormation template.
CfnApplication.ApplicationResourceLifecycleConfigPropertyStructUse the ApplicationResourceLifecycleConfig property type to specify lifecycle settings for resources that belong to an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.
CfnApplication.ApplicationVersionLifecycleConfigPropertyStructUse the ApplicationVersionLifecycleConfig property type to specify application version lifecycle settings for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.
CfnApplication.MaxAgeRulePropertyStructUse the MaxAgeRule property type to specify a max age rule to restrict the length of time that application versions are retained for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.
CfnApplication.MaxCountRulePropertyStructUse the MaxAgeRule property type to specify a max count rule to restrict the number of application versions that are retained for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.
CfnApplicationPropsStructProperties for defining a CfnApplication.
CfnApplicationVersion.BuildConfigurationPropertyStruct
CfnApplicationVersion.ImageBuildConfigurationPropertyStruct
CfnApplicationVersion.ImageConfigurationPropertyStruct
CfnApplicationVersion.ImageSourcePropertyStruct
CfnApplicationVersion.SourceBundlePropertyStructUse the SourceBundle property type to specify the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version when defining an AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template.
CfnApplicationVersionPropsStructProperties for defining a CfnApplicationVersion.
CfnConfigurationTemplate.ConfigurationOptionSettingPropertyStructUse the ConfigurationOptionSetting property type to specify an option for an AWS Elastic Beanstalk configuration template when defining an AWS::ElasticBeanstalk::ConfigurationTemplate resource in an AWS CloudFormation template.
CfnConfigurationTemplate.SourceConfigurationPropertyStructUse the SourceConfiguration property type to specify another AWS Elastic Beanstalk configuration template as the base to creating a new AWS::ElasticBeanstalk::ConfigurationTemplate resource in an AWS CloudFormation template.
CfnConfigurationTemplatePropsStructProperties for defining a CfnConfigurationTemplate.
CfnEnvironment.OptionSettingPropertyStructUse the OptionSetting property type to specify an option for an AWS Elastic Beanstalk environment when defining an AWS::ElasticBeanstalk::Environment resource in an AWS CloudFormation template.
CfnEnvironment.TierPropertyStructUse 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.
CfnEnvironmentPropsStructProperties for defining a CfnEnvironment.