module Stratosphere.CertificateManager.Certificate (
        module Exports, Certificate(..), mkCertificate
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CertificateManager.Certificate.DomainValidationOptionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Certificate
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html>
    Certificate {Certificate -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-certificateauthorityarn>
                 Certificate -> Maybe (Value Text)
certificateAuthorityArn :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-certificateexport>
                 Certificate -> Maybe (Value Text)
certificateExport :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-certificatetransparencyloggingpreference>
                 Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-domainname>
                 Certificate -> Value Text
domainName :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-domainvalidationoptions>
                 Certificate -> Maybe [DomainValidationOptionProperty]
domainValidationOptions :: (Prelude.Maybe [DomainValidationOptionProperty]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-keyalgorithm>
                 Certificate -> Maybe (Value Text)
keyAlgorithm :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-subjectalternativenames>
                 Certificate -> Maybe (ValueList Text)
subjectAlternativeNames :: (Prelude.Maybe (ValueList Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-tags>
                 Certificate -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-validationmethod>
                 Certificate -> Maybe (Value Text)
validationMethod :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (Certificate -> Certificate -> Bool
(Certificate -> Certificate -> Bool)
-> (Certificate -> Certificate -> Bool) -> Eq Certificate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Certificate -> Certificate -> Bool
== :: Certificate -> Certificate -> Bool
$c/= :: Certificate -> Certificate -> Bool
/= :: Certificate -> Certificate -> Bool
Prelude.Eq, Int -> Certificate -> ShowS
[Certificate] -> ShowS
Certificate -> String
(Int -> Certificate -> ShowS)
-> (Certificate -> String)
-> ([Certificate] -> ShowS)
-> Show Certificate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Certificate -> ShowS
showsPrec :: Int -> Certificate -> ShowS
$cshow :: Certificate -> String
show :: Certificate -> String
$cshowList :: [Certificate] -> ShowS
showList :: [Certificate] -> ShowS
Prelude.Show)
mkCertificate :: Value Prelude.Text -> Certificate
mkCertificate :: Value Text -> Certificate
mkCertificate Value Text
domainName
  = Certificate
      {haddock_workaround_ :: ()
haddock_workaround_ = (), domainName :: Value Text
domainName = Value Text
domainName,
       certificateAuthorityArn :: Maybe (Value Text)
certificateAuthorityArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       certificateExport :: Maybe (Value Text)
certificateExport = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       certificateTransparencyLoggingPreference :: Maybe (Value Text)
certificateTransparencyLoggingPreference = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       domainValidationOptions :: Maybe [DomainValidationOptionProperty]
domainValidationOptions = Maybe [DomainValidationOptionProperty]
forall a. Maybe a
Prelude.Nothing,
       keyAlgorithm :: Maybe (Value Text)
keyAlgorithm = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       subjectAlternativeNames :: Maybe (ValueList Text)
subjectAlternativeNames = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       validationMethod :: Maybe (Value Text)
validationMethod = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Certificate where
  toResourceProperties :: Certificate -> ResourceProperties
toResourceProperties Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CertificateManager::Certificate",
         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
"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]
                           ([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
"CertificateAuthorityArn"
                                 (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)
certificateAuthorityArn,
                               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
"CertificateExport" (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)
certificateExport,
                               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
"CertificateTransparencyLoggingPreference"
                                 (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)
certificateTransparencyLoggingPreference,
                               Key -> [DomainValidationOptionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DomainValidationOptions"
                                 ([DomainValidationOptionProperty] -> (Key, Value))
-> Maybe [DomainValidationOptionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DomainValidationOptionProperty]
domainValidationOptions,
                               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
"KeyAlgorithm" (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)
keyAlgorithm,
                               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
"SubjectAlternativeNames"
                                 (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)
subjectAlternativeNames,
                               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,
                               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
"ValidationMethod" (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)
validationMethod]))}
instance JSON.ToJSON Certificate where
  toJSON :: Certificate -> Value
toJSON Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: 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
"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]
              ([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
"CertificateAuthorityArn"
                    (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)
certificateAuthorityArn,
                  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
"CertificateExport" (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)
certificateExport,
                  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
"CertificateTransparencyLoggingPreference"
                    (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)
certificateTransparencyLoggingPreference,
                  Key -> [DomainValidationOptionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DomainValidationOptions"
                    ([DomainValidationOptionProperty] -> (Key, Value))
-> Maybe [DomainValidationOptionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DomainValidationOptionProperty]
domainValidationOptions,
                  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
"KeyAlgorithm" (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)
keyAlgorithm,
                  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
"SubjectAlternativeNames"
                    (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)
subjectAlternativeNames,
                  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,
                  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
"ValidationMethod" (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)
validationMethod])))
instance Property "CertificateAuthorityArn" Certificate where
  type PropertyType "CertificateAuthorityArn" Certificate = Value Prelude.Text
  set :: PropertyType "CertificateAuthorityArn" Certificate
-> Certificate -> Certificate
set PropertyType "CertificateAuthorityArn" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {certificateAuthorityArn :: Maybe (Value Text)
certificateAuthorityArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CertificateAuthorityArn" Certificate
Value Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "CertificateExport" Certificate where
  type PropertyType "CertificateExport" Certificate = Value Prelude.Text
  set :: PropertyType "CertificateExport" Certificate
-> Certificate -> Certificate
set PropertyType "CertificateExport" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {certificateExport :: Maybe (Value Text)
certificateExport = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CertificateExport" Certificate
Value Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "CertificateTransparencyLoggingPreference" Certificate where
  type PropertyType "CertificateTransparencyLoggingPreference" Certificate = Value Prelude.Text
  set :: PropertyType "CertificateTransparencyLoggingPreference" Certificate
-> Certificate -> Certificate
set PropertyType "CertificateTransparencyLoggingPreference" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate
        {certificateTransparencyLoggingPreference :: Maybe (Value Text)
certificateTransparencyLoggingPreference = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CertificateTransparencyLoggingPreference" Certificate
Value Text
newValue,
         Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "DomainName" Certificate where
  type PropertyType "DomainName" Certificate = Value Prelude.Text
  set :: PropertyType "DomainName" Certificate -> Certificate -> Certificate
set PropertyType "DomainName" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {domainName :: Value Text
domainName = PropertyType "DomainName" Certificate
Value Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "DomainValidationOptions" Certificate where
  type PropertyType "DomainValidationOptions" Certificate = [DomainValidationOptionProperty]
  set :: PropertyType "DomainValidationOptions" Certificate
-> Certificate -> Certificate
set PropertyType "DomainValidationOptions" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {domainValidationOptions :: Maybe [DomainValidationOptionProperty]
domainValidationOptions = [DomainValidationOptionProperty]
-> Maybe [DomainValidationOptionProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DomainValidationOptionProperty]
PropertyType "DomainValidationOptions" Certificate
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "KeyAlgorithm" Certificate where
  type PropertyType "KeyAlgorithm" Certificate = Value Prelude.Text
  set :: PropertyType "KeyAlgorithm" Certificate
-> Certificate -> Certificate
set PropertyType "KeyAlgorithm" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {keyAlgorithm :: Maybe (Value Text)
keyAlgorithm = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KeyAlgorithm" Certificate
Value Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "SubjectAlternativeNames" Certificate where
  type PropertyType "SubjectAlternativeNames" Certificate = ValueList Prelude.Text
  set :: PropertyType "SubjectAlternativeNames" Certificate
-> Certificate -> Certificate
set PropertyType "SubjectAlternativeNames" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {subjectAlternativeNames :: Maybe (ValueList Text)
subjectAlternativeNames = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubjectAlternativeNames" Certificate
ValueList Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
instance Property "Tags" Certificate where
  type PropertyType "Tags" Certificate = [Tag]
  set :: PropertyType "Tags" Certificate -> Certificate -> Certificate
set PropertyType "Tags" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {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" Certificate
newValue, Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
validationMethod :: Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
validationMethod :: Maybe (Value Text)
..}
instance Property "ValidationMethod" Certificate where
  type PropertyType "ValidationMethod" Certificate = Value Prelude.Text
  set :: PropertyType "ValidationMethod" Certificate
-> Certificate -> Certificate
set PropertyType "ValidationMethod" Certificate
newValue Certificate {Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Certificate -> ()
certificateAuthorityArn :: Certificate -> Maybe (Value Text)
certificateExport :: Certificate -> Maybe (Value Text)
certificateTransparencyLoggingPreference :: Certificate -> Maybe (Value Text)
domainName :: Certificate -> Value Text
domainValidationOptions :: Certificate -> Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Certificate -> Maybe (Value Text)
subjectAlternativeNames :: Certificate -> Maybe (ValueList Text)
tags :: Certificate -> Maybe [Tag]
validationMethod :: Certificate -> Maybe (Value Text)
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
validationMethod :: Maybe (Value Text)
..}
    = Certificate {validationMethod :: Maybe (Value Text)
validationMethod = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ValidationMethod" Certificate
Value Text
newValue, Maybe [Tag]
Maybe [DomainValidationOptionProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
certificateAuthorityArn :: Maybe (Value Text)
certificateExport :: Maybe (Value Text)
certificateTransparencyLoggingPreference :: Maybe (Value Text)
domainName :: Value Text
domainValidationOptions :: Maybe [DomainValidationOptionProperty]
keyAlgorithm :: Maybe (Value Text)
subjectAlternativeNames :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}