CmdID / aws / aws imagebuilder
aws imagebuilder delete-infrastructure-configuration
Deletes an infrastructure configuration. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete an infrastructure configuration
The following delete-infrastructure-configuration example deletes an image pipeline by specifying its ARN.
aws imagebuilder delete-infrastructure-configuration --infrastructure-configuration-arn arn:aws:imagebuilder:us-west-2:123456789012:infrastructure-configuration/myexampleinfrastructureIdentify--infrastructure-configuration-arnThe Amazon Resource Name (ARN) of the infrastructure configuration to delete.Its output
{
"requestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"infrastructureConfigurationArn": "arn:aws:imagebuilder:us-west-2:123456789012:infrastructure-configuration/myexampleinfrastructure"
}For more information, see Manage custom image creation in Image Builder through a repeatable pipeline process in the EC2 Image Builder Users Guide.
Options
--infrastructure-configuration-arnThe Amazon Resource Name (ARN) of the infrastructure configuration to delete.