AWS::CodeDeploy::DeploymentGroupResource type definition for AWS::CodeDeploy::DeploymentGroup
20 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApplicationName | string | RequiredCreate-only |
ServiceRoleArn | string | Required |
AlarmConfiguration | AlarmConfiguration | |
AutoRollbackConfiguration | AutoRollbackConfiguration | |
AutoScalingGroups | Array<string> | |
BlueGreenDeploymentConfiguration | BlueGreenDeploymentConfiguration | |
Deployment | Deployment | |
DeploymentConfigName | string | |
DeploymentGroupName | string | Create-only |
DeploymentStyle | DeploymentStyle | |
Ec2TagFilters | Array<EC2TagFilter> | |
Ec2TagSet | EC2TagSet | |
ECSServices | Array<ECSService> | |
LoadBalancerInfo | LoadBalancerInfo | |
OnPremisesInstanceTagFilters | Array<TagFilter> | |
OnPremisesTagSet | OnPremisesTagSet | |
OutdatedInstancesStrategy | string | |
Tags | Array<Tag> | |
TerminationHookEnabled | boolean | |
TriggerConfigurations | Array<TriggerConfig> |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeDeploy::DeploymentGroup
Resources:
MyResource:
Type: AWS::CodeDeploy::DeploymentGroup
Properties:
ApplicationName: "my-applicationname"
ServiceRoleArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
codedeploy:CreateDeploymentGroupcodedeploy:CreateDeploymentcodedeploy:GetDeploymentcodedeploy:GetDeploymentConfigcodedeploy:GetApplicationRevisioncodedeploy:ListDeploymentscodedeploy:RegisterApplicationRevisioncodedeploy:RegisterOnPremisesInstancecodedeploy:GetDeploymentGroupcodedeploy:ListTagsForResourcecodedeploy:ListDeploymentscodedeploy:GetDeploymentcodedeploy:UpdateDeploymentGroupcodedeploy:TagResourcecodedeploy:UntagResourcecodedeploy:GetDeploymentcodedeploy:CreateDeploymentcodedeploy:GetDeploymentConfigcodedeploy:GetApplicationRevisioncodedeploy:StopDeploymentcodedeploy:DeleteDeploymentGroupcodedeploy:GetDeploymentGroupcodedeploy:ListDeploymentGroupsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterApplicationNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DeploymentGroupNameApplicationName