CmdID / aws / aws imagebuilder
aws imagebuilder start-image-pipeline-execution
Manually triggers a pipeline to create an image. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To start an image pipeline manually
The following start-image-pipeline-execution example manually starts an image pipeline.
aws imagebuilder start-image-pipeline-execution --image-pipeline-arn arn:aws:imagebuilder:us-west-2:123456789012:image-pipeline/mywindows2016pipelineIdentify--image-pipeline-arnThe Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.Its output
{
"requestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"clientToken": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"imageBuildVersionArn": "arn:aws:imagebuilder:us-west-2:123456789012:image/mybasicrecipe/2019.12.03/1"
}For more information, see Manage custom image creation in Image Builder through a repeatable pipeline process in the EC2 Image Builder Users Guide.
Options
--client-tokenA unique, case-sensitive identifier you provide to ensure that the operation runs no more than one time.--image-pipeline-arnThe Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.--tagsThe tags for Image Builder to apply to the image resource that's created when pipeline execution starts.