CmdID / aws / aws imagebuilder
aws imagebuilder create-image
Creates a new image along with all configured output resources defined in the distribution configuration. AWS CLI reference
12 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier you provide to ensure that the operation runs no more than one time.--container-recipe-arnThe Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.--distribution-configuration-arnThe Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of the image build.--enhanced-image-metadata-enabledSpecifies whether to collect additional information about the image being created, including the operating system (OS) version and package list.--execution-roleThe name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.--image-recipe-arnThe Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.--image-scanning-configurationThe settings that determine whether and how Amazon Inspector scans the image for vulnerabilities.--image-tests-configurationSettings that determine whether Image Builder runs tests on the image after building it.--infrastructure-configuration-arnThe Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.--logging-configurationThe CloudWatch Logs log group where Image Builder sends the image build logs.--tagsThe tags of the image.--workflowsThe array of workflow configuration objects for the build.