module Stratosphere.Amplify.Domain (
module Exports, Domain(..), mkDomain
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Amplify.Domain.CertificateSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.Amplify.Domain.SubDomainSettingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Domain
=
Domain {Domain -> ()
haddock_workaround_ :: (),
Domain -> Value Text
appId :: (Value Prelude.Text),
Domain -> Maybe (ValueList Text)
autoSubDomainCreationPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
Domain -> Maybe (Value Text)
autoSubDomainIAMRole :: (Prelude.Maybe (Value Prelude.Text)),
Domain -> Maybe CertificateSettingsProperty
certificateSettings :: (Prelude.Maybe CertificateSettingsProperty),
Domain -> Value Text
domainName :: (Value Prelude.Text),
Domain -> Maybe (Value Bool)
enableAutoSubDomain :: (Prelude.Maybe (Value Prelude.Bool)),
Domain -> [SubDomainSettingProperty]
subDomainSettings :: [SubDomainSettingProperty]}
deriving stock (Domain -> Domain -> Bool
(Domain -> Domain -> Bool)
-> (Domain -> Domain -> Bool) -> Eq Domain
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Domain -> Domain -> Bool
== :: Domain -> Domain -> Bool
$c/= :: Domain -> Domain -> Bool
/= :: Domain -> Domain -> Bool
Prelude.Eq, Int -> Domain -> ShowS
[Domain] -> ShowS
Domain -> String
(Int -> Domain -> ShowS)
-> (Domain -> String) -> ([Domain] -> ShowS) -> Show Domain
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Domain -> ShowS
showsPrec :: Int -> Domain -> ShowS
$cshow :: Domain -> String
show :: Domain -> String
$cshowList :: [Domain] -> ShowS
showList :: [Domain] -> ShowS
Prelude.Show)
mkDomain ::
Value Prelude.Text
-> Value Prelude.Text -> [SubDomainSettingProperty] -> Domain
mkDomain :: Value Text -> Value Text -> [SubDomainSettingProperty] -> Domain
mkDomain Value Text
appId Value Text
domainName [SubDomainSettingProperty]
subDomainSettings
= Domain
{haddock_workaround_ :: ()
haddock_workaround_ = (), appId :: Value Text
appId = Value Text
appId, domainName :: Value Text
domainName = Value Text
domainName,
subDomainSettings :: [SubDomainSettingProperty]
subDomainSettings = [SubDomainSettingProperty]
subDomainSettings,
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainCreationPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
autoSubDomainIAMRole :: Maybe (Value Text)
autoSubDomainIAMRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
certificateSettings :: Maybe CertificateSettingsProperty
certificateSettings = Maybe CertificateSettingsProperty
forall a. Maybe a
Prelude.Nothing,
enableAutoSubDomain :: Maybe (Value Bool)
enableAutoSubDomain = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Domain where
toResourceProperties :: Domain -> ResourceProperties
toResourceProperties Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Amplify::Domain", 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
"AppId" 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
appId, Key
"DomainName" 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
domainName,
Key
"SubDomainSettings" Key -> [SubDomainSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubDomainSettingProperty]
subDomainSettings]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"AutoSubDomainCreationPatterns"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
autoSubDomainCreationPatterns,
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
"AutoSubDomainIAMRole" (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)
autoSubDomainIAMRole,
Key -> CertificateSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CertificateSettings" (CertificateSettingsProperty -> (Key, Value))
-> Maybe CertificateSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CertificateSettingsProperty
certificateSettings,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableAutoSubDomain" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableAutoSubDomain]))}
instance JSON.ToJSON Domain where
toJSON :: Domain -> Value
toJSON Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= [(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
"AppId" 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
appId, Key
"DomainName" 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
domainName,
Key
"SubDomainSettings" Key -> [SubDomainSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubDomainSettingProperty]
subDomainSettings]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"AutoSubDomainCreationPatterns"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
autoSubDomainCreationPatterns,
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
"AutoSubDomainIAMRole" (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)
autoSubDomainIAMRole,
Key -> CertificateSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CertificateSettings" (CertificateSettingsProperty -> (Key, Value))
-> Maybe CertificateSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CertificateSettingsProperty
certificateSettings,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableAutoSubDomain" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableAutoSubDomain])))
instance Property "AppId" Domain where
type PropertyType "AppId" Domain = Value Prelude.Text
set :: PropertyType "AppId" Domain -> Domain -> Domain
set PropertyType "AppId" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..} = Domain {appId :: Value Text
appId = PropertyType "AppId" Domain
Value Text
newValue, [SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "AutoSubDomainCreationPatterns" Domain where
type PropertyType "AutoSubDomainCreationPatterns" Domain = ValueList Prelude.Text
set :: PropertyType "AutoSubDomainCreationPatterns" Domain
-> Domain -> Domain
set PropertyType "AutoSubDomainCreationPatterns" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= Domain
{autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainCreationPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutoSubDomainCreationPatterns" Domain
ValueList Text
newValue, [SubDomainSettingProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "AutoSubDomainIAMRole" Domain where
type PropertyType "AutoSubDomainIAMRole" Domain = Value Prelude.Text
set :: PropertyType "AutoSubDomainIAMRole" Domain -> Domain -> Domain
set PropertyType "AutoSubDomainIAMRole" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= Domain {autoSubDomainIAMRole :: Maybe (Value Text)
autoSubDomainIAMRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutoSubDomainIAMRole" Domain
Value Text
newValue, [SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "CertificateSettings" Domain where
type PropertyType "CertificateSettings" Domain = CertificateSettingsProperty
set :: PropertyType "CertificateSettings" Domain -> Domain -> Domain
set PropertyType "CertificateSettings" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= Domain {certificateSettings :: Maybe CertificateSettingsProperty
certificateSettings = CertificateSettingsProperty -> Maybe CertificateSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CertificateSettings" Domain
CertificateSettingsProperty
newValue, [SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "DomainName" Domain where
type PropertyType "DomainName" Domain = Value Prelude.Text
set :: PropertyType "DomainName" Domain -> Domain -> Domain
set PropertyType "DomainName" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..} = Domain {domainName :: Value Text
domainName = PropertyType "DomainName" Domain
Value Text
newValue, [SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "EnableAutoSubDomain" Domain where
type PropertyType "EnableAutoSubDomain" Domain = Value Prelude.Bool
set :: PropertyType "EnableAutoSubDomain" Domain -> Domain -> Domain
set PropertyType "EnableAutoSubDomain" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= Domain {enableAutoSubDomain :: Maybe (Value Bool)
enableAutoSubDomain = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableAutoSubDomain" Domain
Value Bool
newValue, [SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
subDomainSettings :: [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
subDomainSettings :: [SubDomainSettingProperty]
..}
instance Property "SubDomainSettings" Domain where
type PropertyType "SubDomainSettings" Domain = [SubDomainSettingProperty]
set :: PropertyType "SubDomainSettings" Domain -> Domain -> Domain
set PropertyType "SubDomainSettings" Domain
newValue Domain {[SubDomainSettingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: Domain -> ()
appId :: Domain -> Value Text
autoSubDomainCreationPatterns :: Domain -> Maybe (ValueList Text)
autoSubDomainIAMRole :: Domain -> Maybe (Value Text)
certificateSettings :: Domain -> Maybe CertificateSettingsProperty
domainName :: Domain -> Value Text
enableAutoSubDomain :: Domain -> Maybe (Value Bool)
subDomainSettings :: Domain -> [SubDomainSettingProperty]
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
subDomainSettings :: [SubDomainSettingProperty]
..}
= Domain {subDomainSettings :: [SubDomainSettingProperty]
subDomainSettings = [SubDomainSettingProperty]
PropertyType "SubDomainSettings" Domain
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe CertificateSettingsProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
haddock_workaround_ :: ()
appId :: Value Text
autoSubDomainCreationPatterns :: Maybe (ValueList Text)
autoSubDomainIAMRole :: Maybe (Value Text)
certificateSettings :: Maybe CertificateSettingsProperty
domainName :: Value Text
enableAutoSubDomain :: Maybe (Value Bool)
..}