@import config.AMIableConfig @(ami: AMI, conf: AMIableConfig) @import utils.DateUtils.{readableDateTime, getAgeColour, daysAgo} @import prism.Recommendations @ami.name.map { name => } @ami.description.map { description => } @if(ami.tags.nonEmpty) { }
Image ID @ami.imageId - view usage
Creation date @ami.creationDate match { case Some(date) => { @readableDateTime.print(date) - @daysAgo(date) day@if(daysAgo(date) != 1){s} old } case None => { Very old (no creation date available) } }
Name @ami.name
Description @ami.description
Tags
@for( (key, value) <- ami.tags) { }
@key: @if(key == "Recipe"){ @value } else { @value }
Region @ami.region
Virtualization @ami.virtualizationType
Architecture @ami.architecture
Storage type @ami.rootDeviceType
Owner @Recommendations.owner(ami)
ARN @ami.arn