module Stratosphere.EC2.SecurityGroupEgress (
        SecurityGroupEgress(..), mkSecurityGroupEgress
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SecurityGroupEgress
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html>
    SecurityGroupEgress {SecurityGroupEgress -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-cidrip>
                         SecurityGroupEgress -> Maybe (Value Text)
cidrIp :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-cidripv6>
                         SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-description>
                         SecurityGroupEgress -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-destinationprefixlistid>
                         SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-destinationsecuritygroupid>
                         SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-fromport>
                         SecurityGroupEgress -> Maybe (Value Integer)
fromPort :: (Prelude.Maybe (Value Prelude.Integer)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-groupid>
                         SecurityGroupEgress -> Value Text
groupId :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-ipprotocol>
                         SecurityGroupEgress -> Value Text
ipProtocol :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-toport>
                         SecurityGroupEgress -> Maybe (Value Integer)
toPort :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (SecurityGroupEgress -> SecurityGroupEgress -> Bool
(SecurityGroupEgress -> SecurityGroupEgress -> Bool)
-> (SecurityGroupEgress -> SecurityGroupEgress -> Bool)
-> Eq SecurityGroupEgress
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SecurityGroupEgress -> SecurityGroupEgress -> Bool
== :: SecurityGroupEgress -> SecurityGroupEgress -> Bool
$c/= :: SecurityGroupEgress -> SecurityGroupEgress -> Bool
/= :: SecurityGroupEgress -> SecurityGroupEgress -> Bool
Prelude.Eq, Int -> SecurityGroupEgress -> ShowS
[SecurityGroupEgress] -> ShowS
SecurityGroupEgress -> String
(Int -> SecurityGroupEgress -> ShowS)
-> (SecurityGroupEgress -> String)
-> ([SecurityGroupEgress] -> ShowS)
-> Show SecurityGroupEgress
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SecurityGroupEgress -> ShowS
showsPrec :: Int -> SecurityGroupEgress -> ShowS
$cshow :: SecurityGroupEgress -> String
show :: SecurityGroupEgress -> String
$cshowList :: [SecurityGroupEgress] -> ShowS
showList :: [SecurityGroupEgress] -> ShowS
Prelude.Show)
mkSecurityGroupEgress ::
  Value Prelude.Text -> Value Prelude.Text -> SecurityGroupEgress
mkSecurityGroupEgress :: Value Text -> Value Text -> SecurityGroupEgress
mkSecurityGroupEgress Value Text
groupId Value Text
ipProtocol
  = SecurityGroupEgress
      {haddock_workaround_ :: ()
haddock_workaround_ = (), groupId :: Value Text
groupId = Value Text
groupId,
       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 SecurityGroupEgress where
  toResourceProperties :: SecurityGroupEgress -> ResourceProperties
toResourceProperties SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::SecurityGroupEgress",
         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
"GroupId" 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
groupId, 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 SecurityGroupEgress where
  toJSON :: SecurityGroupEgress -> Value
toJSON SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
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
"GroupId" 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
groupId, 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" SecurityGroupEgress where
  type PropertyType "CidrIp" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "CidrIp" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "CidrIp" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {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" SecurityGroupEgress
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)
groupId :: Value Text
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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "CidrIpv6" SecurityGroupEgress where
  type PropertyType "CidrIpv6" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "CidrIpv6" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "CidrIpv6" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {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" SecurityGroupEgress
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)
groupId :: Value Text
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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "Description" SecurityGroupEgress where
  type PropertyType "Description" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "Description" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "Description" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {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" SecurityGroupEgress
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)
groupId :: Value Text
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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "DestinationPrefixListId" SecurityGroupEgress where
  type PropertyType "DestinationPrefixListId" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "DestinationPrefixListId" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "DestinationPrefixListId" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress
        {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" SecurityGroupEgress
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)
groupId :: Value Text
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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "DestinationSecurityGroupId" SecurityGroupEgress where
  type PropertyType "DestinationSecurityGroupId" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "DestinationSecurityGroupId" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "DestinationSecurityGroupId" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress
        {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" SecurityGroupEgress
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)
groupId :: 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)
fromPort :: Maybe (Value Integer)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "FromPort" SecurityGroupEgress where
  type PropertyType "FromPort" SecurityGroupEgress = Value Prelude.Integer
  set :: PropertyType "FromPort" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "FromPort" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {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" SecurityGroupEgress
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)
groupId :: 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "GroupId" SecurityGroupEgress where
  type PropertyType "GroupId" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "GroupId" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "GroupId" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {groupId :: Value Text
groupId = PropertyType "GroupId" SecurityGroupEgress
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)
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)
destinationPrefixListId :: Maybe (Value Text)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "IpProtocol" SecurityGroupEgress where
  type PropertyType "IpProtocol" SecurityGroupEgress = Value Prelude.Text
  set :: PropertyType "IpProtocol" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "IpProtocol" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {ipProtocol :: Value Text
ipProtocol = PropertyType "IpProtocol" SecurityGroupEgress
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)
destinationSecurityGroupId :: Maybe (Value Text)
fromPort :: Maybe (Value Integer)
groupId :: 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)
fromPort :: Maybe (Value Integer)
groupId :: Value Text
toPort :: Maybe (Value Integer)
..}
instance Property "ToPort" SecurityGroupEgress where
  type PropertyType "ToPort" SecurityGroupEgress = Value Prelude.Integer
  set :: PropertyType "ToPort" SecurityGroupEgress
-> SecurityGroupEgress -> SecurityGroupEgress
set PropertyType "ToPort" SecurityGroupEgress
newValue SecurityGroupEgress {Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityGroupEgress -> ()
cidrIp :: SecurityGroupEgress -> Maybe (Value Text)
cidrIpv6 :: SecurityGroupEgress -> Maybe (Value Text)
description :: SecurityGroupEgress -> Maybe (Value Text)
destinationPrefixListId :: SecurityGroupEgress -> Maybe (Value Text)
destinationSecurityGroupId :: SecurityGroupEgress -> Maybe (Value Text)
fromPort :: SecurityGroupEgress -> Maybe (Value Integer)
groupId :: SecurityGroupEgress -> Value Text
ipProtocol :: SecurityGroupEgress -> Value Text
toPort :: SecurityGroupEgress -> 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)
groupId :: Value Text
ipProtocol :: Value Text
toPort :: Maybe (Value Integer)
..}
    = SecurityGroupEgress {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" SecurityGroupEgress
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)
groupId :: Value Text
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)
groupId :: Value Text
ipProtocol :: Value Text
..}