Skip to main content

Aws/codedeploy

@swamp/aws/codedeployv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS CODEDEPLOY infrastructure models

02Behaviors3
@swamp/aws/codedeploy/applicationv2026.10.23.1application.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CodeDeploy Application
fn get(identifier: string)
Get a CodeDeploy Application
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy Application
fn update()
Update a CodeDeploy Application
fn delete(identifier: string)
Delete a CodeDeploy Application
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy Application
fn sync()
Sync CodeDeploy Application state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CodeDeploy Application resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CodeDeploy DeploymentConfig
fn get(identifier: string)
Get a CodeDeploy DeploymentConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentConfig
fn delete(identifier: string)
Delete a CodeDeploy DeploymentConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentConfig
fn sync()
Sync CodeDeploy DeploymentConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CodeDeploy DeploymentConfig resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CodeDeploy DeploymentGroup
fn get(identifier: string)
Get a CodeDeploy DeploymentGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentGroup
fn update()
Update a CodeDeploy DeploymentGroup
fn delete(identifier: string)
Delete a CodeDeploy DeploymentGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CodeDeploy DeploymentGroup
fn sync()
Sync CodeDeploy DeploymentGroup state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CodeDeploy DeploymentGroup resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CodeDeploy DeploymentGroup resource state
03Previous Versions19
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
  • Updated: application, deployment_config, deployment_group
2026.10.13.1
  • Updated: application, deployment_config, deployment_group
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.21.1
2026.09.20.1
04Stats
A
100 / 100
Downloads
43
Archive size
628.9 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels