Skip to main content

@swamp/aws/codedeploy

v2026.04.23.3

AWS CODEDEPLOY infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awscodedeploycloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/codedeploy

@swamp/aws/codedeploy/applicationv2026.04.23.2application.ts

Global Arguments

ArgumentTypeDescription
ApplicationName?stringA name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
ComputePlatform?stringThe compute platform that CodeDeploy deploys the application to.
Tags?arrayThe 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.
createCreate a CodeDeploy Application
getGet a CodeDeploy Application
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy Application
updateUpdate a CodeDeploy Application
deleteDelete a CodeDeploy Application
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy Application
syncSync CodeDeploy Application state from AWS

Resources

state(infinite)— CodeDeploy Application resource state
@swamp/aws/codedeploy/deployment-configv2026.04.23.2deployment_config.ts

Global Arguments

ArgumentTypeDescription
ComputePlatform?stringThe destination platform type for the deployment (Lambda, Server, or ECS).
DeploymentConfigName?stringA name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
MinimumHealthyHosts?objectThe minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
ZonalConfig?objectThe zonal deployment config that specifies how the zonal deployment behaves
TrafficRoutingConfig?objectThe configuration that specifies how the deployment traffic is routed.
createCreate a CodeDeploy DeploymentConfig
getGet a CodeDeploy DeploymentConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentConfig
deleteDelete a CodeDeploy DeploymentConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentConfig
syncSync CodeDeploy DeploymentConfig state from AWS

Resources

state(infinite)— CodeDeploy DeploymentConfig resource state
@swamp/aws/codedeploy/deployment-groupv2026.04.23.2deployment_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
OnPremisesTagSet?objectInformation about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all the tag groups. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both.
ApplicationNamestringThe name of an existing CodeDeploy application to associate this deployment group with.
DeploymentStyle?objectAttributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer. If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups, LoadBalancerInfo, or Deployment properties.
ServiceRoleArnstringA service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf. For more information, see 'Create a Service Role for AWS CodeDeploy' in the AWS CodeDeploy User Guide.
BlueGreenDeploymentConfiguration?objectInformation about blue/green deployment options for a deployment group.
AutoScalingGroups?arrayA list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created. Duplicates are not allowed.
Ec2TagSet?objectInformation about groups of tags applied to Amazon EC2 instances. Use when the deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter.
OutdatedInstancesStrategy?stringIndicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different
TriggerConfigurations?arrayInformation about triggers associated with the deployment group. Duplicates are not allowed.
Deployment?objectThe application revision to deploy to this deployment group. If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property.
DeploymentConfigName?stringA deployment configuration name or a predefined configuration name. With predefined configurations, you can deploy application revisions to one instance at a time (CodeDeployDefault.OneAtATime), half of the instances at a time (CodeDeployDefault.HalfAtATime), or all the instances at once (CodeDeployDefault.AllAtOnce).
AlarmConfiguration?objectInformation about the Amazon CloudWatch alarms that are associated with the deployment group.
Ec2TagFilters?arrayThe Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify EC2TagFilters or Ec2TagSet, but not both.
TerminationHookEnabled?booleanIndicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
ECSServices?arrayThe target Amazon ECS services in the deployment group. This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format :.
AutoRollbackConfiguration?objectInformation about the automatic rollback configuration that is associated with the deployment group. If you specify this property, don't specify the Deployment property.
LoadBalancerInfo?objectInformation about the load balancer to use in a deployment.
DeploymentGroupName?stringA name for the deployment group. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment group name.
Tags?arrayThe metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
OnPremisesInstanceTagFilters?arrayThe on-premises instance tags already applied to on-premises instances that you want to include in the deployment group. CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both.
createCreate a CodeDeploy DeploymentGroup
getGet a CodeDeploy DeploymentGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentGroup
updateUpdate a CodeDeploy DeploymentGroup
deleteDelete a CodeDeploy DeploymentGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentGroup
syncSync CodeDeploy DeploymentGroup state from AWS

Resources

state(infinite)— CodeDeploy DeploymentGroup resource state