Skip to content

aws.codedeploy.get_deployment

Example SQL Queries

SELECT * FROM
aws.codedeploy.get_deployment
WHERE
"deployment_id" = 'VALUE';

Description

Gets information about a deployment.

The content property of the appSpecContent object in the returned revision is always null. Use GetApplicationRevision and the sha256 property of the returned appSpecContent object to get the content of the deployment’s AppSpec file.

Table Definition

Column NameColumn Data Type
deployment_id Required Input Column

The unique ID of a deployment associated with the user or Amazon Web Services account.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
deployment_info

Information about the deployment.

STRUCT(
"application_name" VARCHAR,
"deployment_group_name" VARCHAR,
"deployment_config_name" VARCHAR,
"deployment_id" VARCHAR,
"previous_revision" STRUCT(
"revision_type" VARCHAR,
"s3_location" STRUCT(
"bucket" VARCHAR,
"key" VARCHAR,
"bundle_type" VARCHAR,
"version" VARCHAR,
"e_tag" VARCHAR
),
"git_hub_location" STRUCT(
"repository" VARCHAR,
"commit_id" VARCHAR
),
"string" STRUCT(
"content" VARCHAR,
"sha256" VARCHAR
),
"app_spec_content" STRUCT(
"content" VARCHAR,
"sha256" VARCHAR
)
),
"revision" STRUCT(
"revision_type" VARCHAR,
"s3_location" STRUCT(
"bucket" VARCHAR,
"key" VARCHAR,
"bundle_type" VARCHAR,
"version" VARCHAR,
"e_tag" VARCHAR
),
"git_hub_location" STRUCT(
"repository" VARCHAR,
"commit_id" VARCHAR
),
"string" STRUCT(
"content" VARCHAR,
"sha256" VARCHAR
),
"app_spec_content" STRUCT(
"content" VARCHAR,
"sha256" VARCHAR
)
),
"status" VARCHAR,
"error_information" STRUCT(
"code" VARCHAR,
"message" VARCHAR
),
"create_time" TIMESTAMP_S,
"start_time" TIMESTAMP_S,
"complete_time" TIMESTAMP_S,
"deployment_overview" STRUCT(
"pending" BIGINT,
"in_progress" BIGINT,
"succeeded" BIGINT,
"failed" BIGINT,
"skipped" BIGINT,
"ready" BIGINT
),
"description" VARCHAR,
"creator" VARCHAR,
"ignore_application_stop_failures" BOOLEAN,
"auto_rollback_configuration" STRUCT(
"enabled" BOOLEAN,
"events" VARCHAR[]
),
"update_outdated_instances_only" BOOLEAN,
"rollback_info" STRUCT(
"rollback_deployment_id" VARCHAR,
"rollback_triggering_deployment_id" VARCHAR,
"rollback_message" VARCHAR
),
"deployment_style" STRUCT(
"deployment_type" VARCHAR,
"deployment_option" VARCHAR
),
"target_instances" STRUCT(
"tag_filters" STRUCT(
"key" VARCHAR,
"value" VARCHAR,
"type" VARCHAR
)[],
"auto_scaling_groups" VARCHAR[],
"ec2_tag_set" STRUCT(
"ec2_tag_set_list" STRUCT(
"key" VARCHAR,
"value" VARCHAR,
"type" VARCHAR
)[][]
)
),
"instance_termination_wait_time_started" BOOLEAN,
"blue_green_deployment_configuration" STRUCT(
"terminate_blue_instances_on_deployment_success" STRUCT(
"action" VARCHAR,
"termination_wait_time_in_minutes" BIGINT
),
"deployment_ready_option" STRUCT(
"action_on_timeout" VARCHAR,
"wait_time_in_minutes" BIGINT
),
"green_fleet_provisioning_option" STRUCT(
"action" VARCHAR
)
),
"load_balancer_info" STRUCT(
"elb_info_list" STRUCT(
"name" VARCHAR
)[],
"target_group_info_list" STRUCT(
"name" VARCHAR
)[],
"target_group_pair_info_list" STRUCT(
"target_groups" STRUCT(
"name" VARCHAR
)[],
"prod_traffic_route" STRUCT(
"listener_arns" VARCHAR[]
),
"test_traffic_route" STRUCT(
"listener_arns" VARCHAR[]
)
)[]
),
"additional_deployment_status_info" VARCHAR,
"file_exists_behavior" VARCHAR,
"deployment_status_messages" VARCHAR[],
"compute_platform" VARCHAR,
"external_id" VARCHAR,
"related_deployments" STRUCT(
"auto_update_outdated_instances_root_deployment_id" VARCHAR,
"auto_update_outdated_instances_deployment_ids" VARCHAR[]
),
"override_alarm_configuration" STRUCT(
"enabled" BOOLEAN,
"ignore_poll_alarm_failure" BOOLEAN,
"alarms" STRUCT(
"name" VARCHAR
)[]
)
)
Show child fields
deployment_info.additional_deployment_status_info

Provides information about the results of a deployment, such as whether instances in the original environment in a blue/green deployment were not terminated.

deployment_info.application_name

The application name.

deployment_info.auto_rollback_configuration

Information about the automatic rollback configuration associated with the deployment.

Show child fields
deployment_info.auto_rollback_configuration.enabled

Indicates whether a defined automatic rollback configuration is currently enabled.

deployment_info.auto_rollback_configuration.events[]
deployment_info.blue_green_deployment_configuration

Information about blue/green deployment options for this deployment.

Show child fields
deployment_info.blue_green_deployment_configuration.deployment_ready_option

Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.

Show child fields
deployment_info.blue_green_deployment_configuration.deployment_ready_option.action_on_timeout

Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.

  • CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.

  • STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.

deployment_info.blue_green_deployment_configuration.deployment_ready_option.wait_time_in_minutes

The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout.

deployment_info.blue_green_deployment_configuration.green_fleet_provisioning_option

Information about how instances are provisioned for a replacement environment in a blue/green deployment.

Show child fields
deployment_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action

The method used to add instances to a replacement environment.

  • DISCOVER_EXISTING: Use instances that already exist or will be created manually.

  • COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.

deployment_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success

Information about whether to terminate instances in the original fleet during a blue/green deployment.

Show child fields
deployment_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.action

The action to take on instances in the original environment after a successful blue/green deployment.

  • TERMINATE: Instances are terminated after a specified wait time.

  • KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.

deployment_info.blue_green_deployment_configuration.terminate_blue_instances_on_deployment_success.termination_wait_time_in_minutes

For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

The maximum setting is 2880 minutes (2 days).

deployment_info.complete_time

A timestamp that indicates when the deployment was complete.

deployment_info.compute_platform

The destination platform type for the deployment (Lambda, Server, or ECS).

deployment_info.create_time

A timestamp that indicates when the deployment was created.

deployment_info.creator

The means by which the deployment was created:

  • user: A user created the deployment.

  • autoscaling: Amazon EC2 Auto Scaling created the deployment.

  • codeDeployRollback: A rollback process created the deployment.

  • CodeDeployAutoUpdate: An auto-update process created the deployment when it detected outdated Amazon EC2 instances.

deployment_info.deployment_config_name

The deployment configuration name.

deployment_info.deployment_group_name

The deployment group name.

deployment_info.deployment_id

The unique ID of a deployment.

deployment_info.deployment_overview

A summary of the deployment status of the instances in the deployment.

Show child fields
deployment_info.deployment_overview.failed

The number of instances in the deployment in a failed state.

deployment_info.deployment_overview.in_progress

The number of instances in which the deployment is in progress.

deployment_info.deployment_overview.pending

The number of instances in the deployment in a pending state.

deployment_info.deployment_overview.ready

The number of instances in a replacement environment ready to receive traffic in a blue/green deployment.

deployment_info.deployment_overview.skipped

The number of instances in the deployment in a skipped state.

deployment_info.deployment_overview.succeeded

The number of instances in the deployment to which revisions have been successfully deployed.

deployment_info.deployment_status_messages[]
deployment_info.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.

Show child fields
deployment_info.deployment_style.deployment_option

Indicates whether to route deployment traffic behind a load balancer.

deployment_info.deployment_style.deployment_type

Indicates whether to run an in-place deployment or a blue/green deployment.

deployment_info.description

A comment about the deployment.

deployment_info.error_information

Information about any error associated with this deployment.

Show child fields
deployment_info.error_information.code

For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.

The error code:

  • APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started.

  • DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started.

  • HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified.

  • HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified.

  • IAM_ROLE_MISSING: The service role cannot be accessed.

  • IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions.

  • INTERNAL_ERROR: There was an internal error.

  • NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.

  • NO_INSTANCES: No instances were specified, or no instances can be found.

  • OVER_MAX_INSTANCES: The maximum number of instances was exceeded.

  • THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services.

  • TIMEOUT: The deployment has timed out.

  • REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started.

deployment_info.error_information.message

An accompanying error message.

deployment_info.external_id

The unique ID for an external resource (for example, a CloudFormation stack ID) that is linked to this deployment.

deployment_info.file_exists_behavior

Information about how CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.

  • DISALLOW: The deployment fails. This is also the default behavior if no option is specified.

  • OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.

  • RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.

deployment_info.ignore_application_stop_failures

If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop.

If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted.

During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail.

If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures should be ignored.

deployment_info.instance_termination_wait_time_started

Indicates whether the wait period set for the termination of instances in the original environment has started. Status is 'false' if the KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the termination wait period starts.

deployment_info.load_balancer_info

Information about the load balancer used in the deployment.

Show child fields
deployment_info.load_balancer_info.elb_info_list[]
Show child fields
deployment_info.load_balancer_info.elb_info_list[].name

For blue/green deployments, the name of the Classic Load Balancer that is used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the Classic Load Balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.

deployment_info.load_balancer_info.target_group_info_list[]
Show child fields
deployment_info.load_balancer_info.target_group_info_list[].name

For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.

deployment_info.load_balancer_info.target_group_pair_info_list[]
Show child fields
deployment_info.load_balancer_info.target_group_pair_info_list[].prod_traffic_route

The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

Show child fields
deployment_info.load_balancer_info.target_group_pair_info_list[].prod_traffic_route.listener_arns[]
deployment_info.load_balancer_info.target_group_pair_info_list[].target_groups[]
Show child fields
deployment_info.load_balancer_info.target_group_pair_info_list[].target_groups[].name

For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.

deployment_info.load_balancer_info.target_group_pair_info_list[].test_traffic_route

An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.

Show child fields
deployment_info.load_balancer_info.target_group_pair_info_list[].test_traffic_route.listener_arns[]
deployment_info.override_alarm_configuration

Information about alarms associated with a deployment or deployment group.

Show child fields
deployment_info.override_alarm_configuration.alarms[]
Show child fields
deployment_info.override_alarm_configuration.alarms[].name

The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.

deployment_info.override_alarm_configuration.enabled

Indicates whether the alarm configuration is enabled.

deployment_info.override_alarm_configuration.ignore_poll_alarm_failure

Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.

  • true: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch.

  • false: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.

deployment_info.previous_revision

Information about the application revision that was deployed to the deployment group before the most recent successful deployment.

Show child fields
deployment_info.previous_revision.app_spec_content

The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

Show child fields
deployment_info.previous_revision.app_spec_content.content

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

deployment_info.previous_revision.app_spec_content.sha256

The SHA256 hash value of the revision content.

deployment_info.previous_revision.git_hub_location

Information about the location of application artifacts stored in GitHub.

Show child fields
deployment_info.previous_revision.git_hub_location.commit_id

The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.

deployment_info.previous_revision.git_hub_location.repository

The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.

Specified as account/repository.

deployment_info.previous_revision.revision_type

The type of application revision:

  • S3: An application revision stored in Amazon S3.

  • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

  • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

  • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

deployment_info.previous_revision.s3_location

Information about the location of a revision stored in Amazon S3.

Show child fields
deployment_info.previous_revision.s3_location.bucket

The name of the Amazon S3 bucket where the application revision is stored.

deployment_info.previous_revision.s3_location.bundle_type

The file type of the application revision. Must be one of the following:

  • tar: A tar archive file.

  • tgz: A compressed tar archive file.

  • zip: A zip archive file.

  • YAML: A YAML-formatted file.

  • JSON: A JSON-formatted file.

deployment_info.previous_revision.s3_location.e_tag

The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the ETag is not specified as an input parameter, ETag validation of the object is skipped.

deployment_info.previous_revision.s3_location.key

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

deployment_info.previous_revision.s3_location.version

A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the version is not specified, the system uses the most recent version by default.

deployment_info.previous_revision.string

Information about the location of an Lambda deployment revision stored as a RawString.

Show child fields
deployment_info.previous_revision.string.content

The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

deployment_info.previous_revision.string.sha256

The SHA256 hash value of the revision content.

deployment_info.related_deployments

Information about deployments related to the specified deployment.

Show child fields
deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids[]
deployment_info.related_deployments.auto_update_outdated_instances_root_deployment_id

The deployment ID of the root deployment that triggered this deployment.

deployment_info.revision

Information about the location of stored application artifacts and the service from which to retrieve them.

Show child fields
deployment_info.revision.app_spec_content

The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

Show child fields
deployment_info.revision.app_spec_content.content

The YAML-formatted or JSON-formatted revision string.

For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.

For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

deployment_info.revision.app_spec_content.sha256

The SHA256 hash value of the revision content.

deployment_info.revision.git_hub_location

Information about the location of application artifacts stored in GitHub.

Show child fields
deployment_info.revision.git_hub_location.commit_id

The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.

deployment_info.revision.git_hub_location.repository

The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.

Specified as account/repository.

deployment_info.revision.revision_type

The type of application revision:

  • S3: An application revision stored in Amazon S3.

  • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

  • String: A YAML-formatted or JSON-formatted string (Lambda deployments only).

  • AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

deployment_info.revision.s3_location

Information about the location of a revision stored in Amazon S3.

Show child fields
deployment_info.revision.s3_location.bucket

The name of the Amazon S3 bucket where the application revision is stored.

deployment_info.revision.s3_location.bundle_type

The file type of the application revision. Must be one of the following:

  • tar: A tar archive file.

  • tgz: A compressed tar archive file.

  • zip: A zip archive file.

  • YAML: A YAML-formatted file.

  • JSON: A JSON-formatted file.

deployment_info.revision.s3_location.e_tag

The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the ETag is not specified as an input parameter, ETag validation of the object is skipped.

deployment_info.revision.s3_location.key

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

deployment_info.revision.s3_location.version

A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the version is not specified, the system uses the most recent version by default.

deployment_info.revision.string

Information about the location of an Lambda deployment revision stored as a RawString.

Show child fields
deployment_info.revision.string.content

The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

deployment_info.revision.string.sha256

The SHA256 hash value of the revision content.

deployment_info.rollback_info

Information about a deployment rollback.

Show child fields
deployment_info.rollback_info.rollback_deployment_id

The ID of the deployment rollback.

deployment_info.rollback_info.rollback_message

Information that describes the status of a deployment rollback (for example, whether the deployment can't be rolled back, is in progress, failed, or succeeded).

deployment_info.rollback_info.rollback_triggering_deployment_id

The deployment ID of the deployment that was underway and triggered a rollback deployment because it failed or was stopped.

deployment_info.start_time

A timestamp that indicates when the deployment was deployed to the deployment group.

In some cases, the reported value of the start time might be later than the complete time. This is due to differences in the clock settings of backend servers that participate in the deployment process.

deployment_info.status

The current state of the deployment as a whole.

deployment_info.target_instances

Information about the instances that belong to the replacement environment in a blue/green deployment.

Show child fields
deployment_info.target_instances.auto_scaling_groups[]
deployment_info.target_instances.ec2_tag_set

Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

Show child fields
deployment_info.target_instances.ec2_tag_set.ec2_tag_set_list[][]
Show child fields
deployment_info.target_instances.ec2_tag_set.ec2_tag_set_list[][].key

The tag filter key.

deployment_info.target_instances.ec2_tag_set.ec2_tag_set_list[][].type

The tag filter type:

  • KEY_ONLY: Key only.

  • VALUE_ONLY: Value only.

  • KEY_AND_VALUE: Key and value.

deployment_info.target_instances.ec2_tag_set.ec2_tag_set_list[][].value

The tag filter value.

deployment_info.target_instances.tag_filters[]
Show child fields
deployment_info.target_instances.tag_filters[].key

The tag filter key.

deployment_info.target_instances.tag_filters[].type

The tag filter type:

  • KEY_ONLY: Key only.

  • VALUE_ONLY: Value only.

  • KEY_AND_VALUE: Key and value.

deployment_info.target_instances.tag_filters[].value

The tag filter value.

deployment_info.update_outdated_instances_only

Indicates whether only instances that are not running the latest application revision are to be deployed to.