AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodeDeploy::Application

CfnApplication

The `AWS::CodeDeploy::Application` resource creates an AWS CodeDeploy application. In CodeDeploy , an application is a name that functions as a container to ensure that the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment. You can use the `AWS::CodeDeploy::DeploymentGroup` resource to associate the application with a CodeDeploy deployment group. For more information, see [CodeDeploy Deployments](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-steps.html) in the *AWS CodeDeploy User Guide* .

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnApplicationProps.

applicationNameOptional
string | IFunctionRef

A name for the application. If you don't specify a name, 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) . > Updates to `ApplicationName` are not supported.

computePlatformOptional
string

The compute platform that CodeDeploy deploys the application to.

tagsOptional
CfnTag[]

The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.

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