Skip to main content

deployments

Retrieves a list of deployments in a region

Overview

Namedeployments
TypeResource
Descriptiondeployments
Idawscc.greengrassv2.deployments

Fields

NameDatatypeDescription
deployment_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
deployment_id
FROM awscc.greengrassv2.deployments
WHERE region = 'us-east-1'

Permissions

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

Create

greengrass:CreateDeployment,
greengrass:GetDeployment,
greengrass:TagResource,
iot:CancelJob,
iot:CreateJob,
iot:DeleteThingShadow,
iot:DescribeJob,
iot:DescribeThing,
iot:DescribeThingGroup,
iot:GetThingShadow,
iot:UpdateJob,
iot:UpdateThingShadow

List

greengrass:ListDeployments,
iot:DescribeJob,
iot:DescribeThing,
iot:DescribeThingGroup,
iot:GetThingShadow