AWS::Image type

Declarative primitive for referencing AWS AMI resources. Supported anchor items: State (defaults to "available"), OwnerId, Name (Str or Pfx), RootDeviceType, VirtualizationType (defaults to hvm), VolumeType, ImageId. Supported properties: (not supported yet).

Direct parent types

AWS::ResDef
AWS Resource definition
Direct subtypes: 14

Methods

find(rd:AWS::Image)
Declarative primitive for finding AWS AMI resources
latest(rd:AWS::Image)
Declarative primitive for referencing latest AWS AMI resources. Will probably be reworked to be special anchor item.

Example

AWS::Image(OwnerId=AWS_AMI_OWNER_DEBIAN, Name=Pfx('debian-jessie-amd64-hvm'), RootDeviceType='ebs', VolumeType='gp2').latest()