AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ElasticBeanstalk::Application

CfnApplication

Specify an AWS Elastic Beanstalk application by using the AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template. The AWS::ElasticBeanstalk::Application resource is an AWS Elastic Beanstalk Beanstalk resource type that specifies an Elastic Beanstalk application.

Import

import { CfnApplication } from 'aws-cdk-lib/aws-elasticbeanstalk';

Or use the module namespace:

import * as elasticbeanstalk from 'aws-cdk-lib/aws-elasticbeanstalk';
// elasticbeanstalk.CfnApplication

Properties

Configuration passed to the constructor as CfnApplicationProps.

applicationNameOptional
string

A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) . > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

descriptionOptional
string

Your description of the application.

resourceLifecycleConfigOptional
IResolvable | ApplicationResourceLifecycleConfigProperty

Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-elasticbeanstalk
CFN TypeAWS::ElasticBeanstalk::Application
Properties3

External Links