module Stratosphere.VpcLattice.ResourceGateway (
        ResourceGateway(..), mkResourceGateway
    ) 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 ResourceGateway
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html>
    ResourceGateway {ResourceGateway -> ()
haddock_workaround_ :: (),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-ipaddresstype>
                     ResourceGateway -> Maybe (Value Text)
ipAddressType :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-ipv4addressespereni>
                     ResourceGateway -> Maybe (Value Integer)
ipv4AddressesPerEni :: (Prelude.Maybe (Value Prelude.Integer)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-name>
                     ResourceGateway -> Value Text
name :: (Value Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-securitygroupids>
                     ResourceGateway -> Maybe (ValueList Text)
securityGroupIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-subnetids>
                     ResourceGateway -> ValueList Text
subnetIds :: (ValueList Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-tags>
                     ResourceGateway -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-vpcidentifier>
                     ResourceGateway -> Value Text
vpcIdentifier :: (Value Prelude.Text)}
  deriving stock (ResourceGateway -> ResourceGateway -> Bool
(ResourceGateway -> ResourceGateway -> Bool)
-> (ResourceGateway -> ResourceGateway -> Bool)
-> Eq ResourceGateway
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ResourceGateway -> ResourceGateway -> Bool
== :: ResourceGateway -> ResourceGateway -> Bool
$c/= :: ResourceGateway -> ResourceGateway -> Bool
/= :: ResourceGateway -> ResourceGateway -> Bool
Prelude.Eq, Int -> ResourceGateway -> ShowS
[ResourceGateway] -> ShowS
ResourceGateway -> String
(Int -> ResourceGateway -> ShowS)
-> (ResourceGateway -> String)
-> ([ResourceGateway] -> ShowS)
-> Show ResourceGateway
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ResourceGateway -> ShowS
showsPrec :: Int -> ResourceGateway -> ShowS
$cshow :: ResourceGateway -> String
show :: ResourceGateway -> String
$cshowList :: [ResourceGateway] -> ShowS
showList :: [ResourceGateway] -> ShowS
Prelude.Show)
mkResourceGateway ::
  Value Prelude.Text
  -> ValueList Prelude.Text -> Value Prelude.Text -> ResourceGateway
mkResourceGateway :: Value Text -> ValueList Text -> Value Text -> ResourceGateway
mkResourceGateway Value Text
name ValueList Text
subnetIds Value Text
vpcIdentifier
  = ResourceGateway
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, subnetIds :: ValueList Text
subnetIds = ValueList Text
subnetIds,
       vpcIdentifier :: Value Text
vpcIdentifier = Value Text
vpcIdentifier, ipAddressType :: Maybe (Value Text)
ipAddressType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       ipv4AddressesPerEni :: Maybe (Value Integer)
ipv4AddressesPerEni = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       securityGroupIds :: Maybe (ValueList Text)
securityGroupIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ResourceGateway where
  toResourceProperties :: ResourceGateway -> ResourceProperties
toResourceProperties ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::VpcLattice::ResourceGateway",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"Name" 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
name, Key
"SubnetIds" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
subnetIds,
                            Key
"VpcIdentifier" 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
vpcIdentifier]
                           ([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
"IpAddressType" (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)
ipAddressType,
                               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
"Ipv4AddressesPerEni" (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)
ipv4AddressesPerEni,
                               Key -> ValueList 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
"SecurityGroupIds" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
securityGroupIds,
                               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 ResourceGateway where
  toJSON :: ResourceGateway -> Value
toJSON ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = [(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
"Name" 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
name, Key
"SubnetIds" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
subnetIds,
               Key
"VpcIdentifier" 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
vpcIdentifier]
              ([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
"IpAddressType" (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)
ipAddressType,
                  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
"Ipv4AddressesPerEni" (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)
ipv4AddressesPerEni,
                  Key -> ValueList 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
"SecurityGroupIds" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
securityGroupIds,
                  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 "IpAddressType" ResourceGateway where
  type PropertyType "IpAddressType" ResourceGateway = Value Prelude.Text
  set :: PropertyType "IpAddressType" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "IpAddressType" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {ipAddressType :: Maybe (Value Text)
ipAddressType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IpAddressType" ResourceGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
instance Property "Ipv4AddressesPerEni" ResourceGateway where
  type PropertyType "Ipv4AddressesPerEni" ResourceGateway = Value Prelude.Integer
  set :: PropertyType "Ipv4AddressesPerEni" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "Ipv4AddressesPerEni" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {ipv4AddressesPerEni :: Maybe (Value Integer)
ipv4AddressesPerEni = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Ipv4AddressesPerEni" ResourceGateway
Value Integer
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
instance Property "Name" ResourceGateway where
  type PropertyType "Name" ResourceGateway = Value Prelude.Text
  set :: PropertyType "Name" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "Name" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {name :: Value Text
name = PropertyType "Name" ResourceGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
instance Property "SecurityGroupIds" ResourceGateway where
  type PropertyType "SecurityGroupIds" ResourceGateway = ValueList Prelude.Text
  set :: PropertyType "SecurityGroupIds" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "SecurityGroupIds" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {securityGroupIds :: Maybe (ValueList Text)
securityGroupIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecurityGroupIds" ResourceGateway
ValueList Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
instance Property "SubnetIds" ResourceGateway where
  type PropertyType "SubnetIds" ResourceGateway = ValueList Prelude.Text
  set :: PropertyType "SubnetIds" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "SubnetIds" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {subnetIds :: ValueList Text
subnetIds = PropertyType "SubnetIds" ResourceGateway
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
instance Property "Tags" ResourceGateway where
  type PropertyType "Tags" ResourceGateway = [Tag]
  set :: PropertyType "Tags" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "Tags" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {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" ResourceGateway
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
vpcIdentifier :: Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
vpcIdentifier :: Value Text
..}
instance Property "VpcIdentifier" ResourceGateway where
  type PropertyType "VpcIdentifier" ResourceGateway = Value Prelude.Text
  set :: PropertyType "VpcIdentifier" ResourceGateway
-> ResourceGateway -> ResourceGateway
set PropertyType "VpcIdentifier" ResourceGateway
newValue ResourceGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResourceGateway -> ()
ipAddressType :: ResourceGateway -> Maybe (Value Text)
ipv4AddressesPerEni :: ResourceGateway -> Maybe (Value Integer)
name :: ResourceGateway -> Value Text
securityGroupIds :: ResourceGateway -> Maybe (ValueList Text)
subnetIds :: ResourceGateway -> ValueList Text
tags :: ResourceGateway -> Maybe [Tag]
vpcIdentifier :: ResourceGateway -> Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcIdentifier :: Value Text
..}
    = ResourceGateway {vpcIdentifier :: Value Text
vpcIdentifier = PropertyType "VpcIdentifier" ResourceGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
ipv4AddressesPerEni :: Maybe (Value Integer)
name :: Value Text
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
..}