imageId
The ID of the AMI in the format ami-17characters00000
.
Alternatively, you can specify a Systems Manager parameter, using one of the following formats. The Systems Manager parameter will resolve to an AMI ID on launch.
To reference a public parameter:
resolve:ssm:<i>public-parameter</i>
To reference a parameter stored in the same account:
resolve:ssm:<i>parameter-name</i>
resolve:ssm:<i>parameter-name:version-number</i>
resolve:ssm:<i>parameter-name:label</i>
To reference a parameter shared from another Amazon Web Services account:
resolve:ssm:<i>parameter-ARN</i>
resolve:ssm:<i>parameter-ARN:version-number</i>
resolve:ssm:<i>parameter-ARN:label</i>
For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.
This parameter is only available for fleets of type instant
. For fleets of type maintain
and request
, you must specify the AMI ID in the launch template.