module Stratosphere.Lambda.CodeSigningConfig.AllowedPublishersProperty (
AllowedPublishersProperty(..), mkAllowedPublishersProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AllowedPublishersProperty
=
AllowedPublishersProperty {AllowedPublishersProperty -> ()
haddock_workaround_ :: (),
AllowedPublishersProperty -> ValueList Text
signingProfileVersionArns :: (ValueList Prelude.Text)}
deriving stock (AllowedPublishersProperty -> AllowedPublishersProperty -> Bool
(AllowedPublishersProperty -> AllowedPublishersProperty -> Bool)
-> (AllowedPublishersProperty -> AllowedPublishersProperty -> Bool)
-> Eq AllowedPublishersProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AllowedPublishersProperty -> AllowedPublishersProperty -> Bool
== :: AllowedPublishersProperty -> AllowedPublishersProperty -> Bool
$c/= :: AllowedPublishersProperty -> AllowedPublishersProperty -> Bool
/= :: AllowedPublishersProperty -> AllowedPublishersProperty -> Bool
Prelude.Eq, Int -> AllowedPublishersProperty -> ShowS
[AllowedPublishersProperty] -> ShowS
AllowedPublishersProperty -> String
(Int -> AllowedPublishersProperty -> ShowS)
-> (AllowedPublishersProperty -> String)
-> ([AllowedPublishersProperty] -> ShowS)
-> Show AllowedPublishersProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AllowedPublishersProperty -> ShowS
showsPrec :: Int -> AllowedPublishersProperty -> ShowS
$cshow :: AllowedPublishersProperty -> String
show :: AllowedPublishersProperty -> String
$cshowList :: [AllowedPublishersProperty] -> ShowS
showList :: [AllowedPublishersProperty] -> ShowS
Prelude.Show)
mkAllowedPublishersProperty ::
ValueList Prelude.Text -> AllowedPublishersProperty
mkAllowedPublishersProperty :: ValueList Text -> AllowedPublishersProperty
mkAllowedPublishersProperty ValueList Text
signingProfileVersionArns
= AllowedPublishersProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
signingProfileVersionArns :: ValueList Text
signingProfileVersionArns = ValueList Text
signingProfileVersionArns}
instance ToResourceProperties AllowedPublishersProperty where
toResourceProperties :: AllowedPublishersProperty -> ResourceProperties
toResourceProperties AllowedPublishersProperty {()
ValueList Text
haddock_workaround_ :: AllowedPublishersProperty -> ()
signingProfileVersionArns :: AllowedPublishersProperty -> ValueList Text
haddock_workaround_ :: ()
signingProfileVersionArns :: ValueList Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Lambda::CodeSigningConfig.AllowedPublishers",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"SigningProfileVersionArns"
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..= ValueList Text
signingProfileVersionArns]}
instance JSON.ToJSON AllowedPublishersProperty where
toJSON :: AllowedPublishersProperty -> Value
toJSON AllowedPublishersProperty {()
ValueList Text
haddock_workaround_ :: AllowedPublishersProperty -> ()
signingProfileVersionArns :: AllowedPublishersProperty -> ValueList Text
haddock_workaround_ :: ()
signingProfileVersionArns :: ValueList Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"SigningProfileVersionArns" 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..= ValueList Text
signingProfileVersionArns]
instance Property "SigningProfileVersionArns" AllowedPublishersProperty where
type PropertyType "SigningProfileVersionArns" AllowedPublishersProperty = ValueList Prelude.Text
set :: PropertyType "SigningProfileVersionArns" AllowedPublishersProperty
-> AllowedPublishersProperty -> AllowedPublishersProperty
set PropertyType "SigningProfileVersionArns" AllowedPublishersProperty
newValue AllowedPublishersProperty {()
ValueList Text
haddock_workaround_ :: AllowedPublishersProperty -> ()
signingProfileVersionArns :: AllowedPublishersProperty -> ValueList Text
haddock_workaround_ :: ()
signingProfileVersionArns :: ValueList Text
..}
= AllowedPublishersProperty
{signingProfileVersionArns :: ValueList Text
signingProfileVersionArns = PropertyType "SigningProfileVersionArns" AllowedPublishersProperty
ValueList Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}