Skip to main content

deployment

Gets an individual deployment resource

Overview

Namedeployment
TypeResource
Descriptiondeployment
Idawscc.apigateway.deployment

Fields

NameDatatypeDescription
deployment_idstring
deployment_canary_settingsobjectThe input configuration for a canary deployment.
descriptionstringThe description for the Deployment resource to create.
rest_api_idstringThe string identifier of the associated RestApi.
stage_descriptionobjectThe description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.
stage_namestringThe name of the Stage resource for the Deployment resource to create.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
deployment_id,
deployment_canary_settings,
description,
rest_api_id,
stage_description,
stage_name
FROM awscc.apigateway.deployment
WHERE data__Identifier = '<DeploymentId>|<RestApiId>';

Permissions

To operate on the deployment resource, the following permissions are required:

Read

apigateway:GET

Update

apigateway:PATCH,
apigateway:GET,
apigateway:PUT,
apigateway:DELETE

Delete

apigateway:GET,
apigateway:DELETE