module Stratosphere.Kendra.Index.JwtTokenTypeConfigurationProperty (
        JwtTokenTypeConfigurationProperty(..),
        mkJwtTokenTypeConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data JwtTokenTypeConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html>
    JwtTokenTypeConfigurationProperty {JwtTokenTypeConfigurationProperty -> ()
haddock_workaround_ :: (),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-claimregex>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
claimRegex :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-groupattributefield>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-issuer>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-keylocation>
                                       JwtTokenTypeConfigurationProperty -> Value Text
keyLocation :: (Value Prelude.Text),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-secretmanagerarn>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
secretManagerArn :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-url>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-usernameattributefield>
                                       JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty -> Bool
(JwtTokenTypeConfigurationProperty
 -> JwtTokenTypeConfigurationProperty -> Bool)
-> (JwtTokenTypeConfigurationProperty
    -> JwtTokenTypeConfigurationProperty -> Bool)
-> Eq JwtTokenTypeConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty -> Bool
== :: JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty -> Bool
$c/= :: JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty -> Bool
/= :: JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty -> Bool
Prelude.Eq, Int -> JwtTokenTypeConfigurationProperty -> ShowS
[JwtTokenTypeConfigurationProperty] -> ShowS
JwtTokenTypeConfigurationProperty -> String
(Int -> JwtTokenTypeConfigurationProperty -> ShowS)
-> (JwtTokenTypeConfigurationProperty -> String)
-> ([JwtTokenTypeConfigurationProperty] -> ShowS)
-> Show JwtTokenTypeConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> JwtTokenTypeConfigurationProperty -> ShowS
showsPrec :: Int -> JwtTokenTypeConfigurationProperty -> ShowS
$cshow :: JwtTokenTypeConfigurationProperty -> String
show :: JwtTokenTypeConfigurationProperty -> String
$cshowList :: [JwtTokenTypeConfigurationProperty] -> ShowS
showList :: [JwtTokenTypeConfigurationProperty] -> ShowS
Prelude.Show)
mkJwtTokenTypeConfigurationProperty ::
  Value Prelude.Text -> JwtTokenTypeConfigurationProperty
mkJwtTokenTypeConfigurationProperty :: Value Text -> JwtTokenTypeConfigurationProperty
mkJwtTokenTypeConfigurationProperty Value Text
keyLocation
  = JwtTokenTypeConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), keyLocation :: Value Text
keyLocation = Value Text
keyLocation,
       claimRegex :: Maybe (Value Text)
claimRegex = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       groupAttributeField :: Maybe (Value Text)
groupAttributeField = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, issuer :: Maybe (Value Text)
issuer = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       secretManagerArn :: Maybe (Value Text)
secretManagerArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, uRL :: Maybe (Value Text)
uRL = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       userNameAttributeField :: Maybe (Value Text)
userNameAttributeField = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties JwtTokenTypeConfigurationProperty where
  toResourceProperties :: JwtTokenTypeConfigurationProperty -> ResourceProperties
toResourceProperties JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Kendra::Index.JwtTokenTypeConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"KeyLocation" 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..= Value Text
keyLocation]
                           ([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
"ClaimRegex" (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)
claimRegex,
                               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
"GroupAttributeField" (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)
groupAttributeField,
                               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
"Issuer" (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)
issuer,
                               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
"SecretManagerArn" (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)
secretManagerArn,
                               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
"URL" (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)
uRL,
                               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
"UserNameAttributeField"
                                 (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)
userNameAttributeField]))}
instance JSON.ToJSON JwtTokenTypeConfigurationProperty where
  toJSON :: JwtTokenTypeConfigurationProperty -> Value
toJSON JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = [(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
"KeyLocation" 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..= Value Text
keyLocation]
              ([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
"ClaimRegex" (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)
claimRegex,
                  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
"GroupAttributeField" (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)
groupAttributeField,
                  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
"Issuer" (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)
issuer,
                  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
"SecretManagerArn" (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)
secretManagerArn,
                  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
"URL" (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)
uRL,
                  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
"UserNameAttributeField"
                    (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)
userNameAttributeField])))
instance Property "ClaimRegex" JwtTokenTypeConfigurationProperty where
  type PropertyType "ClaimRegex" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ClaimRegex" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType "ClaimRegex" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {claimRegex :: Maybe (Value Text)
claimRegex = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ClaimRegex" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "GroupAttributeField" JwtTokenTypeConfigurationProperty where
  type PropertyType "GroupAttributeField" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "GroupAttributeField" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType
  "GroupAttributeField" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {groupAttributeField :: Maybe (Value Text)
groupAttributeField = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "GroupAttributeField" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "Issuer" JwtTokenTypeConfigurationProperty where
  type PropertyType "Issuer" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Issuer" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType "Issuer" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {issuer :: Maybe (Value Text)
issuer = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Issuer" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "KeyLocation" JwtTokenTypeConfigurationProperty where
  type PropertyType "KeyLocation" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "KeyLocation" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType "KeyLocation" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty {keyLocation :: Value Text
keyLocation = PropertyType "KeyLocation" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "SecretManagerArn" JwtTokenTypeConfigurationProperty where
  type PropertyType "SecretManagerArn" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "SecretManagerArn" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType "SecretManagerArn" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {secretManagerArn :: Maybe (Value Text)
secretManagerArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecretManagerArn" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "URL" JwtTokenTypeConfigurationProperty where
  type PropertyType "URL" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "URL" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType "URL" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {uRL :: Maybe (Value Text)
uRL = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "URL" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
instance Property "UserNameAttributeField" JwtTokenTypeConfigurationProperty where
  type PropertyType "UserNameAttributeField" JwtTokenTypeConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "UserNameAttributeField" JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
-> JwtTokenTypeConfigurationProperty
set PropertyType
  "UserNameAttributeField" JwtTokenTypeConfigurationProperty
newValue JwtTokenTypeConfigurationProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: JwtTokenTypeConfigurationProperty -> ()
claimRegex :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
groupAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
issuer :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
keyLocation :: JwtTokenTypeConfigurationProperty -> Value Text
secretManagerArn :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
uRL :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
userNameAttributeField :: JwtTokenTypeConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
userNameAttributeField :: Maybe (Value Text)
..}
    = JwtTokenTypeConfigurationProperty
        {userNameAttributeField :: Maybe (Value Text)
userNameAttributeField = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "UserNameAttributeField" JwtTokenTypeConfigurationProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
haddock_workaround_ :: ()
claimRegex :: Maybe (Value Text)
groupAttributeField :: Maybe (Value Text)
issuer :: Maybe (Value Text)
keyLocation :: Value Text
secretManagerArn :: Maybe (Value Text)
uRL :: Maybe (Value Text)
..}