kerry-0.1.1: Manage and abstract your packer configurations.

Safe HaskellNone
LanguageHaskell2010

Kerry.Builder.AmazonEC2

Contents

Synopsis

General AmazonEC2 Builder

data AWS x Source #

Constructors

AWS 
Instances
Eq x => Eq (AWS x) Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

(==) :: AWS x -> AWS x -> Bool #

(/=) :: AWS x -> AWS x -> Bool #

Ord x => Ord (AWS x) Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

compare :: AWS x -> AWS x -> Ordering #

(<) :: AWS x -> AWS x -> Bool #

(<=) :: AWS x -> AWS x -> Bool #

(>) :: AWS x -> AWS x -> Bool #

(>=) :: AWS x -> AWS x -> Bool #

max :: AWS x -> AWS x -> AWS x #

min :: AWS x -> AWS x -> AWS x #

Show x => Show (AWS x) Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

showsPrec :: Int -> AWS x -> ShowS #

show :: AWS x -> String #

showList :: [AWS x] -> ShowS #

fromAWS :: (a -> [Pair]) -> AWS a -> [Pair] Source #

Utilities

data SourceAmiFilterKey Source #

Constructors

Architecture

The image architecture (i386 | x86_64).

BlockDeviceMappingDeleteOnTermination

A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

BlockDeviceMappingDeviceName

The device name specified in the block device mapping (for example, devsdh or xvdh).rmination

BlockDeviceMappingSnapshotId

The ID of the snapshot used for the EBS volume.

BlockDeviceMappingVolumeSize

The volume size of the EBS volume, in GiB.

BlockDeviceMappingVolumeType

The volume type of the EBS volume (gp2 | io1 | st1 | sc1 | standard).

BlockDevice

A Boolean that indicates whether the EBS volume is encrypted.e

Description

The description of the image (provided during image creation).-mapping.encrypted

EnaSupport

A Boolean that indicates whether enhanced networking with ENA is enabled.

Hypervisor

The hypervisor type (ovm | xen).

ImageId

The ID of the image.r

ImageType

The image type (machine | kernel | ramdisk).

IsPublic

A Boolean that indicates whether the image is public.

KernelId

The kernel ID.

ManifestLocation

The location of the image manifest.

Name

The name of the AMI (provided during image creation).est-location

OwnerAlias

String value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM console.

OwnerId

The AWS account ID of the image owner.as

Platform

The platform. To only list Windows-based AMIs, use windows.

ProductCode

The product code.

ProductCodeType

The type of the product code (devpay | marketplace).

RamdiskId

The RAM disk ID

RootDeviceName

The device name of the root device volume (for example, devsda1).

RootDeviceType

The type of the root device volume (ebs | instance-store).

State

The state of the image (available | pending | failed).evice-type

StateReasonCode

The reason code for the state change.

StateReasonMessage

The message for the state change.

SriovNetSupport

A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.ge

Tag Text

The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.support

TagKey

The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.>

VirtualizationType

The virtualization type (paravirtual | hvm).

data BlockDeviceMapping Source #

Constructors

BlockDeviceMapping 

Fields

Builders

EBS Backed

data EBS Source #

Amazon AMI Builder

Create EBS-backed AMIs by launching a source AMI and re-packaging it into a new AMI after provisioning. If in doubt, use this builder, which is the easiest to get started with.

https://www.packer.io/docs/builders/amazon-ebs.html

'amazon-ebs'

Constructors

EBS 

Fields

Instances
Eq EBS Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

(==) :: EBS -> EBS -> Bool #

(/=) :: EBS -> EBS -> Bool #

Ord EBS Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

compare :: EBS -> EBS -> Ordering #

(<) :: EBS -> EBS -> Bool #

(<=) :: EBS -> EBS -> Bool #

(>) :: EBS -> EBS -> Bool #

(>=) :: EBS -> EBS -> Bool #

max :: EBS -> EBS -> EBS #

min :: EBS -> EBS -> EBS #

Show EBS Source # 
Instance details

Defined in Kerry.Builder.AmazonEC2

Methods

showsPrec :: Int -> EBS -> ShowS #

show :: EBS -> String #

showList :: [EBS] -> ShowS #

ebs :: Text -> SourceAmi -> Text -> EBS Source #

Construct a basic amazon-ebs builder.

fromEBS :: EBS -> [Pair] Source #

EBS serialization