module Stratosphere.Config.ConformancePack (
        module Exports, ConformancePack(..), mkConformancePack
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Config.ConformancePack.ConformancePackInputParameterProperty as Exports
import {-# SOURCE #-} Stratosphere.Config.ConformancePack.TemplateSSMDocumentDetailsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ConformancePack
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html>
    ConformancePack {ConformancePack -> ()
haddock_workaround_ :: (),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-conformancepackinputparameters>
                     ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters :: (Prelude.Maybe [ConformancePackInputParameterProperty]),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-conformancepackname>
                     ConformancePack -> Value Text
conformancePackName :: (Value Prelude.Text),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-deliverys3bucket>
                     ConformancePack -> Maybe (Value Text)
deliveryS3Bucket :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-deliverys3keyprefix>
                     ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-templatebody>
                     ConformancePack -> Maybe (Value Text)
templateBody :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-templates3uri>
                     ConformancePack -> Maybe (Value Text)
templateS3Uri :: (Prelude.Maybe (Value Prelude.Text)),
                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-templatessmdocumentdetails>
                     ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
templateSSMDocumentDetails :: (Prelude.Maybe TemplateSSMDocumentDetailsProperty)}
  deriving stock (ConformancePack -> ConformancePack -> Bool
(ConformancePack -> ConformancePack -> Bool)
-> (ConformancePack -> ConformancePack -> Bool)
-> Eq ConformancePack
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ConformancePack -> ConformancePack -> Bool
== :: ConformancePack -> ConformancePack -> Bool
$c/= :: ConformancePack -> ConformancePack -> Bool
/= :: ConformancePack -> ConformancePack -> Bool
Prelude.Eq, Int -> ConformancePack -> ShowS
[ConformancePack] -> ShowS
ConformancePack -> String
(Int -> ConformancePack -> ShowS)
-> (ConformancePack -> String)
-> ([ConformancePack] -> ShowS)
-> Show ConformancePack
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ConformancePack -> ShowS
showsPrec :: Int -> ConformancePack -> ShowS
$cshow :: ConformancePack -> String
show :: ConformancePack -> String
$cshowList :: [ConformancePack] -> ShowS
showList :: [ConformancePack] -> ShowS
Prelude.Show)
mkConformancePack :: Value Prelude.Text -> ConformancePack
mkConformancePack :: Value Text -> ConformancePack
mkConformancePack Value Text
conformancePackName
  = ConformancePack
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       conformancePackName :: Value Text
conformancePackName = Value Text
conformancePackName,
       conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters = Maybe [ConformancePackInputParameterProperty]
forall a. Maybe a
Prelude.Nothing,
       deliveryS3Bucket :: Maybe (Value Text)
deliveryS3Bucket = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       deliveryS3KeyPrefix :: Maybe (Value Text)
deliveryS3KeyPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       templateBody :: Maybe (Value Text)
templateBody = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, templateS3Uri :: Maybe (Value Text)
templateS3Uri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
templateSSMDocumentDetails = Maybe TemplateSSMDocumentDetailsProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ConformancePack where
  toResourceProperties :: ConformancePack -> ResourceProperties
toResourceProperties ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Config::ConformancePack",
         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
"ConformancePackName" 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
conformancePackName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> [ConformancePackInputParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConformancePackInputParameters"
                                 ([ConformancePackInputParameterProperty] -> (Key, Value))
-> Maybe [ConformancePackInputParameterProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters,
                               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
"DeliveryS3Bucket" (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)
deliveryS3Bucket,
                               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
"DeliveryS3KeyPrefix" (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)
deliveryS3KeyPrefix,
                               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
"TemplateBody" (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)
templateBody,
                               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
"TemplateS3Uri" (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)
templateS3Uri,
                               Key -> TemplateSSMDocumentDetailsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateSSMDocumentDetails"
                                 (TemplateSSMDocumentDetailsProperty -> (Key, Value))
-> Maybe TemplateSSMDocumentDetailsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TemplateSSMDocumentDetailsProperty
templateSSMDocumentDetails]))}
instance JSON.ToJSON ConformancePack where
  toJSON :: ConformancePack -> Value
toJSON ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = [(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
"ConformancePackName" 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
conformancePackName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> [ConformancePackInputParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConformancePackInputParameters"
                    ([ConformancePackInputParameterProperty] -> (Key, Value))
-> Maybe [ConformancePackInputParameterProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters,
                  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
"DeliveryS3Bucket" (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)
deliveryS3Bucket,
                  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
"DeliveryS3KeyPrefix" (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)
deliveryS3KeyPrefix,
                  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
"TemplateBody" (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)
templateBody,
                  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
"TemplateS3Uri" (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)
templateS3Uri,
                  Key -> TemplateSSMDocumentDetailsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateSSMDocumentDetails"
                    (TemplateSSMDocumentDetailsProperty -> (Key, Value))
-> Maybe TemplateSSMDocumentDetailsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TemplateSSMDocumentDetailsProperty
templateSSMDocumentDetails])))
instance Property "ConformancePackInputParameters" ConformancePack where
  type PropertyType "ConformancePackInputParameters" ConformancePack = [ConformancePackInputParameterProperty]
  set :: PropertyType "ConformancePackInputParameters" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "ConformancePackInputParameters" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack
        {conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters = [ConformancePackInputParameterProperty]
-> Maybe [ConformancePackInputParameterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConformancePackInputParameterProperty]
PropertyType "ConformancePackInputParameters" ConformancePack
newValue, Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ()
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "ConformancePackName" ConformancePack where
  type PropertyType "ConformancePackName" ConformancePack = Value Prelude.Text
  set :: PropertyType "ConformancePackName" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "ConformancePackName" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack {conformancePackName :: Value Text
conformancePackName = PropertyType "ConformancePackName" ConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "DeliveryS3Bucket" ConformancePack where
  type PropertyType "DeliveryS3Bucket" ConformancePack = Value Prelude.Text
  set :: PropertyType "DeliveryS3Bucket" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "DeliveryS3Bucket" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack {deliveryS3Bucket :: Maybe (Value Text)
deliveryS3Bucket = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryS3Bucket" ConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "DeliveryS3KeyPrefix" ConformancePack where
  type PropertyType "DeliveryS3KeyPrefix" ConformancePack = Value Prelude.Text
  set :: PropertyType "DeliveryS3KeyPrefix" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "DeliveryS3KeyPrefix" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack {deliveryS3KeyPrefix :: Maybe (Value Text)
deliveryS3KeyPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryS3KeyPrefix" ConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "TemplateBody" ConformancePack where
  type PropertyType "TemplateBody" ConformancePack = Value Prelude.Text
  set :: PropertyType "TemplateBody" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "TemplateBody" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack {templateBody :: Maybe (Value Text)
templateBody = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateBody" ConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "TemplateS3Uri" ConformancePack where
  type PropertyType "TemplateS3Uri" ConformancePack = Value Prelude.Text
  set :: PropertyType "TemplateS3Uri" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "TemplateS3Uri" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack {templateS3Uri :: Maybe (Value Text)
templateS3Uri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateS3Uri" ConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
instance Property "TemplateSSMDocumentDetails" ConformancePack where
  type PropertyType "TemplateSSMDocumentDetails" ConformancePack = TemplateSSMDocumentDetailsProperty
  set :: PropertyType "TemplateSSMDocumentDetails" ConformancePack
-> ConformancePack -> ConformancePack
set PropertyType "TemplateSSMDocumentDetails" ConformancePack
newValue ConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
Maybe TemplateSSMDocumentDetailsProperty
()
Value Text
haddock_workaround_ :: ConformancePack -> ()
conformancePackInputParameters :: ConformancePack -> Maybe [ConformancePackInputParameterProperty]
conformancePackName :: ConformancePack -> Value Text
deliveryS3Bucket :: ConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: ConformancePack -> Maybe (Value Text)
templateBody :: ConformancePack -> Maybe (Value Text)
templateS3Uri :: ConformancePack -> Maybe (Value Text)
templateSSMDocumentDetails :: ConformancePack -> Maybe TemplateSSMDocumentDetailsProperty
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
..}
    = ConformancePack
        {templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetailsProperty
templateSSMDocumentDetails = TemplateSSMDocumentDetailsProperty
-> Maybe TemplateSSMDocumentDetailsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateSSMDocumentDetails" ConformancePack
TemplateSSMDocumentDetailsProperty
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackName :: Value Text
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}