module Stratosphere.NetworkManager.VpcAttachment (
module Exports, VpcAttachment(..), mkVpcAttachment
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.NetworkManager.VpcAttachment.ProposedNetworkFunctionGroupChangeProperty as Exports
import {-# SOURCE #-} Stratosphere.NetworkManager.VpcAttachment.ProposedSegmentChangeProperty as Exports
import {-# SOURCE #-} Stratosphere.NetworkManager.VpcAttachment.VpcOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data VpcAttachment
=
VpcAttachment {VpcAttachment -> ()
haddock_workaround_ :: (),
VpcAttachment -> Value Text
coreNetworkId :: (Value Prelude.Text),
VpcAttachment -> Maybe VpcOptionsProperty
options :: (Prelude.Maybe VpcOptionsProperty),
VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedNetworkFunctionGroupChange :: (Prelude.Maybe ProposedNetworkFunctionGroupChangeProperty),
VpcAttachment -> Maybe ProposedSegmentChangeProperty
proposedSegmentChange :: (Prelude.Maybe ProposedSegmentChangeProperty),
VpcAttachment -> ValueList Text
subnetArns :: (ValueList Prelude.Text),
VpcAttachment -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
VpcAttachment -> Value Text
vpcArn :: (Value Prelude.Text)}
deriving stock (VpcAttachment -> VpcAttachment -> Bool
(VpcAttachment -> VpcAttachment -> Bool)
-> (VpcAttachment -> VpcAttachment -> Bool) -> Eq VpcAttachment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VpcAttachment -> VpcAttachment -> Bool
== :: VpcAttachment -> VpcAttachment -> Bool
$c/= :: VpcAttachment -> VpcAttachment -> Bool
/= :: VpcAttachment -> VpcAttachment -> Bool
Prelude.Eq, Int -> VpcAttachment -> ShowS
[VpcAttachment] -> ShowS
VpcAttachment -> String
(Int -> VpcAttachment -> ShowS)
-> (VpcAttachment -> String)
-> ([VpcAttachment] -> ShowS)
-> Show VpcAttachment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VpcAttachment -> ShowS
showsPrec :: Int -> VpcAttachment -> ShowS
$cshow :: VpcAttachment -> String
show :: VpcAttachment -> String
$cshowList :: [VpcAttachment] -> ShowS
showList :: [VpcAttachment] -> ShowS
Prelude.Show)
mkVpcAttachment ::
Value Prelude.Text
-> ValueList Prelude.Text -> Value Prelude.Text -> VpcAttachment
mkVpcAttachment :: Value Text -> ValueList Text -> Value Text -> VpcAttachment
mkVpcAttachment Value Text
coreNetworkId ValueList Text
subnetArns Value Text
vpcArn
= VpcAttachment
{haddock_workaround_ :: ()
haddock_workaround_ = (), coreNetworkId :: Value Text
coreNetworkId = Value Text
coreNetworkId,
subnetArns :: ValueList Text
subnetArns = ValueList Text
subnetArns, vpcArn :: Value Text
vpcArn = Value Text
vpcArn,
options :: Maybe VpcOptionsProperty
options = Maybe VpcOptionsProperty
forall a. Maybe a
Prelude.Nothing,
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedNetworkFunctionGroupChange = Maybe ProposedNetworkFunctionGroupChangeProperty
forall a. Maybe a
Prelude.Nothing,
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
proposedSegmentChange = Maybe ProposedSegmentChangeProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VpcAttachment where
toResourceProperties :: VpcAttachment -> ResourceProperties
toResourceProperties VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::NetworkManager::VpcAttachment",
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
"CoreNetworkId" 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
coreNetworkId,
Key
"SubnetArns" 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
subnetArns, Key
"VpcArn" 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
vpcArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> VpcOptionsProperty -> (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" (VpcOptionsProperty -> (Key, Value))
-> Maybe VpcOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcOptionsProperty
options,
Key -> ProposedNetworkFunctionGroupChangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProposedNetworkFunctionGroupChange"
(ProposedNetworkFunctionGroupChangeProperty -> (Key, Value))
-> Maybe ProposedNetworkFunctionGroupChangeProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedNetworkFunctionGroupChange,
Key -> ProposedSegmentChangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProposedSegmentChange"
(ProposedSegmentChangeProperty -> (Key, Value))
-> Maybe ProposedSegmentChangeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProposedSegmentChangeProperty
proposedSegmentChange,
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 VpcAttachment where
toJSON :: VpcAttachment -> Value
toJSON VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: 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
"CoreNetworkId" 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
coreNetworkId,
Key
"SubnetArns" 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
subnetArns, Key
"VpcArn" 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
vpcArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> VpcOptionsProperty -> (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" (VpcOptionsProperty -> (Key, Value))
-> Maybe VpcOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcOptionsProperty
options,
Key -> ProposedNetworkFunctionGroupChangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProposedNetworkFunctionGroupChange"
(ProposedNetworkFunctionGroupChangeProperty -> (Key, Value))
-> Maybe ProposedNetworkFunctionGroupChangeProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedNetworkFunctionGroupChange,
Key -> ProposedSegmentChangeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProposedSegmentChange"
(ProposedSegmentChangeProperty -> (Key, Value))
-> Maybe ProposedSegmentChangeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProposedSegmentChangeProperty
proposedSegmentChange,
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 "CoreNetworkId" VpcAttachment where
type PropertyType "CoreNetworkId" VpcAttachment = Value Prelude.Text
set :: PropertyType "CoreNetworkId" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "CoreNetworkId" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {coreNetworkId :: Value Text
coreNetworkId = PropertyType "CoreNetworkId" VpcAttachment
Value Text
newValue, Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
haddock_workaround_ :: ()
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
instance Property "Options" VpcAttachment where
type PropertyType "Options" VpcAttachment = VpcOptionsProperty
set :: PropertyType "Options" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "Options" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {options :: Maybe VpcOptionsProperty
options = VpcOptionsProperty -> Maybe VpcOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Options" VpcAttachment
VpcOptionsProperty
newValue, Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
instance Property "ProposedNetworkFunctionGroupChange" VpcAttachment where
type PropertyType "ProposedNetworkFunctionGroupChange" VpcAttachment = ProposedNetworkFunctionGroupChangeProperty
set :: PropertyType "ProposedNetworkFunctionGroupChange" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "ProposedNetworkFunctionGroupChange" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment
{proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedNetworkFunctionGroupChange = ProposedNetworkFunctionGroupChangeProperty
-> Maybe ProposedNetworkFunctionGroupChangeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProposedNetworkFunctionGroupChange" VpcAttachment
ProposedNetworkFunctionGroupChangeProperty
newValue, Maybe [Tag]
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
instance Property "ProposedSegmentChange" VpcAttachment where
type PropertyType "ProposedSegmentChange" VpcAttachment = ProposedSegmentChangeProperty
set :: PropertyType "ProposedSegmentChange" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "ProposedSegmentChange" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
proposedSegmentChange = ProposedSegmentChangeProperty
-> Maybe ProposedSegmentChangeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProposedSegmentChange" VpcAttachment
ProposedSegmentChangeProperty
newValue, Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
instance Property "SubnetArns" VpcAttachment where
type PropertyType "SubnetArns" VpcAttachment = ValueList Prelude.Text
set :: PropertyType "SubnetArns" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "SubnetArns" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {subnetArns :: ValueList Text
subnetArns = PropertyType "SubnetArns" VpcAttachment
ValueList Text
newValue, Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
tags :: Maybe [Tag]
vpcArn :: Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
instance Property "Tags" VpcAttachment where
type PropertyType "Tags" VpcAttachment = [Tag]
set :: PropertyType "Tags" VpcAttachment -> VpcAttachment -> VpcAttachment
set PropertyType "Tags" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {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" VpcAttachment
newValue, Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
vpcArn :: Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
vpcArn :: Value Text
..}
instance Property "VpcArn" VpcAttachment where
type PropertyType "VpcArn" VpcAttachment = Value Prelude.Text
set :: PropertyType "VpcArn" VpcAttachment
-> VpcAttachment -> VpcAttachment
set PropertyType "VpcArn" VpcAttachment
newValue VpcAttachment {Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: VpcAttachment -> ()
coreNetworkId :: VpcAttachment -> Value Text
options :: VpcAttachment -> Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: VpcAttachment -> Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: VpcAttachment -> Maybe ProposedSegmentChangeProperty
subnetArns :: VpcAttachment -> ValueList Text
tags :: VpcAttachment -> Maybe [Tag]
vpcArn :: VpcAttachment -> Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
vpcArn :: Value Text
..}
= VpcAttachment {vpcArn :: Value Text
vpcArn = PropertyType "VpcArn" VpcAttachment
Value Text
newValue, Maybe [Tag]
Maybe ProposedNetworkFunctionGroupChangeProperty
Maybe ProposedSegmentChangeProperty
Maybe VpcOptionsProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
coreNetworkId :: Value Text
options :: Maybe VpcOptionsProperty
proposedNetworkFunctionGroupChange :: Maybe ProposedNetworkFunctionGroupChangeProperty
proposedSegmentChange :: Maybe ProposedSegmentChangeProperty
subnetArns :: ValueList Text
tags :: Maybe [Tag]
..}