Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Alarm
Information about an alarm.
- Alarm
Configuration Information about alarms associated with a deployment or deployment group.
- AppSpec
Content A revision for an Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated
RawString
data type.- Application
Info Information about an application.
- Auto
Rollback Configuration Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.
- Auto
Scaling Group Information about an Auto Scaling group.
- Blue
Green Deployment Configuration Information about blue/green deployment options for a deployment group.
- Blue
Instance Termination Option Information about whether instances in the original environment are terminated when a blue/green deployment is successful.
BlueInstanceTerminationOption
does not apply to Lambda deployments.- Cloud
Formation Target Information about the target to be updated by an CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
- Deployment
Config Info Information about a deployment configuration.
- Deployment
Group Info Information about a deployment group.
- Deployment
Info Information about a deployment.
- Deployment
Overview Information about the deployment status of the instances in the deployment.
- Deployment
Ready Option Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
- Deployment
Style Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
- Deployment
Target Information about the deployment target.
- Diagnostics
Diagnostic information about executable scripts that are part of a deployment.
- Ec2Tag
Filter Information about an EC2 tag filter.
- Ec2Tag
Set Information about groups of Amazon EC2 instance tags.
- EcsService
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
- EcsTarget
Information about the target of an Amazon ECS deployment.
- EcsTask
Set Information about a set of Amazon ECS tasks in an CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.
- ElbInfo
Information about a Classic Load Balancer in Elastic Load Balancing to use in a deployment. Instances are registered directly with a load balancer, and traffic is routed to the load balancer.
- Error
Information Information about a deployment error.
- Generic
Revision Info Information about an application revision.
- GitHub
Location Information about the location of application artifacts stored in GitHub.
- Green
Fleet Provisioning Option Information about the instances that belong to the replacement environment in a blue/green deployment.
- Instance
Info Information about an on-premises instance.
- Instance
Summary Deprecated Information about an instance in a deployment.
- Instance
Target A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.
- Lambda
Function Info Information about a Lambda function specified in a deployment.
- Lambda
Target Information about the target Lambda function during an Lambda deployment.
- Last
Deployment Info Information about the most recent attempted or successful deployment to a deployment group.
- Lifecycle
Event Information about a deployment lifecycle event.
- Load
Balancer Info Information about the Elastic Load Balancing load balancer or target group used in a deployment.
You can use load balancers and target groups in combination. For example, if you have two Classic Load Balancers, and five target groups tied to an Application Load Balancer, you can specify the two Classic Load Balancers in
elbInfoList
, and the five target groups intargetGroupInfoList
.- Minimum
Healthy Hosts Information about the minimum number of healthy instances.
- Minimum
Healthy Hosts PerZone Information about the minimum number of healthy instances per Availability Zone.
- OnPremises
TagSet Information about groups of on-premises instance tags.
- RawString
Deprecated A revision for an Lambda deployment that is a YAML-formatted or JSON-formatted string. For Lambda deployments, the revision is the same as the AppSpec file.
- Related
Deployments Information about deployments related to the specified deployment.
- Revision
Info Information about an application revision.
- Revision
Location Information about the location of an application revision.
- Rollback
Info Information about a deployment rollback.
- S3Location
Information about the location of application artifacts stored in Amazon S3.
- Tag
Information about a tag.
- TagFilter
Information about an on-premises instance tag filter.
- Target
Group Info Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.
- Target
Group Pair Info Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
- Target
Instances Information about the instances to be used in the replacement environment in a blue/green deployment.
- Time
Based Canary A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
- Time
Based Linear A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
- Time
Range Information about a time range.
- Traffic
Route Information about a listener. The listener contains the path used to route traffic that is received from the load balancer to a target group.
- Traffic
Routing Config The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
- Trigger
Config Information about notification triggers for the deployment group.
- Zonal
Config Configure the
ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure theZonalConfig
object, CodeDeploy deploys your application to a random selection of hosts across a Region.For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
Enums§
- Application
Revision Sort By - When writing a match expression against
ApplicationRevisionSortBy
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Auto
Rollback Event - When writing a match expression against
AutoRollbackEvent
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Bundle
Type - When writing a match expression against
BundleType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Compute
Platform - When writing a match expression against
ComputePlatform
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Creator - When writing a match expression against
DeploymentCreator
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Option - When writing a match expression against
DeploymentOption
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Ready Action - When writing a match expression against
DeploymentReadyAction
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Status - When writing a match expression against
DeploymentStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Target Type - When writing a match expression against
DeploymentTargetType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Type - When writing a match expression against
DeploymentType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Deployment
Wait Type - When writing a match expression against
DeploymentWaitType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Ec2Tag
Filter Type - When writing a match expression against
Ec2TagFilterType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Error
Code - When writing a match expression against
ErrorCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - File
Exists Behavior - When writing a match expression against
FileExistsBehavior
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Green
Fleet Provisioning Action - When writing a match expression against
GreenFleetProvisioningAction
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Instance
Action - When writing a match expression against
InstanceAction
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Instance
Status Deprecated - When writing a match expression against
InstanceStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Instance
Type - When writing a match expression against
InstanceType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Lifecycle
Error Code - When writing a match expression against
LifecycleErrorCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Lifecycle
Event Status - When writing a match expression against
LifecycleEventStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - List
State Filter Action - When writing a match expression against
ListStateFilterAction
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Minimum
Healthy Hosts PerZone Type - When writing a match expression against
MinimumHealthyHostsPerZoneType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Minimum
Healthy Hosts Type - When writing a match expression against
MinimumHealthyHostsType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Outdated
Instances Strategy - When writing a match expression against
OutdatedInstancesStrategy
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Registration
Status - When writing a match expression against
RegistrationStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Revision
Location Type - When writing a match expression against
RevisionLocationType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Sort
Order - When writing a match expression against
SortOrder
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Stop
Status - When writing a match expression against
StopStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - TagFilter
Type - When writing a match expression against
TagFilterType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Target
Filter Name - When writing a match expression against
TargetFilterName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Target
Label - When writing a match expression against
TargetLabel
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Target
Status - When writing a match expression against
TargetStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Traffic
Routing Type - When writing a match expression against
TrafficRoutingType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Trigger
Event Type - When writing a match expression against
TriggerEventType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.