deployment
Gets an individual deployment
resource
Overview
Name | deployment |
Type | Resource |
Description | deployment |
Id | awscc.greengrassv2.deployment |
Fields
Name | Datatype | Description |
---|---|---|
target_arn | string | |
parent_target_arn | string | |
deployment_id | string | |
deployment_name | string | |
components | object | |
iot_job_configuration | object | |
deployment_policies | object | |
tags | object | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
target_arn,
parent_target_arn,
deployment_id,
deployment_name,
components,
iot_job_configuration,
deployment_policies,
tags
FROM awscc.greengrassv2.deployment
WHERE data__Identifier = '<DeploymentId>';
Permissions
To operate on the deployment
resource, the following permissions are required:
Read
greengrass:GetDeployment,
iot:DescribeJob,
iot:DescribeThing,
iot:DescribeThingGroup,
iot:GetThingShadow
Update
greengrass:GetDeployment,
greengrass:TagResource,
greengrass:UntagResource,
iot:DescribeJob
Delete
greengrass:DeleteDeployment,
greengrass:CancelDeployment,
iot:CancelJob,
iot:DeleteJob,
iot:DescribeJob