module Stratosphere.NetworkManager.ConnectPeer (
module Exports, ConnectPeer(..), mkConnectPeer
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.NetworkManager.ConnectPeer.BgpOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data ConnectPeer
=
ConnectPeer {ConnectPeer -> ()
haddock_workaround_ :: (),
ConnectPeer -> Maybe BgpOptionsProperty
bgpOptions :: (Prelude.Maybe BgpOptionsProperty),
ConnectPeer -> Value Text
connectAttachmentId :: (Value Prelude.Text),
ConnectPeer -> Maybe (Value Text)
coreNetworkAddress :: (Prelude.Maybe (Value Prelude.Text)),
ConnectPeer -> Maybe (ValueList Text)
insideCidrBlocks :: (Prelude.Maybe (ValueList Prelude.Text)),
ConnectPeer -> Value Text
peerAddress :: (Value Prelude.Text),
ConnectPeer -> Maybe (Value Text)
subnetArn :: (Prelude.Maybe (Value Prelude.Text)),
ConnectPeer -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (ConnectPeer -> ConnectPeer -> Bool
(ConnectPeer -> ConnectPeer -> Bool)
-> (ConnectPeer -> ConnectPeer -> Bool) -> Eq ConnectPeer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ConnectPeer -> ConnectPeer -> Bool
== :: ConnectPeer -> ConnectPeer -> Bool
$c/= :: ConnectPeer -> ConnectPeer -> Bool
/= :: ConnectPeer -> ConnectPeer -> Bool
Prelude.Eq, Int -> ConnectPeer -> ShowS
[ConnectPeer] -> ShowS
ConnectPeer -> String
(Int -> ConnectPeer -> ShowS)
-> (ConnectPeer -> String)
-> ([ConnectPeer] -> ShowS)
-> Show ConnectPeer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ConnectPeer -> ShowS
showsPrec :: Int -> ConnectPeer -> ShowS
$cshow :: ConnectPeer -> String
show :: ConnectPeer -> String
$cshowList :: [ConnectPeer] -> ShowS
showList :: [ConnectPeer] -> ShowS
Prelude.Show)
mkConnectPeer ::
Value Prelude.Text -> Value Prelude.Text -> ConnectPeer
mkConnectPeer :: Value Text -> Value Text -> ConnectPeer
mkConnectPeer Value Text
connectAttachmentId Value Text
peerAddress
= ConnectPeer
{haddock_workaround_ :: ()
haddock_workaround_ = (),
connectAttachmentId :: Value Text
connectAttachmentId = Value Text
connectAttachmentId,
peerAddress :: Value Text
peerAddress = Value Text
peerAddress, bgpOptions :: Maybe BgpOptionsProperty
bgpOptions = Maybe BgpOptionsProperty
forall a. Maybe a
Prelude.Nothing,
coreNetworkAddress :: Maybe (Value Text)
coreNetworkAddress = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
insideCidrBlocks :: Maybe (ValueList Text)
insideCidrBlocks = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, subnetArn :: Maybe (Value Text)
subnetArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ConnectPeer where
toResourceProperties :: ConnectPeer -> ResourceProperties
toResourceProperties ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::NetworkManager::ConnectPeer",
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
"ConnectAttachmentId" 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
connectAttachmentId,
Key
"PeerAddress" 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
peerAddress]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BgpOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BgpOptions" (BgpOptionsProperty -> (Key, Value))
-> Maybe BgpOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BgpOptionsProperty
bgpOptions,
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
"CoreNetworkAddress" (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)
coreNetworkAddress,
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
"InsideCidrBlocks" (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)
insideCidrBlocks,
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
"SubnetArn" (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)
subnetArn,
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 ConnectPeer where
toJSON :: ConnectPeer -> Value
toJSON ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= [(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
"ConnectAttachmentId" 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
connectAttachmentId,
Key
"PeerAddress" 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
peerAddress]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BgpOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BgpOptions" (BgpOptionsProperty -> (Key, Value))
-> Maybe BgpOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BgpOptionsProperty
bgpOptions,
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
"CoreNetworkAddress" (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)
coreNetworkAddress,
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
"InsideCidrBlocks" (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)
insideCidrBlocks,
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
"SubnetArn" (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)
subnetArn,
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 "BgpOptions" ConnectPeer where
type PropertyType "BgpOptions" ConnectPeer = BgpOptionsProperty
set :: PropertyType "BgpOptions" ConnectPeer -> ConnectPeer -> ConnectPeer
set PropertyType "BgpOptions" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {bgpOptions :: Maybe BgpOptionsProperty
bgpOptions = BgpOptionsProperty -> Maybe BgpOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BgpOptions" ConnectPeer
BgpOptionsProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "ConnectAttachmentId" ConnectPeer where
type PropertyType "ConnectAttachmentId" ConnectPeer = Value Prelude.Text
set :: PropertyType "ConnectAttachmentId" ConnectPeer
-> ConnectPeer -> ConnectPeer
set PropertyType "ConnectAttachmentId" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {connectAttachmentId :: Value Text
connectAttachmentId = PropertyType "ConnectAttachmentId" ConnectPeer
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "CoreNetworkAddress" ConnectPeer where
type PropertyType "CoreNetworkAddress" ConnectPeer = Value Prelude.Text
set :: PropertyType "CoreNetworkAddress" ConnectPeer
-> ConnectPeer -> ConnectPeer
set PropertyType "CoreNetworkAddress" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {coreNetworkAddress :: Maybe (Value Text)
coreNetworkAddress = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CoreNetworkAddress" ConnectPeer
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "InsideCidrBlocks" ConnectPeer where
type PropertyType "InsideCidrBlocks" ConnectPeer = ValueList Prelude.Text
set :: PropertyType "InsideCidrBlocks" ConnectPeer
-> ConnectPeer -> ConnectPeer
set PropertyType "InsideCidrBlocks" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {insideCidrBlocks :: Maybe (ValueList Text)
insideCidrBlocks = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InsideCidrBlocks" ConnectPeer
ValueList Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "PeerAddress" ConnectPeer where
type PropertyType "PeerAddress" ConnectPeer = Value Prelude.Text
set :: PropertyType "PeerAddress" ConnectPeer
-> ConnectPeer -> ConnectPeer
set PropertyType "PeerAddress" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {peerAddress :: Value Text
peerAddress = PropertyType "PeerAddress" ConnectPeer
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "SubnetArn" ConnectPeer where
type PropertyType "SubnetArn" ConnectPeer = Value Prelude.Text
set :: PropertyType "SubnetArn" ConnectPeer -> ConnectPeer -> ConnectPeer
set PropertyType "SubnetArn" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {subnetArn :: Maybe (Value Text)
subnetArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubnetArn" ConnectPeer
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" ConnectPeer where
type PropertyType "Tags" ConnectPeer = [Tag]
set :: PropertyType "Tags" ConnectPeer -> ConnectPeer -> ConnectPeer
set PropertyType "Tags" ConnectPeer
newValue ConnectPeer {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ConnectPeer -> ()
bgpOptions :: ConnectPeer -> Maybe BgpOptionsProperty
connectAttachmentId :: ConnectPeer -> Value Text
coreNetworkAddress :: ConnectPeer -> Maybe (Value Text)
insideCidrBlocks :: ConnectPeer -> Maybe (ValueList Text)
peerAddress :: ConnectPeer -> Value Text
subnetArn :: ConnectPeer -> Maybe (Value Text)
tags :: ConnectPeer -> Maybe [Tag]
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ConnectPeer {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" ConnectPeer
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe BgpOptionsProperty
()
Value Text
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
haddock_workaround_ :: ()
bgpOptions :: Maybe BgpOptionsProperty
connectAttachmentId :: Value Text
coreNetworkAddress :: Maybe (Value Text)
insideCidrBlocks :: Maybe (ValueList Text)
peerAddress :: Value Text
subnetArn :: Maybe (Value Text)
..}