CmdID / aws / aws greengrass
aws greengrass start-bulk-deployment
Deploys multiple groups in one operation. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To start a bulk deployment operation
The following start-bulk-deployment example starts a bulk deployment operation, using a file stored in an S3 bucket to specify the groups to be deployed.
aws greengrass start-bulk-deployment --cli-input-json "{\"InputFileUri\":\"https://gg-group-deployment1.s3-us-west-2.amazonaws.com/MyBulkDeploymentInputFile.txt\", \"ExecutionRoleArn\":\"arn:aws:iam::123456789012:role/ggCreateDeploymentRole\",\"AmznClientToken\":\"yourAmazonClientToken\"}"IdentifyIts output
{
"BulkDeploymentArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/bulk/deployments/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"BulkDeploymentId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Create bulk deployments for groups in the AWS IoT Greengrass Developer Guide.
Options
--amzn-client-tokenA client token used to correlate requests and responses.--execution-role-arnThe ARN of the execution role to associate with the bulk deployment operation.--input-file-uriThe URI of the input file contained in the S3 bucket.--tagsTag(s) to add to the new resource.