Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Credentials
- data AWS x = AWS {
- awsRegion :: Text
- awsCredentials :: Credentials
- awsBuilder :: x
- fromAWS :: (a -> [Pair]) -> AWS a -> [Pair]
- data SourceAmi
- data AWSAmiOwner
- data SourceAmiFilterKey
- = Architecture
- | BlockDeviceMappingDeleteOnTermination
- | BlockDeviceMappingDeviceName
- | BlockDeviceMappingSnapshotId
- | BlockDeviceMappingVolumeSize
- | BlockDeviceMappingVolumeType
- | BlockDevice
- | Description
- | EnaSupport
- | Hypervisor
- | ImageId
- | ImageType
- | IsPublic
- | KernelId
- | ManifestLocation
- | Name
- | OwnerAlias
- | OwnerId
- | Platform
- | ProductCode
- | ProductCodeType
- | RamdiskId
- | RootDeviceName
- | RootDeviceType
- | State
- | StateReasonCode
- | StateReasonMessage
- | SriovNetSupport
- | Tag Text
- | TagKey
- | VirtualizationType
- data BlockDeviceMapping = BlockDeviceMapping {
- blockDeviceMappingName :: Text
- blockDeviceMappingVolumeType :: Text
- blockDeviceMappingIOPS :: Maybe Int
- blockDeviceMappingVolumeSize :: Int
- blockDeviceMappingDeleteOnTermination :: Bool
- blockDeviceMappingEncrypted :: Bool
- blockDeviceMappingKMS :: Maybe Text
- blockDeviceMappingSnapshotId :: Maybe Text
- blockDeviceMappingVirtualName :: Maybe Text
- blockDeviceMappingNoDevice :: Maybe Bool
- blockDeviceMapping :: Text -> Text -> Int -> Bool -> BlockDeviceMapping
- data EBS = EBS {
- ebsAmiName :: Text
- ebsSourceAmi :: SourceAmi
- ebsInstanceType :: Text
- ebsAmiDescription :: Maybe Text
- ebsAmiRegions :: Maybe [Text]
- ebsAmiUsers :: Maybe [Text]
- ebsAssociatePublicIpAddress :: Maybe Bool
- ebsAvailabilityZone :: Maybe Text
- ebsIAMInstanceProfile :: Maybe Text
- ebsInsecureSkipTLSVerify :: Maybe Bool
- ebsLaunchBlockDeviceMappings :: [BlockDeviceMapping]
- ebsRunTags :: Map Text Text
- ebsSubnetId :: Maybe Text
- ebsTags :: Map Text Text
- ebsVpcId :: Maybe Text
- ebs :: Text -> SourceAmi -> Text -> EBS
- fromEBS :: EBS -> [Pair]
General AmazonEC2 Builder
data Credentials Source #
Instances
Eq Credentials Source # | |
Defined in Kerry.Builder.AmazonEC2 (==) :: Credentials -> Credentials -> Bool # (/=) :: Credentials -> Credentials -> Bool # | |
Ord Credentials Source # | |
Defined in Kerry.Builder.AmazonEC2 compare :: Credentials -> Credentials -> Ordering # (<) :: Credentials -> Credentials -> Bool # (<=) :: Credentials -> Credentials -> Bool # (>) :: Credentials -> Credentials -> Bool # (>=) :: Credentials -> Credentials -> Bool # max :: Credentials -> Credentials -> Credentials # min :: Credentials -> Credentials -> Credentials # | |
Show Credentials Source # | |
Defined in Kerry.Builder.AmazonEC2 showsPrec :: Int -> Credentials -> ShowS # show :: Credentials -> String # showList :: [Credentials] -> ShowS # |
AWS | |
|
Utilities
data AWSAmiOwner Source #
Instances
Eq AWSAmiOwner Source # | |
Defined in Kerry.Builder.AmazonEC2 (==) :: AWSAmiOwner -> AWSAmiOwner -> Bool # (/=) :: AWSAmiOwner -> AWSAmiOwner -> Bool # | |
Ord AWSAmiOwner Source # | |
Defined in Kerry.Builder.AmazonEC2 compare :: AWSAmiOwner -> AWSAmiOwner -> Ordering # (<) :: AWSAmiOwner -> AWSAmiOwner -> Bool # (<=) :: AWSAmiOwner -> AWSAmiOwner -> Bool # (>) :: AWSAmiOwner -> AWSAmiOwner -> Bool # (>=) :: AWSAmiOwner -> AWSAmiOwner -> Bool # max :: AWSAmiOwner -> AWSAmiOwner -> AWSAmiOwner # min :: AWSAmiOwner -> AWSAmiOwner -> AWSAmiOwner # | |
Show AWSAmiOwner Source # | |
Defined in Kerry.Builder.AmazonEC2 showsPrec :: Int -> AWSAmiOwner -> ShowS # show :: AWSAmiOwner -> String # showList :: [AWSAmiOwner] -> ShowS # |
data SourceAmiFilterKey Source #
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). |
Instances
Eq SourceAmiFilterKey Source # | |
Defined in Kerry.Builder.AmazonEC2 (==) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # (/=) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # | |
Ord SourceAmiFilterKey Source # | |
Defined in Kerry.Builder.AmazonEC2 compare :: SourceAmiFilterKey -> SourceAmiFilterKey -> Ordering # (<) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # (<=) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # (>) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # (>=) :: SourceAmiFilterKey -> SourceAmiFilterKey -> Bool # max :: SourceAmiFilterKey -> SourceAmiFilterKey -> SourceAmiFilterKey # min :: SourceAmiFilterKey -> SourceAmiFilterKey -> SourceAmiFilterKey # | |
Show SourceAmiFilterKey Source # | |
Defined in Kerry.Builder.AmazonEC2 showsPrec :: Int -> SourceAmiFilterKey -> ShowS # show :: SourceAmiFilterKey -> String # showList :: [SourceAmiFilterKey] -> ShowS # |
data BlockDeviceMapping Source #
BlockDeviceMapping | |
|
Instances
Eq BlockDeviceMapping Source # | |
Defined in Kerry.Builder.AmazonEC2 (==) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # (/=) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # | |
Ord BlockDeviceMapping Source # | |
Defined in Kerry.Builder.AmazonEC2 compare :: BlockDeviceMapping -> BlockDeviceMapping -> Ordering # (<) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # (<=) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # (>) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # (>=) :: BlockDeviceMapping -> BlockDeviceMapping -> Bool # max :: BlockDeviceMapping -> BlockDeviceMapping -> BlockDeviceMapping # min :: BlockDeviceMapping -> BlockDeviceMapping -> BlockDeviceMapping # | |
Show BlockDeviceMapping Source # | |
Defined in Kerry.Builder.AmazonEC2 showsPrec :: Int -> BlockDeviceMapping -> ShowS # show :: BlockDeviceMapping -> String # showList :: [BlockDeviceMapping] -> ShowS # |
blockDeviceMapping :: Text -> Text -> Int -> Bool -> BlockDeviceMapping Source #
Construct a basic BlockDeviceMapping
Builders
EBS Backed
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'
EBS | |
|