module Stratosphere.CloudFront.StreamingDistribution.StreamingDistributionConfigProperty (
module Exports, StreamingDistributionConfigProperty(..),
mkStreamingDistributionConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CloudFront.StreamingDistribution.LoggingProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFront.StreamingDistribution.S3OriginProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFront.StreamingDistribution.TrustedSignersProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data StreamingDistributionConfigProperty
=
StreamingDistributionConfigProperty {StreamingDistributionConfigProperty -> ()
haddock_workaround_ :: (),
StreamingDistributionConfigProperty -> Maybe (ValueList Text)
aliases :: (Prelude.Maybe (ValueList Prelude.Text)),
:: (Value Prelude.Text),
StreamingDistributionConfigProperty -> Value Bool
enabled :: (Value Prelude.Bool),
StreamingDistributionConfigProperty -> Maybe LoggingProperty
logging :: (Prelude.Maybe LoggingProperty),
StreamingDistributionConfigProperty -> Maybe (Value Text)
priceClass :: (Prelude.Maybe (Value Prelude.Text)),
StreamingDistributionConfigProperty -> S3OriginProperty
s3Origin :: S3OriginProperty,
StreamingDistributionConfigProperty -> TrustedSignersProperty
trustedSigners :: TrustedSignersProperty}
deriving stock (StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool
(StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool)
-> (StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool)
-> Eq StreamingDistributionConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool
== :: StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool
$c/= :: StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool
/= :: StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty -> Bool
Prelude.Eq, Int -> StreamingDistributionConfigProperty -> ShowS
[StreamingDistributionConfigProperty] -> ShowS
StreamingDistributionConfigProperty -> String
(Int -> StreamingDistributionConfigProperty -> ShowS)
-> (StreamingDistributionConfigProperty -> String)
-> ([StreamingDistributionConfigProperty] -> ShowS)
-> Show StreamingDistributionConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StreamingDistributionConfigProperty -> ShowS
showsPrec :: Int -> StreamingDistributionConfigProperty -> ShowS
$cshow :: StreamingDistributionConfigProperty -> String
show :: StreamingDistributionConfigProperty -> String
$cshowList :: [StreamingDistributionConfigProperty] -> ShowS
showList :: [StreamingDistributionConfigProperty] -> ShowS
Prelude.Show)
mkStreamingDistributionConfigProperty ::
Value Prelude.Text
-> Value Prelude.Bool
-> S3OriginProperty
-> TrustedSignersProperty -> StreamingDistributionConfigProperty
mkStreamingDistributionConfigProperty :: Value Text
-> Value Bool
-> S3OriginProperty
-> TrustedSignersProperty
-> StreamingDistributionConfigProperty
mkStreamingDistributionConfigProperty
Value Text
comment
Value Bool
enabled
S3OriginProperty
s3Origin
TrustedSignersProperty
trustedSigners
= StreamingDistributionConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), comment :: Value Text
comment = Value Text
comment, enabled :: Value Bool
enabled = Value Bool
enabled,
s3Origin :: S3OriginProperty
s3Origin = S3OriginProperty
s3Origin, trustedSigners :: TrustedSignersProperty
trustedSigners = TrustedSignersProperty
trustedSigners,
aliases :: Maybe (ValueList Text)
aliases = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, logging :: Maybe LoggingProperty
logging = Maybe LoggingProperty
forall a. Maybe a
Prelude.Nothing,
priceClass :: Maybe (Value Text)
priceClass = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties StreamingDistributionConfigProperty where
toResourceProperties :: StreamingDistributionConfigProperty -> ResourceProperties
toResourceProperties StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig",
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
"Comment" 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
comment, Key
"Enabled" 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..= Value Bool
enabled,
Key
"S3Origin" Key -> S3OriginProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3OriginProperty
s3Origin,
Key
"TrustedSigners" Key -> TrustedSignersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= TrustedSignersProperty
trustedSigners]
([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
"Aliases" (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)
aliases,
Key -> LoggingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Logging" (LoggingProperty -> (Key, Value))
-> Maybe LoggingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LoggingProperty
logging,
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
"PriceClass" (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)
priceClass]))}
instance JSON.ToJSON StreamingDistributionConfigProperty where
toJSON :: StreamingDistributionConfigProperty -> Value
toJSON StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= [(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
"Comment" 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
comment, Key
"Enabled" 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..= Value Bool
enabled,
Key
"S3Origin" Key -> S3OriginProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= S3OriginProperty
s3Origin,
Key
"TrustedSigners" Key -> TrustedSignersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= TrustedSignersProperty
trustedSigners]
([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
"Aliases" (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)
aliases,
Key -> LoggingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Logging" (LoggingProperty -> (Key, Value))
-> Maybe LoggingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LoggingProperty
logging,
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
"PriceClass" (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)
priceClass])))
instance Property "Aliases" StreamingDistributionConfigProperty where
type PropertyType "Aliases" StreamingDistributionConfigProperty = ValueList Prelude.Text
set :: PropertyType "Aliases" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "Aliases" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty
{aliases :: Maybe (ValueList Text)
aliases = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Aliases" StreamingDistributionConfigProperty
ValueList Text
newValue, Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: ()
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
instance Property "Comment" StreamingDistributionConfigProperty where
type PropertyType "Comment" StreamingDistributionConfigProperty = Value Prelude.Text
set :: PropertyType "Comment" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "Comment" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty {comment :: Value Text
comment = PropertyType "Comment" StreamingDistributionConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
instance Property "Enabled" StreamingDistributionConfigProperty where
type PropertyType "Enabled" StreamingDistributionConfigProperty = Value Prelude.Bool
set :: PropertyType "Enabled" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "Enabled" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty {enabled :: Value Bool
enabled = PropertyType "Enabled" StreamingDistributionConfigProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
instance Property "Logging" StreamingDistributionConfigProperty where
type PropertyType "Logging" StreamingDistributionConfigProperty = LoggingProperty
set :: PropertyType "Logging" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "Logging" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty
{logging :: Maybe LoggingProperty
logging = LoggingProperty -> Maybe LoggingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Logging" StreamingDistributionConfigProperty
LoggingProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
instance Property "PriceClass" StreamingDistributionConfigProperty where
type PropertyType "PriceClass" StreamingDistributionConfigProperty = Value Prelude.Text
set :: PropertyType "PriceClass" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "PriceClass" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty
{priceClass :: Maybe (Value Text)
priceClass = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PriceClass" StreamingDistributionConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
instance Property "S3Origin" StreamingDistributionConfigProperty where
type PropertyType "S3Origin" StreamingDistributionConfigProperty = S3OriginProperty
set :: PropertyType "S3Origin" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "S3Origin" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty {s3Origin :: S3OriginProperty
s3Origin = PropertyType "S3Origin" StreamingDistributionConfigProperty
S3OriginProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
trustedSigners :: TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
trustedSigners :: TrustedSignersProperty
..}
instance Property "TrustedSigners" StreamingDistributionConfigProperty where
type PropertyType "TrustedSigners" StreamingDistributionConfigProperty = TrustedSignersProperty
set :: PropertyType "TrustedSigners" StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
-> StreamingDistributionConfigProperty
set PropertyType "TrustedSigners" StreamingDistributionConfigProperty
newValue StreamingDistributionConfigProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
TrustedSignersProperty
haddock_workaround_ :: StreamingDistributionConfigProperty -> ()
aliases :: StreamingDistributionConfigProperty -> Maybe (ValueList Text)
comment :: StreamingDistributionConfigProperty -> Value Text
enabled :: StreamingDistributionConfigProperty -> Value Bool
logging :: StreamingDistributionConfigProperty -> Maybe LoggingProperty
priceClass :: StreamingDistributionConfigProperty -> Maybe (Value Text)
s3Origin :: StreamingDistributionConfigProperty -> S3OriginProperty
trustedSigners :: StreamingDistributionConfigProperty -> TrustedSignersProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
trustedSigners :: TrustedSignersProperty
..}
= StreamingDistributionConfigProperty
{trustedSigners :: TrustedSignersProperty
trustedSigners = PropertyType "TrustedSigners" StreamingDistributionConfigProperty
TrustedSignersProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe LoggingProperty
()
Value Bool
Value Text
S3OriginProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
haddock_workaround_ :: ()
aliases :: Maybe (ValueList Text)
comment :: Value Text
enabled :: Value Bool
logging :: Maybe LoggingProperty
priceClass :: Maybe (Value Text)
s3Origin :: S3OriginProperty
..}