module Stratosphere.NetworkFirewall.RuleGroup.MatchAttributesProperty (
module Exports, MatchAttributesProperty(..),
mkMatchAttributesProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.NetworkFirewall.RuleGroup.AddressProperty as Exports
import {-# SOURCE #-} Stratosphere.NetworkFirewall.RuleGroup.PortRangeProperty as Exports
import {-# SOURCE #-} Stratosphere.NetworkFirewall.RuleGroup.TCPFlagFieldProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MatchAttributesProperty
=
MatchAttributesProperty {MatchAttributesProperty -> ()
haddock_workaround_ :: (),
MatchAttributesProperty -> Maybe [PortRangeProperty]
destinationPorts :: (Prelude.Maybe [PortRangeProperty]),
MatchAttributesProperty -> Maybe [AddressProperty]
destinations :: (Prelude.Maybe [AddressProperty]),
MatchAttributesProperty -> Maybe (ValueList Integer)
protocols :: (Prelude.Maybe (ValueList Prelude.Integer)),
MatchAttributesProperty -> Maybe [PortRangeProperty]
sourcePorts :: (Prelude.Maybe [PortRangeProperty]),
MatchAttributesProperty -> Maybe [AddressProperty]
sources :: (Prelude.Maybe [AddressProperty]),
MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
tCPFlags :: (Prelude.Maybe [TCPFlagFieldProperty])}
deriving stock (MatchAttributesProperty -> MatchAttributesProperty -> Bool
(MatchAttributesProperty -> MatchAttributesProperty -> Bool)
-> (MatchAttributesProperty -> MatchAttributesProperty -> Bool)
-> Eq MatchAttributesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MatchAttributesProperty -> MatchAttributesProperty -> Bool
== :: MatchAttributesProperty -> MatchAttributesProperty -> Bool
$c/= :: MatchAttributesProperty -> MatchAttributesProperty -> Bool
/= :: MatchAttributesProperty -> MatchAttributesProperty -> Bool
Prelude.Eq, Int -> MatchAttributesProperty -> ShowS
[MatchAttributesProperty] -> ShowS
MatchAttributesProperty -> String
(Int -> MatchAttributesProperty -> ShowS)
-> (MatchAttributesProperty -> String)
-> ([MatchAttributesProperty] -> ShowS)
-> Show MatchAttributesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MatchAttributesProperty -> ShowS
showsPrec :: Int -> MatchAttributesProperty -> ShowS
$cshow :: MatchAttributesProperty -> String
show :: MatchAttributesProperty -> String
$cshowList :: [MatchAttributesProperty] -> ShowS
showList :: [MatchAttributesProperty] -> ShowS
Prelude.Show)
mkMatchAttributesProperty :: MatchAttributesProperty
mkMatchAttributesProperty :: MatchAttributesProperty
mkMatchAttributesProperty
= MatchAttributesProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), destinationPorts :: Maybe [PortRangeProperty]
destinationPorts = Maybe [PortRangeProperty]
forall a. Maybe a
Prelude.Nothing,
destinations :: Maybe [AddressProperty]
destinations = Maybe [AddressProperty]
forall a. Maybe a
Prelude.Nothing, protocols :: Maybe (ValueList Integer)
protocols = Maybe (ValueList Integer)
forall a. Maybe a
Prelude.Nothing,
sourcePorts :: Maybe [PortRangeProperty]
sourcePorts = Maybe [PortRangeProperty]
forall a. Maybe a
Prelude.Nothing, sources :: Maybe [AddressProperty]
sources = Maybe [AddressProperty]
forall a. Maybe a
Prelude.Nothing,
tCPFlags :: Maybe [TCPFlagFieldProperty]
tCPFlags = Maybe [TCPFlagFieldProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties MatchAttributesProperty where
toResourceProperties :: MatchAttributesProperty -> ResourceProperties
toResourceProperties MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::NetworkFirewall::RuleGroup.MatchAttributes",
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 -> [PortRangeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationPorts" ([PortRangeProperty] -> (Key, Value))
-> Maybe [PortRangeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [PortRangeProperty]
destinationPorts,
Key -> [AddressProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Destinations" ([AddressProperty] -> (Key, Value))
-> Maybe [AddressProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AddressProperty]
destinations,
Key -> ValueList Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Protocols" (ValueList Integer -> (Key, Value))
-> Maybe (ValueList Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Integer)
protocols,
Key -> [PortRangeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourcePorts" ([PortRangeProperty] -> (Key, Value))
-> Maybe [PortRangeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [PortRangeProperty]
sourcePorts,
Key -> [AddressProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sources" ([AddressProperty] -> (Key, Value))
-> Maybe [AddressProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AddressProperty]
sources,
Key -> [TCPFlagFieldProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TCPFlags" ([TCPFlagFieldProperty] -> (Key, Value))
-> Maybe [TCPFlagFieldProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TCPFlagFieldProperty]
tCPFlags])}
instance JSON.ToJSON MatchAttributesProperty where
toJSON :: MatchAttributesProperty -> Value
toJSON MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= [(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 -> [PortRangeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationPorts" ([PortRangeProperty] -> (Key, Value))
-> Maybe [PortRangeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [PortRangeProperty]
destinationPorts,
Key -> [AddressProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Destinations" ([AddressProperty] -> (Key, Value))
-> Maybe [AddressProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AddressProperty]
destinations,
Key -> ValueList Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Protocols" (ValueList Integer -> (Key, Value))
-> Maybe (ValueList Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Integer)
protocols,
Key -> [PortRangeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourcePorts" ([PortRangeProperty] -> (Key, Value))
-> Maybe [PortRangeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [PortRangeProperty]
sourcePorts,
Key -> [AddressProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sources" ([AddressProperty] -> (Key, Value))
-> Maybe [AddressProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AddressProperty]
sources,
Key -> [TCPFlagFieldProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TCPFlags" ([TCPFlagFieldProperty] -> (Key, Value))
-> Maybe [TCPFlagFieldProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TCPFlagFieldProperty]
tCPFlags]))
instance Property "DestinationPorts" MatchAttributesProperty where
type PropertyType "DestinationPorts" MatchAttributesProperty = [PortRangeProperty]
set :: PropertyType "DestinationPorts" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "DestinationPorts" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty
{destinationPorts :: Maybe [PortRangeProperty]
destinationPorts = [PortRangeProperty] -> Maybe [PortRangeProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [PortRangeProperty]
PropertyType "DestinationPorts" MatchAttributesProperty
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: ()
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
instance Property "Destinations" MatchAttributesProperty where
type PropertyType "Destinations" MatchAttributesProperty = [AddressProperty]
set :: PropertyType "Destinations" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "Destinations" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty
{destinations :: Maybe [AddressProperty]
destinations = [AddressProperty] -> Maybe [AddressProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [AddressProperty]
PropertyType "Destinations" MatchAttributesProperty
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
instance Property "Protocols" MatchAttributesProperty where
type PropertyType "Protocols" MatchAttributesProperty = ValueList Prelude.Integer
set :: PropertyType "Protocols" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "Protocols" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty {protocols :: Maybe (ValueList Integer)
protocols = ValueList Integer -> Maybe (ValueList Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Protocols" MatchAttributesProperty
ValueList Integer
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
()
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
instance Property "SourcePorts" MatchAttributesProperty where
type PropertyType "SourcePorts" MatchAttributesProperty = [PortRangeProperty]
set :: PropertyType "SourcePorts" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "SourcePorts" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty {sourcePorts :: Maybe [PortRangeProperty]
sourcePorts = [PortRangeProperty] -> Maybe [PortRangeProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [PortRangeProperty]
PropertyType "SourcePorts" MatchAttributesProperty
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
instance Property "Sources" MatchAttributesProperty where
type PropertyType "Sources" MatchAttributesProperty = [AddressProperty]
set :: PropertyType "Sources" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "Sources" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty {sources :: Maybe [AddressProperty]
sources = [AddressProperty] -> Maybe [AddressProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [AddressProperty]
PropertyType "Sources" MatchAttributesProperty
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
instance Property "TCPFlags" MatchAttributesProperty where
type PropertyType "TCPFlags" MatchAttributesProperty = [TCPFlagFieldProperty]
set :: PropertyType "TCPFlags" MatchAttributesProperty
-> MatchAttributesProperty -> MatchAttributesProperty
set PropertyType "TCPFlags" MatchAttributesProperty
newValue MatchAttributesProperty {Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe [TCPFlagFieldProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: MatchAttributesProperty -> ()
destinationPorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
destinations :: MatchAttributesProperty -> Maybe [AddressProperty]
protocols :: MatchAttributesProperty -> Maybe (ValueList Integer)
sourcePorts :: MatchAttributesProperty -> Maybe [PortRangeProperty]
sources :: MatchAttributesProperty -> Maybe [AddressProperty]
tCPFlags :: MatchAttributesProperty -> Maybe [TCPFlagFieldProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
tCPFlags :: Maybe [TCPFlagFieldProperty]
..}
= MatchAttributesProperty {tCPFlags :: Maybe [TCPFlagFieldProperty]
tCPFlags = [TCPFlagFieldProperty] -> Maybe [TCPFlagFieldProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TCPFlagFieldProperty]
PropertyType "TCPFlags" MatchAttributesProperty
newValue, Maybe [AddressProperty]
Maybe [PortRangeProperty]
Maybe (ValueList Integer)
()
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
haddock_workaround_ :: ()
destinationPorts :: Maybe [PortRangeProperty]
destinations :: Maybe [AddressProperty]
protocols :: Maybe (ValueList Integer)
sourcePorts :: Maybe [PortRangeProperty]
sources :: Maybe [AddressProperty]
..}