module Stratosphere.WorkSpacesWeb.IpAccessSettings (
        module Exports, IpAccessSettings(..), mkIpAccessSettings
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.WorkSpacesWeb.IpAccessSettings.IpRuleProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data IpAccessSettings
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html>
    IpAccessSettings {IpAccessSettings -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-additionalencryptioncontext>
                      IpAccessSettings -> Maybe (Map Text (Value Text))
additionalEncryptionContext :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-customermanagedkey>
                      IpAccessSettings -> Maybe (Value Text)
customerManagedKey :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-description>
                      IpAccessSettings -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-displayname>
                      IpAccessSettings -> Maybe (Value Text)
displayName :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-iprules>
                      IpAccessSettings -> [IpRuleProperty]
ipRules :: [IpRuleProperty],
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-ipaccesssettings.html#cfn-workspacesweb-ipaccesssettings-tags>
                      IpAccessSettings -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (IpAccessSettings -> IpAccessSettings -> Bool
(IpAccessSettings -> IpAccessSettings -> Bool)
-> (IpAccessSettings -> IpAccessSettings -> Bool)
-> Eq IpAccessSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IpAccessSettings -> IpAccessSettings -> Bool
== :: IpAccessSettings -> IpAccessSettings -> Bool
$c/= :: IpAccessSettings -> IpAccessSettings -> Bool
/= :: IpAccessSettings -> IpAccessSettings -> Bool
Prelude.Eq, Int -> IpAccessSettings -> ShowS
[IpAccessSettings] -> ShowS
IpAccessSettings -> String
(Int -> IpAccessSettings -> ShowS)
-> (IpAccessSettings -> String)
-> ([IpAccessSettings] -> ShowS)
-> Show IpAccessSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IpAccessSettings -> ShowS
showsPrec :: Int -> IpAccessSettings -> ShowS
$cshow :: IpAccessSettings -> String
show :: IpAccessSettings -> String
$cshowList :: [IpAccessSettings] -> ShowS
showList :: [IpAccessSettings] -> ShowS
Prelude.Show)
mkIpAccessSettings :: [IpRuleProperty] -> IpAccessSettings
mkIpAccessSettings :: [IpRuleProperty] -> IpAccessSettings
mkIpAccessSettings [IpRuleProperty]
ipRules
  = IpAccessSettings
      {haddock_workaround_ :: ()
haddock_workaround_ = (), ipRules :: [IpRuleProperty]
ipRules = [IpRuleProperty]
ipRules,
       additionalEncryptionContext :: Maybe (Map Text (Value Text))
additionalEncryptionContext = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       customerManagedKey :: Maybe (Value Text)
customerManagedKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, displayName :: Maybe (Value Text)
displayName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties IpAccessSettings where
  toResourceProperties :: IpAccessSettings -> ResourceProperties
toResourceProperties IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::WorkSpacesWeb::IpAccessSettings",
         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
"IpRules" Key -> [IpRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [IpRuleProperty]
ipRules]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Map Text (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
"AdditionalEncryptionContext"
                                 (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
additionalEncryptionContext,
                               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
"CustomerManagedKey" (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)
customerManagedKey,
                               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
"Description" (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)
description,
                               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
"DisplayName" (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)
displayName,
                               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 IpAccessSettings where
  toJSON :: IpAccessSettings -> Value
toJSON IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
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
"IpRules" Key -> [IpRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [IpRuleProperty]
ipRules]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Map Text (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
"AdditionalEncryptionContext"
                    (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
additionalEncryptionContext,
                  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
"CustomerManagedKey" (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)
customerManagedKey,
                  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
"Description" (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)
description,
                  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
"DisplayName" (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)
displayName,
                  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 "AdditionalEncryptionContext" IpAccessSettings where
  type PropertyType "AdditionalEncryptionContext" IpAccessSettings = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "AdditionalEncryptionContext" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "AdditionalEncryptionContext" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings
        {additionalEncryptionContext :: Maybe (Map Text (Value Text))
additionalEncryptionContext = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "AdditionalEncryptionContext" IpAccessSettings
newValue, [IpRuleProperty]
Maybe [Tag]
Maybe (Value Text)
()
haddock_workaround_ :: ()
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
instance Property "CustomerManagedKey" IpAccessSettings where
  type PropertyType "CustomerManagedKey" IpAccessSettings = Value Prelude.Text
  set :: PropertyType "CustomerManagedKey" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "CustomerManagedKey" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings {customerManagedKey :: Maybe (Value Text)
customerManagedKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomerManagedKey" IpAccessSettings
Value Text
newValue, [IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
instance Property "Description" IpAccessSettings where
  type PropertyType "Description" IpAccessSettings = Value Prelude.Text
  set :: PropertyType "Description" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "Description" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" IpAccessSettings
Value Text
newValue, [IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
instance Property "DisplayName" IpAccessSettings where
  type PropertyType "DisplayName" IpAccessSettings = Value Prelude.Text
  set :: PropertyType "DisplayName" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "DisplayName" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings {displayName :: Maybe (Value Text)
displayName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisplayName" IpAccessSettings
Value Text
newValue, [IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
instance Property "IpRules" IpAccessSettings where
  type PropertyType "IpRules" IpAccessSettings = [IpRuleProperty]
  set :: PropertyType "IpRules" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "IpRules" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings {ipRules :: [IpRuleProperty]
ipRules = [IpRuleProperty]
PropertyType "IpRules" IpAccessSettings
newValue, Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" IpAccessSettings where
  type PropertyType "Tags" IpAccessSettings = [Tag]
  set :: PropertyType "Tags" IpAccessSettings
-> IpAccessSettings -> IpAccessSettings
set PropertyType "Tags" IpAccessSettings
newValue IpAccessSettings {[IpRuleProperty]
Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: IpAccessSettings -> ()
additionalEncryptionContext :: IpAccessSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: IpAccessSettings -> Maybe (Value Text)
description :: IpAccessSettings -> Maybe (Value Text)
displayName :: IpAccessSettings -> Maybe (Value Text)
ipRules :: IpAccessSettings -> [IpRuleProperty]
tags :: IpAccessSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
tags :: Maybe [Tag]
..}
    = IpAccessSettings {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" IpAccessSettings
newValue, [IpRuleProperty]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
ipRules :: [IpRuleProperty]
..}