module Stratosphere.EC2.NetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty (
module Exports, AnalysisSecurityGroupRuleProperty(..),
mkAnalysisSecurityGroupRuleProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EC2.NetworkInsightsAnalysis.PortRangeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AnalysisSecurityGroupRuleProperty
=
AnalysisSecurityGroupRuleProperty {AnalysisSecurityGroupRuleProperty -> ()
haddock_workaround_ :: (),
AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
cidr :: (Prelude.Maybe (Value Prelude.Text)),
AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: (Prelude.Maybe (Value Prelude.Text)),
AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
portRange :: (Prelude.Maybe PortRangeProperty),
AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
prefixListId :: (Prelude.Maybe (Value Prelude.Text)),
AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: (Prelude.Maybe (Value Prelude.Text)),
AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool
(AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool)
-> (AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool)
-> Eq AnalysisSecurityGroupRuleProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool
== :: AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool
$c/= :: AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool
/= :: AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty -> Bool
Prelude.Eq, Int -> AnalysisSecurityGroupRuleProperty -> ShowS
[AnalysisSecurityGroupRuleProperty] -> ShowS
AnalysisSecurityGroupRuleProperty -> String
(Int -> AnalysisSecurityGroupRuleProperty -> ShowS)
-> (AnalysisSecurityGroupRuleProperty -> String)
-> ([AnalysisSecurityGroupRuleProperty] -> ShowS)
-> Show AnalysisSecurityGroupRuleProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AnalysisSecurityGroupRuleProperty -> ShowS
showsPrec :: Int -> AnalysisSecurityGroupRuleProperty -> ShowS
$cshow :: AnalysisSecurityGroupRuleProperty -> String
show :: AnalysisSecurityGroupRuleProperty -> String
$cshowList :: [AnalysisSecurityGroupRuleProperty] -> ShowS
showList :: [AnalysisSecurityGroupRuleProperty] -> ShowS
Prelude.Show)
mkAnalysisSecurityGroupRuleProperty ::
AnalysisSecurityGroupRuleProperty
mkAnalysisSecurityGroupRuleProperty :: AnalysisSecurityGroupRuleProperty
mkAnalysisSecurityGroupRuleProperty
= AnalysisSecurityGroupRuleProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), cidr :: Maybe (Value Text)
cidr = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
direction :: Maybe (Value Text)
direction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, portRange :: Maybe PortRangeProperty
portRange = Maybe PortRangeProperty
forall a. Maybe a
Prelude.Nothing,
prefixListId :: Maybe (Value Text)
prefixListId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, protocol :: Maybe (Value Text)
protocol = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
securityGroupId :: Maybe (Value Text)
securityGroupId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AnalysisSecurityGroupRuleProperty where
toResourceProperties :: AnalysisSecurityGroupRuleProperty -> ResourceProperties
toResourceProperties AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule",
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
"Cidr" (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)
cidr,
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
"Direction" (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)
direction,
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
"PortRange" (PortRangeProperty -> (Key, Value))
-> Maybe PortRangeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PortRangeProperty
portRange,
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
"PrefixListId" (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)
prefixListId,
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
"Protocol" (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)
protocol,
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
"SecurityGroupId" (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)
securityGroupId])}
instance JSON.ToJSON AnalysisSecurityGroupRuleProperty where
toJSON :: AnalysisSecurityGroupRuleProperty -> Value
toJSON AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= [(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
"Cidr" (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)
cidr,
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
"Direction" (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)
direction,
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
"PortRange" (PortRangeProperty -> (Key, Value))
-> Maybe PortRangeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PortRangeProperty
portRange,
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
"PrefixListId" (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)
prefixListId,
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
"Protocol" (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)
protocol,
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
"SecurityGroupId" (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)
securityGroupId]))
instance Property "Cidr" AnalysisSecurityGroupRuleProperty where
type PropertyType "Cidr" AnalysisSecurityGroupRuleProperty = Value Prelude.Text
set :: PropertyType "Cidr" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "Cidr" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{cidr :: Maybe (Value Text)
cidr = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Cidr" AnalysisSecurityGroupRuleProperty
Value Text
newValue, Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: ()
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
haddock_workaround_ :: ()
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
instance Property "Direction" AnalysisSecurityGroupRuleProperty where
type PropertyType "Direction" AnalysisSecurityGroupRuleProperty = Value Prelude.Text
set :: PropertyType "Direction" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "Direction" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{direction :: Maybe (Value Text)
direction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Direction" AnalysisSecurityGroupRuleProperty
Value Text
newValue, Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
instance Property "PortRange" AnalysisSecurityGroupRuleProperty where
type PropertyType "PortRange" AnalysisSecurityGroupRuleProperty = PortRangeProperty
set :: PropertyType "PortRange" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "PortRange" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{portRange :: Maybe PortRangeProperty
portRange = PortRangeProperty -> Maybe PortRangeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PortRange" AnalysisSecurityGroupRuleProperty
PortRangeProperty
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
instance Property "PrefixListId" AnalysisSecurityGroupRuleProperty where
type PropertyType "PrefixListId" AnalysisSecurityGroupRuleProperty = Value Prelude.Text
set :: PropertyType "PrefixListId" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "PrefixListId" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{prefixListId :: Maybe (Value Text)
prefixListId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PrefixListId" AnalysisSecurityGroupRuleProperty
Value Text
newValue, Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
instance Property "Protocol" AnalysisSecurityGroupRuleProperty where
type PropertyType "Protocol" AnalysisSecurityGroupRuleProperty = Value Prelude.Text
set :: PropertyType "Protocol" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "Protocol" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{protocol :: Maybe (Value Text)
protocol = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Protocol" AnalysisSecurityGroupRuleProperty
Value Text
newValue, Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
instance Property "SecurityGroupId" AnalysisSecurityGroupRuleProperty where
type PropertyType "SecurityGroupId" AnalysisSecurityGroupRuleProperty = Value Prelude.Text
set :: PropertyType "SecurityGroupId" AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
-> AnalysisSecurityGroupRuleProperty
set PropertyType "SecurityGroupId" AnalysisSecurityGroupRuleProperty
newValue AnalysisSecurityGroupRuleProperty {Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: AnalysisSecurityGroupRuleProperty -> ()
cidr :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
direction :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
portRange :: AnalysisSecurityGroupRuleProperty -> Maybe PortRangeProperty
prefixListId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
protocol :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
securityGroupId :: AnalysisSecurityGroupRuleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
securityGroupId :: Maybe (Value Text)
..}
= AnalysisSecurityGroupRuleProperty
{securityGroupId :: Maybe (Value Text)
securityGroupId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecurityGroupId" AnalysisSecurityGroupRuleProperty
Value Text
newValue, Maybe (Value Text)
Maybe PortRangeProperty
()
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
haddock_workaround_ :: ()
cidr :: Maybe (Value Text)
direction :: Maybe (Value Text)
portRange :: Maybe PortRangeProperty
prefixListId :: Maybe (Value Text)
protocol :: Maybe (Value Text)
..}