module Stratosphere.EC2.VPC (
        VPC(..), mkVPC
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data VPC
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html>
    VPC {VPC -> ()
haddock_workaround_ :: (),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-cidrblock>
         VPC -> Maybe (Value Text)
cidrBlock :: (Prelude.Maybe (Value Prelude.Text)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-enablednshostnames>
         VPC -> Maybe (Value Bool)
enableDnsHostnames :: (Prelude.Maybe (Value Prelude.Bool)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-enablednssupport>
         VPC -> Maybe (Value Bool)
enableDnsSupport :: (Prelude.Maybe (Value Prelude.Bool)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-instancetenancy>
         VPC -> Maybe (Value Text)
instanceTenancy :: (Prelude.Maybe (Value Prelude.Text)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-ipv4ipampoolid>
         VPC -> Maybe (Value Text)
ipv4IpamPoolId :: (Prelude.Maybe (Value Prelude.Text)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-ipv4netmasklength>
         VPC -> Maybe (Value Integer)
ipv4NetmaskLength :: (Prelude.Maybe (Value Prelude.Integer)),
         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-tags>
         VPC -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (VPC -> VPC -> Bool
(VPC -> VPC -> Bool) -> (VPC -> VPC -> Bool) -> Eq VPC
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VPC -> VPC -> Bool
== :: VPC -> VPC -> Bool
$c/= :: VPC -> VPC -> Bool
/= :: VPC -> VPC -> Bool
Prelude.Eq, Int -> VPC -> ShowS
[VPC] -> ShowS
VPC -> String
(Int -> VPC -> ShowS)
-> (VPC -> String) -> ([VPC] -> ShowS) -> Show VPC
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VPC -> ShowS
showsPrec :: Int -> VPC -> ShowS
$cshow :: VPC -> String
show :: VPC -> String
$cshowList :: [VPC] -> ShowS
showList :: [VPC] -> ShowS
Prelude.Show)
mkVPC :: VPC
mkVPC :: VPC
mkVPC
  = VPC
      {haddock_workaround_ :: ()
haddock_workaround_ = (), cidrBlock :: Maybe (Value Text)
cidrBlock = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       enableDnsHostnames :: Maybe (Value Bool)
enableDnsHostnames = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       enableDnsSupport :: Maybe (Value Bool)
enableDnsSupport = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       instanceTenancy :: Maybe (Value Text)
instanceTenancy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       ipv4IpamPoolId :: Maybe (Value Text)
ipv4IpamPoolId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       ipv4NetmaskLength :: Maybe (Value Integer)
ipv4NetmaskLength = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VPC where
  toResourceProperties :: VPC -> ResourceProperties
toResourceProperties VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::VPC", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([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
"CidrBlock" (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)
cidrBlock,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableDnsHostnames" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableDnsHostnames,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableDnsSupport" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableDnsSupport,
                            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
"InstanceTenancy" (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)
instanceTenancy,
                            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
"Ipv4IpamPoolId" (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)
ipv4IpamPoolId,
                            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
"Ipv4NetmaskLength" (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)
ipv4NetmaskLength,
                            Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])}
instance JSON.ToJSON VPC where
  toJSON :: VPC -> Value
toJSON VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([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
"CidrBlock" (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)
cidrBlock,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableDnsHostnames" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableDnsHostnames,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableDnsSupport" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableDnsSupport,
               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
"InstanceTenancy" (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)
instanceTenancy,
               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
"Ipv4IpamPoolId" (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)
ipv4IpamPoolId,
               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
"Ipv4NetmaskLength" (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)
ipv4NetmaskLength,
               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))
instance Property "CidrBlock" VPC where
  type PropertyType "CidrBlock" VPC = Value Prelude.Text
  set :: PropertyType "CidrBlock" VPC -> VPC -> VPC
set PropertyType "CidrBlock" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..} = VPC {cidrBlock :: Maybe (Value Text)
cidrBlock = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CidrBlock" VPC
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "EnableDnsHostnames" VPC where
  type PropertyType "EnableDnsHostnames" VPC = Value Prelude.Bool
  set :: PropertyType "EnableDnsHostnames" VPC -> VPC -> VPC
set PropertyType "EnableDnsHostnames" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = VPC {enableDnsHostnames :: Maybe (Value Bool)
enableDnsHostnames = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableDnsHostnames" VPC
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "EnableDnsSupport" VPC where
  type PropertyType "EnableDnsSupport" VPC = Value Prelude.Bool
  set :: PropertyType "EnableDnsSupport" VPC -> VPC -> VPC
set PropertyType "EnableDnsSupport" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = VPC {enableDnsSupport :: Maybe (Value Bool)
enableDnsSupport = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableDnsSupport" VPC
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "InstanceTenancy" VPC where
  type PropertyType "InstanceTenancy" VPC = Value Prelude.Text
  set :: PropertyType "InstanceTenancy" VPC -> VPC -> VPC
set PropertyType "InstanceTenancy" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = VPC {instanceTenancy :: Maybe (Value Text)
instanceTenancy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InstanceTenancy" VPC
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "Ipv4IpamPoolId" VPC where
  type PropertyType "Ipv4IpamPoolId" VPC = Value Prelude.Text
  set :: PropertyType "Ipv4IpamPoolId" VPC -> VPC -> VPC
set PropertyType "Ipv4IpamPoolId" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = VPC {ipv4IpamPoolId :: Maybe (Value Text)
ipv4IpamPoolId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Ipv4IpamPoolId" VPC
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "Ipv4NetmaskLength" VPC where
  type PropertyType "Ipv4NetmaskLength" VPC = Value Prelude.Integer
  set :: PropertyType "Ipv4NetmaskLength" VPC -> VPC -> VPC
set PropertyType "Ipv4NetmaskLength" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
    = VPC {ipv4NetmaskLength :: Maybe (Value Integer)
ipv4NetmaskLength = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Ipv4NetmaskLength" VPC
Value Integer
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" VPC where
  type PropertyType "Tags" VPC = [Tag]
  set :: PropertyType "Tags" VPC -> VPC -> VPC
set PropertyType "Tags" VPC
newValue VPC {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: VPC -> ()
cidrBlock :: VPC -> Maybe (Value Text)
enableDnsHostnames :: VPC -> Maybe (Value Bool)
enableDnsSupport :: VPC -> Maybe (Value Bool)
instanceTenancy :: VPC -> Maybe (Value Text)
ipv4IpamPoolId :: VPC -> Maybe (Value Text)
ipv4NetmaskLength :: VPC -> Maybe (Value Integer)
tags :: VPC -> Maybe [Tag]
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
tags :: Maybe [Tag]
..} = VPC {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" VPC
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
haddock_workaround_ :: ()
cidrBlock :: Maybe (Value Text)
enableDnsHostnames :: Maybe (Value Bool)
enableDnsSupport :: Maybe (Value Bool)
instanceTenancy :: Maybe (Value Text)
ipv4IpamPoolId :: Maybe (Value Text)
ipv4NetmaskLength :: Maybe (Value Integer)
..}