module Stratosphere.OpenSearchServerless.SecurityConfig (
module Exports, SecurityConfig(..), mkSecurityConfig
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.OpenSearchServerless.SecurityConfig.IamFederationConfigOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.OpenSearchServerless.SecurityConfig.IamIdentityCenterConfigOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.OpenSearchServerless.SecurityConfig.SamlConfigOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SecurityConfig
=
SecurityConfig {SecurityConfig -> ()
haddock_workaround_ :: (),
SecurityConfig -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamFederationOptions :: (Prelude.Maybe IamFederationConfigOptionsProperty),
SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
iamIdentityCenterOptions :: (Prelude.Maybe IamIdentityCenterConfigOptionsProperty),
SecurityConfig -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
SecurityConfig -> Maybe SamlConfigOptionsProperty
samlOptions :: (Prelude.Maybe SamlConfigOptionsProperty),
SecurityConfig -> Maybe (Value Text)
type' :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (SecurityConfig -> SecurityConfig -> Bool
(SecurityConfig -> SecurityConfig -> Bool)
-> (SecurityConfig -> SecurityConfig -> Bool) -> Eq SecurityConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SecurityConfig -> SecurityConfig -> Bool
== :: SecurityConfig -> SecurityConfig -> Bool
$c/= :: SecurityConfig -> SecurityConfig -> Bool
/= :: SecurityConfig -> SecurityConfig -> Bool
Prelude.Eq, Int -> SecurityConfig -> ShowS
[SecurityConfig] -> ShowS
SecurityConfig -> String
(Int -> SecurityConfig -> ShowS)
-> (SecurityConfig -> String)
-> ([SecurityConfig] -> ShowS)
-> Show SecurityConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SecurityConfig -> ShowS
showsPrec :: Int -> SecurityConfig -> ShowS
$cshow :: SecurityConfig -> String
show :: SecurityConfig -> String
$cshowList :: [SecurityConfig] -> ShowS
showList :: [SecurityConfig] -> ShowS
Prelude.Show)
mkSecurityConfig :: SecurityConfig
mkSecurityConfig :: SecurityConfig
mkSecurityConfig
= SecurityConfig
{haddock_workaround_ :: ()
haddock_workaround_ = (), description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamFederationOptions = Maybe IamFederationConfigOptionsProperty
forall a. Maybe a
Prelude.Nothing,
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
iamIdentityCenterOptions = Maybe IamIdentityCenterConfigOptionsProperty
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
samlOptions :: Maybe SamlConfigOptionsProperty
samlOptions = Maybe SamlConfigOptionsProperty
forall a. Maybe a
Prelude.Nothing, type' :: Maybe (Value Text)
type' = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SecurityConfig where
toResourceProperties :: SecurityConfig -> ResourceProperties
toResourceProperties SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::OpenSearchServerless::SecurityConfig",
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
"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 -> IamFederationConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IamFederationOptions" (IamFederationConfigOptionsProperty -> (Key, Value))
-> Maybe IamFederationConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IamFederationConfigOptionsProperty
iamFederationOptions,
Key -> IamIdentityCenterConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IamIdentityCenterOptions"
(IamIdentityCenterConfigOptionsProperty -> (Key, Value))
-> Maybe IamIdentityCenterConfigOptionsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IamIdentityCenterConfigOptionsProperty
iamIdentityCenterOptions,
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
"Name" (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)
name,
Key -> SamlConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SamlOptions" (SamlConfigOptionsProperty -> (Key, Value))
-> Maybe SamlConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SamlConfigOptionsProperty
samlOptions,
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
"Type" (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)
type'])}
instance JSON.ToJSON SecurityConfig where
toJSON :: SecurityConfig -> Value
toJSON SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: 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
"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 -> IamFederationConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IamFederationOptions" (IamFederationConfigOptionsProperty -> (Key, Value))
-> Maybe IamFederationConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IamFederationConfigOptionsProperty
iamFederationOptions,
Key -> IamIdentityCenterConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IamIdentityCenterOptions"
(IamIdentityCenterConfigOptionsProperty -> (Key, Value))
-> Maybe IamIdentityCenterConfigOptionsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IamIdentityCenterConfigOptionsProperty
iamIdentityCenterOptions,
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
"Name" (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)
name,
Key -> SamlConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SamlOptions" (SamlConfigOptionsProperty -> (Key, Value))
-> Maybe SamlConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SamlConfigOptionsProperty
samlOptions,
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
"Type" (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)
type']))
instance Property "Description" SecurityConfig where
type PropertyType "Description" SecurityConfig = Value Prelude.Text
set :: PropertyType "Description" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "Description" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig {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" SecurityConfig
Value Text
newValue, Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: ()
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
instance Property "IamFederationOptions" SecurityConfig where
type PropertyType "IamFederationOptions" SecurityConfig = IamFederationConfigOptionsProperty
set :: PropertyType "IamFederationOptions" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "IamFederationOptions" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig {iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamFederationOptions = IamFederationConfigOptionsProperty
-> Maybe IamFederationConfigOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IamFederationOptions" SecurityConfig
IamFederationConfigOptionsProperty
newValue, Maybe (Value Text)
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
instance Property "IamIdentityCenterOptions" SecurityConfig where
type PropertyType "IamIdentityCenterOptions" SecurityConfig = IamIdentityCenterConfigOptionsProperty
set :: PropertyType "IamIdentityCenterOptions" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "IamIdentityCenterOptions" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig
{iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
iamIdentityCenterOptions = IamIdentityCenterConfigOptionsProperty
-> Maybe IamIdentityCenterConfigOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IamIdentityCenterOptions" SecurityConfig
IamIdentityCenterConfigOptionsProperty
newValue, Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
instance Property "Name" SecurityConfig where
type PropertyType "Name" SecurityConfig = Value Prelude.Text
set :: PropertyType "Name" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "Name" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" SecurityConfig
Value Text
newValue, Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
instance Property "SamlOptions" SecurityConfig where
type PropertyType "SamlOptions" SecurityConfig = SamlConfigOptionsProperty
set :: PropertyType "SamlOptions" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "SamlOptions" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig {samlOptions :: Maybe SamlConfigOptionsProperty
samlOptions = SamlConfigOptionsProperty -> Maybe SamlConfigOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SamlOptions" SecurityConfig
SamlConfigOptionsProperty
newValue, Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
type' :: Maybe (Value Text)
..}
instance Property "Type" SecurityConfig where
type PropertyType "Type" SecurityConfig = Value Prelude.Text
set :: PropertyType "Type" SecurityConfig
-> SecurityConfig -> SecurityConfig
set PropertyType "Type" SecurityConfig
newValue SecurityConfig {Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: SecurityConfig -> ()
description :: SecurityConfig -> Maybe (Value Text)
iamFederationOptions :: SecurityConfig -> Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: SecurityConfig -> Maybe IamIdentityCenterConfigOptionsProperty
name :: SecurityConfig -> Maybe (Value Text)
samlOptions :: SecurityConfig -> Maybe SamlConfigOptionsProperty
type' :: SecurityConfig -> Maybe (Value Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
type' :: Maybe (Value Text)
..}
= SecurityConfig {type' :: Maybe (Value Text)
type' = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Type" SecurityConfig
Value Text
newValue, Maybe (Value Text)
Maybe IamFederationConfigOptionsProperty
Maybe IamIdentityCenterConfigOptionsProperty
Maybe SamlConfigOptionsProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
iamFederationOptions :: Maybe IamFederationConfigOptionsProperty
iamIdentityCenterOptions :: Maybe IamIdentityCenterConfigOptionsProperty
name :: Maybe (Value Text)
samlOptions :: Maybe SamlConfigOptionsProperty
..}