aws-cdk-lib.aws_elasticbeanstalk.CfnApplicationProps

interface CfnApplicationProps

LanguageType name
.NETAmazon.CDK.AWS.ElasticBeanstalk.CfnApplicationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticbeanstalk#CfnApplicationProps
Javasoftware.amazon.awscdk.services.elasticbeanstalk.CfnApplicationProps
Pythonaws_cdk.aws_elasticbeanstalk.CfnApplicationProps
TypeScript aws-cdk-lib » aws_elasticbeanstalk » CfnApplicationProps

Properties for defining a CfnApplication.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticbeanstalk as elasticbeanstalk } from 'aws-cdk-lib';
const cfnApplicationProps: elasticbeanstalk.CfnApplicationProps = {
  applicationName: 'applicationName',
  description: 'description',
  resourceLifecycleConfig: {
    serviceRole: 'serviceRole',
    versionLifecycleConfig: {
      maxAgeRule: {
        deleteSourceFromS3: false,
        enabled: false,
        maxAgeInDays: 123,
      },
      maxCountRule: {
        deleteSourceFromS3: false,
        enabled: false,
        maxCount: 123,
      },
    },
  },
};

Properties

NameTypeDescription
applicationName?stringA name for the Elastic Beanstalk application.
description?stringYour description of the application.
resourceLifecycleConfig?IResolvable | ApplicationResourceLifecycleConfigPropertySpecifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.

applicationName?

Type: string (optional)

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 .

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.


description?

Type: string (optional)

Your description of the application.


resourceLifecycleConfig?

Type: IResolvable | ApplicationResourceLifecycleConfigProperty (optional)

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