aws ec2 replace-image-instance-type-specification
Replaces or removes the instance type specification for an AMI. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--image-idThe ID of the AMI.--instance-type-specificationThe instance type specification to set on the AMI.