module Stratosphere.EC2.SecurityGroup.EgressProperty (
EgressProperty(..), mkEgressProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EgressProperty
=
EgressProperty {EgressProperty -> ()
haddock_workaround_ :: (),
EgressProperty -> Maybe (Value Text)
cidrIp :: (Prelude.Maybe (Value Prelude.Text)),
EgressProperty -> Maybe (Value Text)
cidrIpv6 :: (Prelude.Maybe (Value Prelude.Text)),
EgressProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: (Prelude.Maybe (Value Prelude.Text)),
EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: (Prelude.Maybe (Value Prelude.Text)),
EgressProperty -> Maybe (Value Integer)
fromPort :: (Prelude.Maybe (Value Prelude.Integer)),
EgressProperty -> Value Text
ipProtocol :: (Value Prelude.Text),
EgressProperty -> Maybe (Value Integer)
toPort :: (Prelude.Maybe (Value Prelude.Integer))}
deriving stock (EgressProperty -> EgressProperty -> Bool
(EgressProperty -> EgressProperty -> Bool)
-> (EgressProperty -> EgressProperty -> Bool) -> Eq EgressProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EgressProperty -> EgressProperty -> Bool
== :: EgressProperty -> EgressProperty -> Bool
$c/= :: EgressProperty -> EgressProperty -> Bool
/= :: EgressProperty -> EgressProperty -> Bool
Prelude.Eq, Int -> EgressProperty -> ShowS
[EgressProperty] -> ShowS
EgressProperty -> String
(Int -> EgressProperty -> ShowS)
-> (EgressProperty -> String)
-> ([EgressProperty] -> ShowS)
-> Show EgressProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EgressProperty -> ShowS
showsPrec :: Int -> EgressProperty -> ShowS
$cshow :: EgressProperty -> String
show :: EgressProperty -> String
$cshowList :: [EgressProperty] -> ShowS
showList :: [EgressProperty] -> ShowS
Prelude.Show)
mkEgressProperty :: Value Prelude.Text -> EgressProperty
mkEgressProperty :: Value Text -> EgressProperty
mkEgressProperty Value Text
ipProtocol
= EgressProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), ipProtocol :: Value Text
ipProtocol = Value Text
ipProtocol,
cidrIp :: Maybe (Value Text)
cidrIp = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, cidrIpv6 :: Maybe (Value Text)
cidrIpv6 = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
destinationPrefixListId :: Maybe (Value Text)
destinationPrefixListId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
destinationSecurityGroupId :: Maybe (Value Text)
destinationSecurityGroupId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
fromPort :: Maybe (Value Integer)
fromPort = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, toPort :: Maybe (Value Integer)
toPort = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EgressProperty where
toResourceProperties :: EgressProperty -> ResourceProperties
toResourceProperties EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EC2::SecurityGroup.Egress",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"IpProtocol" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
ipProtocol]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CidrIp" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cidrIp,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CidrIpv6" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cidrIpv6,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationPrefixListId"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
destinationPrefixListId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationSecurityGroupId"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
destinationSecurityGroupId,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FromPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
fromPort,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ToPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
toPort]))}
instance JSON.ToJSON EgressProperty where
toJSON :: EgressProperty -> Value
toJSON EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"IpProtocol" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
ipProtocol]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CidrIp" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cidrIp,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CidrIpv6" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cidrIpv6,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationPrefixListId"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
destinationPrefixListId,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationSecurityGroupId"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
destinationSecurityGroupId,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FromPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
fromPort,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ToPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
toPort])))
instance Property "CidrIp" EgressProperty where
type PropertyType "CidrIp" EgressProperty = Value Prelude.Text
set :: PropertyType "CidrIp" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "CidrIp" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {cidrIp :: Maybe (Value Text)
cidrIp = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CidrIp" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "CidrIpv6" EgressProperty where
type PropertyType "CidrIpv6" EgressProperty = Value Prelude.Text
set :: PropertyType "CidrIpv6" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "CidrIpv6" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {cidrIpv6 :: Maybe (Value Text)
cidrIpv6 = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CidrIpv6" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "Description" EgressProperty where
type PropertyType "Description" EgressProperty = Value Prelude.Text
set :: PropertyType "Description" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "Description" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "DestinationPrefixListId" EgressProperty where
type PropertyType "DestinationPrefixListId" EgressProperty = Value Prelude.Text
set :: PropertyType "DestinationPrefixListId" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "DestinationPrefixListId" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty
{destinationPrefixListId :: Maybe (Value Text)
destinationPrefixListId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DestinationPrefixListId" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "DestinationSecurityGroupId" EgressProperty where
type PropertyType "DestinationSecurityGroupId" EgressProperty = Value Prelude.Text
set :: PropertyType "DestinationSecurityGroupId" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "DestinationSecurityGroupId" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty
{destinationSecurityGroupId :: Maybe (Value Text)
destinationSecurityGroupId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DestinationSecurityGroupId" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "FromPort" EgressProperty where
type PropertyType "FromPort" EgressProperty = Value Prelude.Integer
set :: PropertyType "FromPort" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "FromPort" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {fromPort :: Maybe (Value Integer)
fromPort = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FromPort" EgressProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "IpProtocol" EgressProperty where
type PropertyType "IpProtocol" EgressProperty = Value Prelude.Text
set :: PropertyType "IpProtocol" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "IpProtocol" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {ipProtocol :: Value Text
ipProtocol = PropertyType "IpProtocol" EgressProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
toPort :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
toPort :: Maybe (Value Integer)
..}
instance Property "ToPort" EgressProperty where
type PropertyType "ToPort" EgressProperty = Value Prelude.Integer
set :: PropertyType "ToPort" EgressProperty
-> EgressProperty -> EgressProperty
set PropertyType "ToPort" EgressProperty
newValue EgressProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EgressProperty -> ()
cidrIp :: EgressProperty -> Maybe (Value Text)
cidrIpv6 :: EgressProperty -> Maybe (Value Text)
description :: EgressProperty -> Maybe (Value Text)
destinationPrefixListId :: EgressProperty -> Maybe (Value Text)
destinationSecurityGroupId :: EgressProperty -> Maybe (Value Text)
fromPort :: EgressProperty -> Maybe (Value Integer)
ipProtocol :: EgressProperty -> Value Text
toPort :: EgressProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
= EgressProperty {toPort :: Maybe (Value Integer)
toPort = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ToPort" EgressProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
haddock_workaround_ :: ()
cidrIp :: Maybe (Value Text)
cidrIpv6 :: Maybe (Value Text)
description :: Maybe (Value Text)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
..}