Skip to content

aws.proton.get_deployment

Example SQL Queries

SELECT * FROM
aws.proton.get_deployment
WHERE
"id" = 'VALUE';

Description

Get detailed data for a deployment.

Table Definition

Column NameColumn Data Type
id Required Input Column

The ID of the deployment that you want to get the detailed data for.

VARCHAR
component_name Input Column

The name of a component that you want to get the detailed data for.

VARCHAR
environment_name Input Column

The name of a environment that you want to get the detailed data for.

VARCHAR
service_instance_name Input Column

The name of the service instance associated with the given deployment ID. serviceName must be specified to identify the service instance.

VARCHAR
service_name Input Column

The name of the service associated with the given deployment ID.

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

The detailed data of the requested deployment.

STRUCT(
"arn" VARCHAR,
"completed_at" TIMESTAMP_S,
"component_name" VARCHAR,
"created_at" TIMESTAMP_S,
"deployment_status" VARCHAR,
"deployment_status_message" VARCHAR,
"environment_name" VARCHAR,
"id" VARCHAR,
"initial_state" STRUCT(
"component" STRUCT(
"service_instance_name" VARCHAR,
"service_name" VARCHAR,
"service_spec" VARCHAR,
"template_file" VARCHAR
),
"environment" STRUCT(
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
),
"service_instance" STRUCT(
"last_successful_component_deployment_ids" VARCHAR[],
"last_successful_environment_deployment_id" VARCHAR,
"last_successful_service_pipeline_deployment_id" VARCHAR,
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
),
"service_pipeline" STRUCT(
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
)
),
"last_attempted_deployment_id" VARCHAR,
"last_modified_at" TIMESTAMP_S,
"last_succeeded_deployment_id" VARCHAR,
"service_instance_name" VARCHAR,
"service_name" VARCHAR,
"target_arn" VARCHAR,
"target_resource_created_at" TIMESTAMP_S,
"target_resource_type" VARCHAR,
"target_state" STRUCT(
"component" STRUCT(
"service_instance_name" VARCHAR,
"service_name" VARCHAR,
"service_spec" VARCHAR,
"template_file" VARCHAR
),
"environment" STRUCT(
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
),
"service_instance" STRUCT(
"last_successful_component_deployment_ids" VARCHAR[],
"last_successful_environment_deployment_id" VARCHAR,
"last_successful_service_pipeline_deployment_id" VARCHAR,
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
),
"service_pipeline" STRUCT(
"spec" VARCHAR,
"template_major_version" VARCHAR,
"template_minor_version" VARCHAR,
"template_name" VARCHAR
)
)
)
Show child fields
deployment.arn

The Amazon Resource Name (ARN) of the deployment.

deployment.completed_at

The date and time the deployment was completed.

deployment.component_name

The name of the component associated with this deployment.

deployment.created_at

The date and time the deployment was created.

deployment.deployment_status

The status of the deployment.

deployment.deployment_status_message

The deployment status message.

deployment.environment_name

The name of the environment associated with this deployment.

deployment.id

The ID of the deployment.

deployment.initial_state

The initial state of the target resource at the time of the deployment.

Show child fields
deployment.initial_state.component

The state of the component associated with the deployment.

Show child fields
deployment.initial_state.component.service_instance_name

The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.

deployment.initial_state.component.service_name

The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.

deployment.initial_state.component.service_spec

The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.

deployment.initial_state.component.template_file

The template file used.

deployment.initial_state.environment

The state of the environment associated with the deployment.

Show child fields
deployment.initial_state.environment.spec

The environment spec that was used to create the environment.

deployment.initial_state.environment.template_major_version

The major version of the environment template that was used to create the environment.

deployment.initial_state.environment.template_minor_version

The minor version of the environment template that was used to create the environment.

deployment.initial_state.environment.template_name

The name of the environment template that was used to create the environment.

deployment.initial_state.service_instance

The state of the service instance associated with the deployment.

Show child fields
deployment.initial_state.service_instance.last_successful_component_deployment_ids[]
deployment.initial_state.service_instance.last_successful_environment_deployment_id

The ID for the last successful environment deployed for this service instance.

deployment.initial_state.service_instance.last_successful_service_pipeline_deployment_id

The ID for the last successful service pipeline deployed for this service instance.

deployment.initial_state.service_instance.spec

The service spec that was used to create the service instance.

deployment.initial_state.service_instance.template_major_version

The major version of the service template that was used to create the service pipeline.

deployment.initial_state.service_instance.template_minor_version

The minor version of the service template that was used to create the service pipeline.

deployment.initial_state.service_instance.template_name

The name of the service template that was used to create the service instance.

deployment.initial_state.service_pipeline

The state of the service pipeline associated with the deployment.

Show child fields
deployment.initial_state.service_pipeline.spec

The service spec that was used to create the service pipeline.

deployment.initial_state.service_pipeline.template_major_version

The major version of the service template that was used to create the service pipeline.

deployment.initial_state.service_pipeline.template_minor_version

The minor version of the service template that was used to create the service pipeline.

deployment.initial_state.service_pipeline.template_name

The name of the service template that was used to create the service pipeline.

deployment.last_attempted_deployment_id

The ID of the last attempted deployment.

deployment.last_modified_at

The date and time the deployment was last modified.

deployment.last_succeeded_deployment_id

The ID of the last successful deployment.

deployment.service_instance_name

The name of the deployment's service instance.

deployment.service_name

The name of the service in this deployment.

deployment.target_arn

The Amazon Resource Name (ARN) of the target of the deployment.

deployment.target_resource_created_at

The date and time the depoyment target was created.

deployment.target_resource_type

The resource type of the deployment target. It can be an environment, service, service instance, or component.

deployment.target_state

The target state of the target resource at the time of the deployment.

Show child fields
deployment.target_state.component

The state of the component associated with the deployment.

Show child fields
deployment.target_state.component.service_instance_name

The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.

deployment.target_state.component.service_name

The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.

deployment.target_state.component.service_spec

The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.

deployment.target_state.component.template_file

The template file used.

deployment.target_state.environment

The state of the environment associated with the deployment.

Show child fields
deployment.target_state.environment.spec

The environment spec that was used to create the environment.

deployment.target_state.environment.template_major_version

The major version of the environment template that was used to create the environment.

deployment.target_state.environment.template_minor_version

The minor version of the environment template that was used to create the environment.

deployment.target_state.environment.template_name

The name of the environment template that was used to create the environment.

deployment.target_state.service_instance

The state of the service instance associated with the deployment.

Show child fields
deployment.target_state.service_instance.last_successful_component_deployment_ids[]
deployment.target_state.service_instance.last_successful_environment_deployment_id

The ID for the last successful environment deployed for this service instance.

deployment.target_state.service_instance.last_successful_service_pipeline_deployment_id

The ID for the last successful service pipeline deployed for this service instance.

deployment.target_state.service_instance.spec

The service spec that was used to create the service instance.

deployment.target_state.service_instance.template_major_version

The major version of the service template that was used to create the service pipeline.

deployment.target_state.service_instance.template_minor_version

The minor version of the service template that was used to create the service pipeline.

deployment.target_state.service_instance.template_name

The name of the service template that was used to create the service instance.

deployment.target_state.service_pipeline

The state of the service pipeline associated with the deployment.

Show child fields
deployment.target_state.service_pipeline.spec

The service spec that was used to create the service pipeline.

deployment.target_state.service_pipeline.template_major_version

The major version of the service template that was used to create the service pipeline.

deployment.target_state.service_pipeline.template_minor_version

The minor version of the service template that was used to create the service pipeline.

deployment.target_state.service_pipeline.template_name

The name of the service template that was used to create the service pipeline.