module Stratosphere.EC2.TransitGatewayConnectPeer.TransitGatewayAttachmentBgpConfigurationProperty (
        TransitGatewayAttachmentBgpConfigurationProperty(..),
        mkTransitGatewayAttachmentBgpConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TransitGatewayAttachmentBgpConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html>
    TransitGatewayAttachmentBgpConfigurationProperty {TransitGatewayAttachmentBgpConfigurationProperty -> ()
haddock_workaround_ :: (),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-bgpstatus>
                                                      TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
bgpStatus :: (Prelude.Maybe (Value Prelude.Text)),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-peeraddress>
                                                      TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: (Prelude.Maybe (Value Prelude.Text)),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-peerasn>
                                                      TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
peerAsn :: (Prelude.Maybe (Value Prelude.Double)),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-transitgatewayaddress>
                                                      TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAddress :: (Prelude.Maybe (Value Prelude.Text)),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-transitgatewayasn>
                                                      TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAsn :: (Prelude.Maybe (Value Prelude.Double))}
  deriving stock (TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty -> Bool
(TransitGatewayAttachmentBgpConfigurationProperty
 -> TransitGatewayAttachmentBgpConfigurationProperty -> Bool)
-> (TransitGatewayAttachmentBgpConfigurationProperty
    -> TransitGatewayAttachmentBgpConfigurationProperty -> Bool)
-> Eq TransitGatewayAttachmentBgpConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty -> Bool
== :: TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty -> Bool
$c/= :: TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty -> Bool
/= :: TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty -> Bool
Prelude.Eq, Int -> TransitGatewayAttachmentBgpConfigurationProperty -> ShowS
[TransitGatewayAttachmentBgpConfigurationProperty] -> ShowS
TransitGatewayAttachmentBgpConfigurationProperty -> String
(Int -> TransitGatewayAttachmentBgpConfigurationProperty -> ShowS)
-> (TransitGatewayAttachmentBgpConfigurationProperty -> String)
-> ([TransitGatewayAttachmentBgpConfigurationProperty] -> ShowS)
-> Show TransitGatewayAttachmentBgpConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TransitGatewayAttachmentBgpConfigurationProperty -> ShowS
showsPrec :: Int -> TransitGatewayAttachmentBgpConfigurationProperty -> ShowS
$cshow :: TransitGatewayAttachmentBgpConfigurationProperty -> String
show :: TransitGatewayAttachmentBgpConfigurationProperty -> String
$cshowList :: [TransitGatewayAttachmentBgpConfigurationProperty] -> ShowS
showList :: [TransitGatewayAttachmentBgpConfigurationProperty] -> ShowS
Prelude.Show)
mkTransitGatewayAttachmentBgpConfigurationProperty ::
  TransitGatewayAttachmentBgpConfigurationProperty
mkTransitGatewayAttachmentBgpConfigurationProperty :: TransitGatewayAttachmentBgpConfigurationProperty
mkTransitGatewayAttachmentBgpConfigurationProperty
  = TransitGatewayAttachmentBgpConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), bgpStatus :: Maybe (Value Text)
bgpStatus = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       peerAddress :: Maybe (Value Text)
peerAddress = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, peerAsn :: Maybe (Value Double)
peerAsn = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
       transitGatewayAddress :: Maybe (Value Text)
transitGatewayAddress = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       transitGatewayAsn :: Maybe (Value Double)
transitGatewayAsn = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TransitGatewayAttachmentBgpConfigurationProperty where
  toResourceProperties :: TransitGatewayAttachmentBgpConfigurationProperty
-> ResourceProperties
toResourceProperties
    TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::TransitGatewayConnectPeer.TransitGatewayAttachmentBgpConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BgpStatus" (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)
bgpStatus,
                            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
"PeerAddress" (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)
peerAddress,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PeerAsn" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
peerAsn,
                            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
"TransitGatewayAddress"
                              (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)
transitGatewayAddress,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TransitGatewayAsn" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
transitGatewayAsn])}
instance JSON.ToJSON TransitGatewayAttachmentBgpConfigurationProperty where
  toJSON :: TransitGatewayAttachmentBgpConfigurationProperty -> Value
toJSON TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BgpStatus" (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)
bgpStatus,
               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
"PeerAddress" (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)
peerAddress,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PeerAsn" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
peerAsn,
               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
"TransitGatewayAddress"
                 (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)
transitGatewayAddress,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TransitGatewayAsn" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
transitGatewayAsn]))
instance Property "BgpStatus" TransitGatewayAttachmentBgpConfigurationProperty where
  type PropertyType "BgpStatus" TransitGatewayAttachmentBgpConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "BgpStatus" TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
set PropertyType
  "BgpStatus" TransitGatewayAttachmentBgpConfigurationProperty
newValue TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = TransitGatewayAttachmentBgpConfigurationProperty
        {bgpStatus :: Maybe (Value Text)
bgpStatus = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "BgpStatus" TransitGatewayAttachmentBgpConfigurationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
haddock_workaround_ :: ()
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
instance Property "PeerAddress" TransitGatewayAttachmentBgpConfigurationProperty where
  type PropertyType "PeerAddress" TransitGatewayAttachmentBgpConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "PeerAddress" TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
set PropertyType
  "PeerAddress" TransitGatewayAttachmentBgpConfigurationProperty
newValue TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = TransitGatewayAttachmentBgpConfigurationProperty
        {peerAddress :: Maybe (Value Text)
peerAddress = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "PeerAddress" TransitGatewayAttachmentBgpConfigurationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
instance Property "PeerAsn" TransitGatewayAttachmentBgpConfigurationProperty where
  type PropertyType "PeerAsn" TransitGatewayAttachmentBgpConfigurationProperty = Value Prelude.Double
  set :: PropertyType
  "PeerAsn" TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
set PropertyType
  "PeerAsn" TransitGatewayAttachmentBgpConfigurationProperty
newValue TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = TransitGatewayAttachmentBgpConfigurationProperty
        {peerAsn :: Maybe (Value Double)
peerAsn = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "PeerAsn" TransitGatewayAttachmentBgpConfigurationProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
instance Property "TransitGatewayAddress" TransitGatewayAttachmentBgpConfigurationProperty where
  type PropertyType "TransitGatewayAddress" TransitGatewayAttachmentBgpConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "TransitGatewayAddress"
  TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
set PropertyType
  "TransitGatewayAddress"
  TransitGatewayAttachmentBgpConfigurationProperty
newValue TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = TransitGatewayAttachmentBgpConfigurationProperty
        {transitGatewayAddress :: Maybe (Value Text)
transitGatewayAddress = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "TransitGatewayAddress"
  TransitGatewayAttachmentBgpConfigurationProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAsn :: Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAsn :: Maybe (Value Double)
..}
instance Property "TransitGatewayAsn" TransitGatewayAttachmentBgpConfigurationProperty where
  type PropertyType "TransitGatewayAsn" TransitGatewayAttachmentBgpConfigurationProperty = Value Prelude.Double
  set :: PropertyType
  "TransitGatewayAsn"
  TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
-> TransitGatewayAttachmentBgpConfigurationProperty
set PropertyType
  "TransitGatewayAsn"
  TransitGatewayAttachmentBgpConfigurationProperty
newValue TransitGatewayAttachmentBgpConfigurationProperty {Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: TransitGatewayAttachmentBgpConfigurationProperty -> ()
bgpStatus :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
peerAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
transitGatewayAddress :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Text)
transitGatewayAsn :: TransitGatewayAttachmentBgpConfigurationProperty
-> Maybe (Value Double)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
transitGatewayAsn :: Maybe (Value Double)
..}
    = TransitGatewayAttachmentBgpConfigurationProperty
        {transitGatewayAsn :: Maybe (Value Double)
transitGatewayAsn = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "TransitGatewayAsn"
  TransitGatewayAttachmentBgpConfigurationProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
haddock_workaround_ :: ()
bgpStatus :: Maybe (Value Text)
peerAddress :: Maybe (Value Text)
peerAsn :: Maybe (Value Double)
transitGatewayAddress :: Maybe (Value Text)
..}