module Stratosphere.EC2.TransitGatewayVpcAttachment (
        module Exports, TransitGatewayVpcAttachment(..),
        mkTransitGatewayVpcAttachment
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EC2.TransitGatewayVpcAttachment.OptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data TransitGatewayVpcAttachment
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html>
    TransitGatewayVpcAttachment {TransitGatewayVpcAttachment -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-addsubnetids>
                                 TransitGatewayVpcAttachment -> Maybe (ValueList Text)
addSubnetIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-options>
                                 TransitGatewayVpcAttachment -> Maybe OptionsProperty
options :: (Prelude.Maybe OptionsProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-removesubnetids>
                                 TransitGatewayVpcAttachment -> Maybe (ValueList Text)
removeSubnetIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-subnetids>
                                 TransitGatewayVpcAttachment -> ValueList Text
subnetIds :: (ValueList Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-tags>
                                 TransitGatewayVpcAttachment -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-transitgatewayid>
                                 TransitGatewayVpcAttachment -> Value Text
transitGatewayId :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-vpcid>
                                 TransitGatewayVpcAttachment -> Value Text
vpcId :: (Value Prelude.Text)}
  deriving stock (TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment -> Bool
(TransitGatewayVpcAttachment
 -> TransitGatewayVpcAttachment -> Bool)
-> (TransitGatewayVpcAttachment
    -> TransitGatewayVpcAttachment -> Bool)
-> Eq TransitGatewayVpcAttachment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment -> Bool
== :: TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment -> Bool
$c/= :: TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment -> Bool
/= :: TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment -> Bool
Prelude.Eq, Int -> TransitGatewayVpcAttachment -> ShowS
[TransitGatewayVpcAttachment] -> ShowS
TransitGatewayVpcAttachment -> String
(Int -> TransitGatewayVpcAttachment -> ShowS)
-> (TransitGatewayVpcAttachment -> String)
-> ([TransitGatewayVpcAttachment] -> ShowS)
-> Show TransitGatewayVpcAttachment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TransitGatewayVpcAttachment -> ShowS
showsPrec :: Int -> TransitGatewayVpcAttachment -> ShowS
$cshow :: TransitGatewayVpcAttachment -> String
show :: TransitGatewayVpcAttachment -> String
$cshowList :: [TransitGatewayVpcAttachment] -> ShowS
showList :: [TransitGatewayVpcAttachment] -> ShowS
Prelude.Show)
mkTransitGatewayVpcAttachment ::
  ValueList Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> TransitGatewayVpcAttachment
mkTransitGatewayVpcAttachment :: ValueList Text
-> Value Text -> Value Text -> TransitGatewayVpcAttachment
mkTransitGatewayVpcAttachment ValueList Text
subnetIds Value Text
transitGatewayId Value Text
vpcId
  = TransitGatewayVpcAttachment
      {haddock_workaround_ :: ()
haddock_workaround_ = (), subnetIds :: ValueList Text
subnetIds = ValueList Text
subnetIds,
       transitGatewayId :: Value Text
transitGatewayId = Value Text
transitGatewayId, vpcId :: Value Text
vpcId = Value Text
vpcId,
       addSubnetIds :: Maybe (ValueList Text)
addSubnetIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, options :: Maybe OptionsProperty
options = Maybe OptionsProperty
forall a. Maybe a
Prelude.Nothing,
       removeSubnetIds :: Maybe (ValueList Text)
removeSubnetIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TransitGatewayVpcAttachment where
  toResourceProperties :: TransitGatewayVpcAttachment -> ResourceProperties
toResourceProperties TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::TransitGatewayVpcAttachment",
         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
"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
"TransitGatewayId" 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
transitGatewayId, Key
"VpcId" 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
vpcId]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"AddSubnetIds" (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)
addSubnetIds,
                               Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                               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
"RemoveSubnetIds" (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)
removeSubnetIds,
                               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 TransitGatewayVpcAttachment where
  toJSON :: TransitGatewayVpcAttachment -> Value
toJSON TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: 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
"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
"TransitGatewayId" 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
transitGatewayId, Key
"VpcId" 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
vpcId]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"AddSubnetIds" (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)
addSubnetIds,
                  Key -> OptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (OptionsProperty -> (Key, Value))
-> Maybe OptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OptionsProperty
options,
                  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
"RemoveSubnetIds" (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)
removeSubnetIds,
                  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 "AddSubnetIds" TransitGatewayVpcAttachment where
  type PropertyType "AddSubnetIds" TransitGatewayVpcAttachment = ValueList Prelude.Text
  set :: PropertyType "AddSubnetIds" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "AddSubnetIds" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment
        {addSubnetIds :: Maybe (ValueList Text)
addSubnetIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AddSubnetIds" TransitGatewayVpcAttachment
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
haddock_workaround_ :: ()
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
instance Property "Options" TransitGatewayVpcAttachment where
  type PropertyType "Options" TransitGatewayVpcAttachment = OptionsProperty
  set :: PropertyType "Options" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "Options" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment {options :: Maybe OptionsProperty
options = OptionsProperty -> Maybe OptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Options" TransitGatewayVpcAttachment
OptionsProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
instance Property "RemoveSubnetIds" TransitGatewayVpcAttachment where
  type PropertyType "RemoveSubnetIds" TransitGatewayVpcAttachment = ValueList Prelude.Text
  set :: PropertyType "RemoveSubnetIds" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "RemoveSubnetIds" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment
        {removeSubnetIds :: Maybe (ValueList Text)
removeSubnetIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RemoveSubnetIds" TransitGatewayVpcAttachment
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
instance Property "SubnetIds" TransitGatewayVpcAttachment where
  type PropertyType "SubnetIds" TransitGatewayVpcAttachment = ValueList Prelude.Text
  set :: PropertyType "SubnetIds" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "SubnetIds" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment {subnetIds :: ValueList Text
subnetIds = PropertyType "SubnetIds" TransitGatewayVpcAttachment
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
instance Property "Tags" TransitGatewayVpcAttachment where
  type PropertyType "Tags" TransitGatewayVpcAttachment = [Tag]
  set :: PropertyType "Tags" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "Tags" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment {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" TransitGatewayVpcAttachment
newValue, Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
transitGatewayId :: Value Text
vpcId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
transitGatewayId :: Value Text
vpcId :: Value Text
..}
instance Property "TransitGatewayId" TransitGatewayVpcAttachment where
  type PropertyType "TransitGatewayId" TransitGatewayVpcAttachment = Value Prelude.Text
  set :: PropertyType "TransitGatewayId" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "TransitGatewayId" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment {transitGatewayId :: Value Text
transitGatewayId = PropertyType "TransitGatewayId" TransitGatewayVpcAttachment
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
vpcId :: Value Text
..}
instance Property "VpcId" TransitGatewayVpcAttachment where
  type PropertyType "VpcId" TransitGatewayVpcAttachment = Value Prelude.Text
  set :: PropertyType "VpcId" TransitGatewayVpcAttachment
-> TransitGatewayVpcAttachment -> TransitGatewayVpcAttachment
set PropertyType "VpcId" TransitGatewayVpcAttachment
newValue TransitGatewayVpcAttachment {Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: TransitGatewayVpcAttachment -> ()
addSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
options :: TransitGatewayVpcAttachment -> Maybe OptionsProperty
removeSubnetIds :: TransitGatewayVpcAttachment -> Maybe (ValueList Text)
subnetIds :: TransitGatewayVpcAttachment -> ValueList Text
tags :: TransitGatewayVpcAttachment -> Maybe [Tag]
transitGatewayId :: TransitGatewayVpcAttachment -> Value Text
vpcId :: TransitGatewayVpcAttachment -> Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
vpcId :: Value Text
..}
    = TransitGatewayVpcAttachment {vpcId :: Value Text
vpcId = PropertyType "VpcId" TransitGatewayVpcAttachment
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe OptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
haddock_workaround_ :: ()
addSubnetIds :: Maybe (ValueList Text)
options :: Maybe OptionsProperty
removeSubnetIds :: Maybe (ValueList Text)
subnetIds :: ValueList Text
tags :: Maybe [Tag]
transitGatewayId :: Value Text
..}