{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationDetails where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
import Amazonka.SecurityHub.Types.AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
data AwsAutoScalingLaunchConfigurationDetails = AwsAutoScalingLaunchConfigurationDetails'
{
AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
associatePublicIpAddress :: Prelude.Maybe Prelude.Bool,
AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
securityGroups :: Prelude.Maybe [Prelude.Text],
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
spotPrice :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
createdTime :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring :: Prelude.Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
keyName :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
classicLinkVpcSecurityGroups :: Prelude.Maybe [Prelude.Text],
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
ramdiskId :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
kernelId :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
instanceType :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
ebsOptimized :: Prelude.Maybe Prelude.Bool,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
userData :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
classicLinkVpcId :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
iamInstanceProfile :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
imageId :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
launchConfigurationName :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
placementTenancy :: Prelude.Maybe Prelude.Text,
AwsAutoScalingLaunchConfigurationDetails
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings :: Prelude.Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
}
deriving (AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool
(AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool)
-> (AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool)
-> Eq AwsAutoScalingLaunchConfigurationDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool
$c/= :: AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool
== :: AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool
$c== :: AwsAutoScalingLaunchConfigurationDetails
-> AwsAutoScalingLaunchConfigurationDetails -> Bool
Prelude.Eq, ReadPrec [AwsAutoScalingLaunchConfigurationDetails]
ReadPrec AwsAutoScalingLaunchConfigurationDetails
Int -> ReadS AwsAutoScalingLaunchConfigurationDetails
ReadS [AwsAutoScalingLaunchConfigurationDetails]
(Int -> ReadS AwsAutoScalingLaunchConfigurationDetails)
-> ReadS [AwsAutoScalingLaunchConfigurationDetails]
-> ReadPrec AwsAutoScalingLaunchConfigurationDetails
-> ReadPrec [AwsAutoScalingLaunchConfigurationDetails]
-> Read AwsAutoScalingLaunchConfigurationDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AwsAutoScalingLaunchConfigurationDetails]
$creadListPrec :: ReadPrec [AwsAutoScalingLaunchConfigurationDetails]
readPrec :: ReadPrec AwsAutoScalingLaunchConfigurationDetails
$creadPrec :: ReadPrec AwsAutoScalingLaunchConfigurationDetails
readList :: ReadS [AwsAutoScalingLaunchConfigurationDetails]
$creadList :: ReadS [AwsAutoScalingLaunchConfigurationDetails]
readsPrec :: Int -> ReadS AwsAutoScalingLaunchConfigurationDetails
$creadsPrec :: Int -> ReadS AwsAutoScalingLaunchConfigurationDetails
Prelude.Read, Int -> AwsAutoScalingLaunchConfigurationDetails -> ShowS
[AwsAutoScalingLaunchConfigurationDetails] -> ShowS
AwsAutoScalingLaunchConfigurationDetails -> String
(Int -> AwsAutoScalingLaunchConfigurationDetails -> ShowS)
-> (AwsAutoScalingLaunchConfigurationDetails -> String)
-> ([AwsAutoScalingLaunchConfigurationDetails] -> ShowS)
-> Show AwsAutoScalingLaunchConfigurationDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsAutoScalingLaunchConfigurationDetails] -> ShowS
$cshowList :: [AwsAutoScalingLaunchConfigurationDetails] -> ShowS
show :: AwsAutoScalingLaunchConfigurationDetails -> String
$cshow :: AwsAutoScalingLaunchConfigurationDetails -> String
showsPrec :: Int -> AwsAutoScalingLaunchConfigurationDetails -> ShowS
$cshowsPrec :: Int -> AwsAutoScalingLaunchConfigurationDetails -> ShowS
Prelude.Show, (forall x.
AwsAutoScalingLaunchConfigurationDetails
-> Rep AwsAutoScalingLaunchConfigurationDetails x)
-> (forall x.
Rep AwsAutoScalingLaunchConfigurationDetails x
-> AwsAutoScalingLaunchConfigurationDetails)
-> Generic AwsAutoScalingLaunchConfigurationDetails
forall x.
Rep AwsAutoScalingLaunchConfigurationDetails x
-> AwsAutoScalingLaunchConfigurationDetails
forall x.
AwsAutoScalingLaunchConfigurationDetails
-> Rep AwsAutoScalingLaunchConfigurationDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AwsAutoScalingLaunchConfigurationDetails x
-> AwsAutoScalingLaunchConfigurationDetails
$cfrom :: forall x.
AwsAutoScalingLaunchConfigurationDetails
-> Rep AwsAutoScalingLaunchConfigurationDetails x
Prelude.Generic)
newAwsAutoScalingLaunchConfigurationDetails ::
AwsAutoScalingLaunchConfigurationDetails
newAwsAutoScalingLaunchConfigurationDetails :: AwsAutoScalingLaunchConfigurationDetails
newAwsAutoScalingLaunchConfigurationDetails =
AwsAutoScalingLaunchConfigurationDetails' :: Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails'
{ $sel:associatePublicIpAddress:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Bool
associatePublicIpAddress =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:securityGroups:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [Text]
securityGroups = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:spotPrice:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
spotPrice = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
createdTime = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:instanceMonitoring:AwsAutoScalingLaunchConfigurationDetails' :: Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring =
Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
forall a. Maybe a
Prelude.Nothing,
$sel:keyName:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
keyName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:classicLinkVpcSecurityGroups:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [Text]
classicLinkVpcSecurityGroups =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:ramdiskId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
ramdiskId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:kernelId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
kernelId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:instanceType:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
instanceType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:ebsOptimized:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Bool
ebsOptimized = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:userData:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
userData = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:classicLinkVpcId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
classicLinkVpcId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:iamInstanceProfile:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
iamInstanceProfile =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:imageId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
imageId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:launchConfigurationName:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
launchConfigurationName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:placementTenancy:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
placementTenancy =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:blockDeviceMappings:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings =
Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
forall a. Maybe a
Prelude.Nothing
}
awsAutoScalingLaunchConfigurationDetails_associatePublicIpAddress :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Bool)
awsAutoScalingLaunchConfigurationDetails_associatePublicIpAddress :: (Maybe Bool -> f (Maybe Bool))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_associatePublicIpAddress = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Bool -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Bool
associatePublicIpAddress :: Maybe Bool
$sel:associatePublicIpAddress:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
associatePublicIpAddress} -> Maybe Bool
associatePublicIpAddress) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Bool
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:associatePublicIpAddress:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Bool
associatePublicIpAddress = Maybe Bool
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_securityGroups :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe [Prelude.Text])
awsAutoScalingLaunchConfigurationDetails_securityGroups :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_securityGroups = (AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text])
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe [Text] -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe [Text]
securityGroups :: Maybe [Text]
$sel:securityGroups:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
securityGroups} -> Maybe [Text]
securityGroups) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe [Text]
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:securityGroups:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [Text]
securityGroups = Maybe [Text]
a} :: AwsAutoScalingLaunchConfigurationDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsAutoScalingLaunchConfigurationDetails_spotPrice :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_spotPrice :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_spotPrice = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
spotPrice :: Maybe Text
$sel:spotPrice:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
spotPrice} -> Maybe Text
spotPrice) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:spotPrice:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
spotPrice = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_createdTime :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_createdTime :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_createdTime = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
createdTime :: Maybe Text
$sel:createdTime:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
createdTime} -> Maybe Text
createdTime) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:createdTime:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
createdTime = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_instanceMonitoring :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
awsAutoScalingLaunchConfigurationDetails_instanceMonitoring :: (Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> f (Maybe
AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_instanceMonitoring = (AwsAutoScalingLaunchConfigurationDetails
-> Maybe
AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring :: Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
$sel:instanceMonitoring:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring} -> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:instanceMonitoring:AwsAutoScalingLaunchConfigurationDetails' :: Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring = Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_keyName :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_keyName :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_keyName = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
keyName :: Maybe Text
$sel:keyName:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
keyName} -> Maybe Text
keyName) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:keyName:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
keyName = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcSecurityGroups :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe [Prelude.Text])
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcSecurityGroups :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcSecurityGroups = (AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text])
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe [Text] -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe [Text]
classicLinkVpcSecurityGroups :: Maybe [Text]
$sel:classicLinkVpcSecurityGroups:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
classicLinkVpcSecurityGroups} -> Maybe [Text]
classicLinkVpcSecurityGroups) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe [Text]
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:classicLinkVpcSecurityGroups:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [Text]
classicLinkVpcSecurityGroups = Maybe [Text]
a} :: AwsAutoScalingLaunchConfigurationDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsAutoScalingLaunchConfigurationDetails_ramdiskId :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_ramdiskId :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_ramdiskId = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
ramdiskId :: Maybe Text
$sel:ramdiskId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
ramdiskId} -> Maybe Text
ramdiskId) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:ramdiskId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
ramdiskId = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_kernelId :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_kernelId :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_kernelId = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
kernelId :: Maybe Text
$sel:kernelId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
kernelId} -> Maybe Text
kernelId) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:kernelId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
kernelId = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_instanceType :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_instanceType :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_instanceType = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
instanceType :: Maybe Text
$sel:instanceType:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
instanceType} -> Maybe Text
instanceType) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:instanceType:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
instanceType = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_ebsOptimized :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Bool)
awsAutoScalingLaunchConfigurationDetails_ebsOptimized :: (Maybe Bool -> f (Maybe Bool))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_ebsOptimized = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Bool -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Bool
ebsOptimized :: Maybe Bool
$sel:ebsOptimized:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
ebsOptimized} -> Maybe Bool
ebsOptimized) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Bool
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:ebsOptimized:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Bool
ebsOptimized = Maybe Bool
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_userData :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_userData :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_userData = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
userData :: Maybe Text
$sel:userData:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
userData} -> Maybe Text
userData) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:userData:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
userData = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcId :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcId :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_classicLinkVpcId = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
classicLinkVpcId :: Maybe Text
$sel:classicLinkVpcId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
classicLinkVpcId} -> Maybe Text
classicLinkVpcId) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:classicLinkVpcId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
classicLinkVpcId = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_iamInstanceProfile :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_iamInstanceProfile :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_iamInstanceProfile = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
iamInstanceProfile :: Maybe Text
$sel:iamInstanceProfile:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
iamInstanceProfile} -> Maybe Text
iamInstanceProfile) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:iamInstanceProfile:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
iamInstanceProfile = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_imageId :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_imageId :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_imageId = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
imageId :: Maybe Text
$sel:imageId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
imageId} -> Maybe Text
imageId) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:imageId:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
imageId = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_launchConfigurationName :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_launchConfigurationName :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_launchConfigurationName = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
launchConfigurationName :: Maybe Text
$sel:launchConfigurationName:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
launchConfigurationName} -> Maybe Text
launchConfigurationName) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:launchConfigurationName:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
launchConfigurationName = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_placementTenancy :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe Prelude.Text)
awsAutoScalingLaunchConfigurationDetails_placementTenancy :: (Maybe Text -> f (Maybe Text))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_placementTenancy = (AwsAutoScalingLaunchConfigurationDetails -> Maybe Text)
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe Text -> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe Text
placementTenancy :: Maybe Text
$sel:placementTenancy:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
placementTenancy} -> Maybe Text
placementTenancy) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe Text
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:placementTenancy:AwsAutoScalingLaunchConfigurationDetails' :: Maybe Text
placementTenancy = Maybe Text
a} :: AwsAutoScalingLaunchConfigurationDetails)
awsAutoScalingLaunchConfigurationDetails_blockDeviceMappings :: Lens.Lens' AwsAutoScalingLaunchConfigurationDetails (Prelude.Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
awsAutoScalingLaunchConfigurationDetails_blockDeviceMappings :: (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> f (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
awsAutoScalingLaunchConfigurationDetails_blockDeviceMappings = (AwsAutoScalingLaunchConfigurationDetails
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
-> (AwsAutoScalingLaunchConfigurationDetails
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Lens
AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsAutoScalingLaunchConfigurationDetails' {Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings :: Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
$sel:blockDeviceMappings:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings} -> Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings) (\s :: AwsAutoScalingLaunchConfigurationDetails
s@AwsAutoScalingLaunchConfigurationDetails' {} Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
a -> AwsAutoScalingLaunchConfigurationDetails
s {$sel:blockDeviceMappings:AwsAutoScalingLaunchConfigurationDetails' :: Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings = Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
a} :: AwsAutoScalingLaunchConfigurationDetails) ((Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> f (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails)
-> ((Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> f (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> f (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> f (Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> AwsAutoScalingLaunchConfigurationDetails
-> f AwsAutoScalingLaunchConfigurationDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> Iso
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.FromJSON
AwsAutoScalingLaunchConfigurationDetails
where
parseJSON :: Value -> Parser AwsAutoScalingLaunchConfigurationDetails
parseJSON =
String
-> (Object -> Parser AwsAutoScalingLaunchConfigurationDetails)
-> Value
-> Parser AwsAutoScalingLaunchConfigurationDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AwsAutoScalingLaunchConfigurationDetails"
( \Object
x ->
Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails
AwsAutoScalingLaunchConfigurationDetails'
(Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Bool)
-> Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AssociatePublicIpAddress")
Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SecurityGroups" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Text
-> Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SpotPrice")
Parser
(Maybe Text
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatedTime")
Parser
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Parser
(Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InstanceMonitoring")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"KeyName")
Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClassicLinkVpcSecurityGroups"
Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RamdiskId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"KernelId")
Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InstanceType")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EbsOptimized")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"UserData")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClassicLinkVpcId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"IamInstanceProfile")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ImageId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LaunchConfigurationName")
Parser
(Maybe Text
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PlacementTenancy")
Parser
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> AwsAutoScalingLaunchConfigurationDetails)
-> Parser
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
-> Parser AwsAutoScalingLaunchConfigurationDetails
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser
(Maybe
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"BlockDeviceMappings"
Parser
(Maybe
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]))
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> Parser
(Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
forall a. Monoid a => a
Prelude.mempty
)
)
instance
Prelude.Hashable
AwsAutoScalingLaunchConfigurationDetails
instance
Prelude.NFData
AwsAutoScalingLaunchConfigurationDetails
instance
Core.ToJSON
AwsAutoScalingLaunchConfigurationDetails
where
toJSON :: AwsAutoScalingLaunchConfigurationDetails -> Value
toJSON AwsAutoScalingLaunchConfigurationDetails' {Maybe Bool
Maybe [Text]
Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
Maybe Text
Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
blockDeviceMappings :: Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
placementTenancy :: Maybe Text
launchConfigurationName :: Maybe Text
imageId :: Maybe Text
iamInstanceProfile :: Maybe Text
classicLinkVpcId :: Maybe Text
userData :: Maybe Text
ebsOptimized :: Maybe Bool
instanceType :: Maybe Text
kernelId :: Maybe Text
ramdiskId :: Maybe Text
classicLinkVpcSecurityGroups :: Maybe [Text]
keyName :: Maybe Text
instanceMonitoring :: Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
createdTime :: Maybe Text
spotPrice :: Maybe Text
securityGroups :: Maybe [Text]
associatePublicIpAddress :: Maybe Bool
$sel:blockDeviceMappings:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
$sel:placementTenancy:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:launchConfigurationName:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:imageId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:iamInstanceProfile:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:classicLinkVpcId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:userData:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:ebsOptimized:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
$sel:instanceType:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:kernelId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:ramdiskId:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:classicLinkVpcSecurityGroups:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
$sel:keyName:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:instanceMonitoring:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
$sel:createdTime:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:spotPrice:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Text
$sel:securityGroups:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe [Text]
$sel:associatePublicIpAddress:AwsAutoScalingLaunchConfigurationDetails' :: AwsAutoScalingLaunchConfigurationDetails -> Maybe Bool
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"AssociatePublicIpAddress" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
associatePublicIpAddress,
(Text
"SecurityGroups" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
securityGroups,
(Text
"SpotPrice" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
spotPrice,
(Text
"CreatedTime" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
createdTime,
(Text
"InstanceMonitoring" Text
-> AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Pair)
-> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
instanceMonitoring,
(Text
"KeyName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
keyName,
(Text
"ClassicLinkVpcSecurityGroups" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
classicLinkVpcSecurityGroups,
(Text
"RamdiskId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
ramdiskId,
(Text
"KernelId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
kernelId,
(Text
"InstanceType" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
instanceType,
(Text
"EbsOptimized" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
ebsOptimized,
(Text
"UserData" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
userData,
(Text
"ClassicLinkVpcId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
classicLinkVpcId,
(Text
"IamInstanceProfile" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
iamInstanceProfile,
(Text
"ImageId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
imageId,
(Text
"LaunchConfigurationName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
launchConfigurationName,
(Text
"PlacementTenancy" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
placementTenancy,
(Text
"BlockDeviceMappings" Text
-> [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> Pair)
-> Maybe
[AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails]
blockDeviceMappings
]
)