Skip to main content

deployments

Creates, updates, deletes, gets or lists a deployments resource.

Overview

Namedeployments
TypeResource
Idaws.appconfig.deployments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_idstringThe ID of the application that was deployed. (pattern: <code>[a-z0-9]{4,7}</code>)
applied_extensionsarrayA list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.
completed_atstring (date-time)The time the deployment completed.
configuration_location_uristringInformation about the source location of the configuration.
configuration_namestringThe name of the configuration.
configuration_profile_idstringThe ID of the configuration profile that was deployed. (pattern: <code>[a-z0-9]{4,7}</code>)
configuration_versionstringThe configuration version that was deployed.
deployment_duration_in_minutesintegerTotal amount of time the deployment lasted.
deployment_numberintegerThe sequence number of the deployment.
deployment_strategy_idstringThe ID of the deployment strategy that was deployed. (pattern: <code>[a-z0-9]{4,7}</code>)
descriptionstringThe description of the deployment.
environment_idstringThe ID of the environment that was deployed. (pattern: <code>[a-z0-9]{4,7}</code>)
event_logarrayA list containing all events related to a deployment. The most recent events are displayed first.
final_bake_time_in_minutesintegerThe amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
growth_factornumber (float)The percentage of targets to receive a deployed configuration during each interval.
growth_typestringThe algorithm used to define how percentage grew over time. (LINEAR, EXPONENTIAL)
kms_key_arnstringThe Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store. (pattern: <code>arn:(aws[a-zA-Z-]*)?:[a-z]+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+</code>)
kms_key_identifierstringThe Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
percentage_completenumber (float)The percentage of targets for which the deployment is available.
started_atstring (date-time)The time the deployment started.
statestringThe state of the deployment. (BAKING, VALIDATING, DEPLOYING, COMPLETE, ROLLING_BACK, ROLLED_BACK, REVERTED)
version_labelstringA user-defined label for an AppConfig hosted configuration version. (pattern: <code>.[^0-9].</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_deploymentselectapplication_id, environment_id, deployment_number, regionRetrieves information about a configuration deployment.
list_deploymentsselectapplication_id, environment_id, regionmax_results, next_tokenLists the deployments for an environment in descending deployment number order.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application_idstringThe application ID.
deployment_numberintegerThe sequence number of the deployment.
environment_idstringThe environment ID.
regionstringAWS region (default: us-east-1)
max_resultsintegerThe maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.
next_tokenstringThe token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

SELECT examples

Retrieves information about a configuration deployment.

SELECT
application_id,
applied_extensions,
completed_at,
configuration_location_uri,
configuration_name,
configuration_profile_id,
configuration_version,
deployment_duration_in_minutes,
deployment_number,
deployment_strategy_id,
description,
environment_id,
event_log,
final_bake_time_in_minutes,
growth_factor,
growth_type,
kms_key_arn,
kms_key_identifier,
percentage_complete,
started_at,
state,
version_label
FROM aws.appconfig.deployments
WHERE application_id = '{{ application_id }}' -- required
AND environment_id = '{{ environment_id }}' -- required
AND deployment_number = '{{ deployment_number }}' -- required
AND region = '{{ region }}' -- required
;