module Stratosphere.CloudFront.Distribution.CustomOriginConfigProperty (
        CustomOriginConfigProperty(..), mkCustomOriginConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CustomOriginConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html>
    CustomOriginConfigProperty {CustomOriginConfigProperty -> ()
haddock_workaround_ :: (),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-httpport>
                                CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPPort :: (Prelude.Maybe (Value Prelude.Integer)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-httpsport>
                                CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: (Prelude.Maybe (Value Prelude.Integer)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-ipaddresstype>
                                CustomOriginConfigProperty -> Maybe (Value Text)
ipAddressType :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originkeepalivetimeout>
                                CustomOriginConfigProperty -> Maybe (Value Integer)
originKeepaliveTimeout :: (Prelude.Maybe (Value Prelude.Integer)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originprotocolpolicy>
                                CustomOriginConfigProperty -> Value Text
originProtocolPolicy :: (Value Prelude.Text),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originreadtimeout>
                                CustomOriginConfigProperty -> Maybe (Value Integer)
originReadTimeout :: (Prelude.Maybe (Value Prelude.Integer)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originsslprotocols>
                                CustomOriginConfigProperty -> Maybe (ValueList Text)
originSSLProtocols :: (Prelude.Maybe (ValueList Prelude.Text))}
  deriving stock (CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool
(CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool)
-> (CustomOriginConfigProperty
    -> CustomOriginConfigProperty -> Bool)
-> Eq CustomOriginConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool
== :: CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool
$c/= :: CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool
/= :: CustomOriginConfigProperty -> CustomOriginConfigProperty -> Bool
Prelude.Eq, Int -> CustomOriginConfigProperty -> ShowS
[CustomOriginConfigProperty] -> ShowS
CustomOriginConfigProperty -> String
(Int -> CustomOriginConfigProperty -> ShowS)
-> (CustomOriginConfigProperty -> String)
-> ([CustomOriginConfigProperty] -> ShowS)
-> Show CustomOriginConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CustomOriginConfigProperty -> ShowS
showsPrec :: Int -> CustomOriginConfigProperty -> ShowS
$cshow :: CustomOriginConfigProperty -> String
show :: CustomOriginConfigProperty -> String
$cshowList :: [CustomOriginConfigProperty] -> ShowS
showList :: [CustomOriginConfigProperty] -> ShowS
Prelude.Show)
mkCustomOriginConfigProperty ::
  Value Prelude.Text -> CustomOriginConfigProperty
mkCustomOriginConfigProperty :: Value Text -> CustomOriginConfigProperty
mkCustomOriginConfigProperty Value Text
originProtocolPolicy
  = CustomOriginConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       originProtocolPolicy :: Value Text
originProtocolPolicy = Value Text
originProtocolPolicy,
       hTTPPort :: Maybe (Value Integer)
hTTPPort = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, hTTPSPort :: Maybe (Value Integer)
hTTPSPort = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       ipAddressType :: Maybe (Value Text)
ipAddressType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       originKeepaliveTimeout :: Maybe (Value Integer)
originKeepaliveTimeout = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       originReadTimeout :: Maybe (Value Integer)
originReadTimeout = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       originSSLProtocols :: Maybe (ValueList Text)
originSSLProtocols = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CustomOriginConfigProperty where
  toResourceProperties :: CustomOriginConfigProperty -> ResourceProperties
toResourceProperties CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CloudFront::Distribution.CustomOriginConfig",
         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
"OriginProtocolPolicy" 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
originProtocolPolicy]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HTTPPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
hTTPPort,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HTTPSPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
hTTPSPort,
                               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
"IpAddressType" (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)
ipAddressType,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginKeepaliveTimeout"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
originKeepaliveTimeout,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginReadTimeout" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
originReadTimeout,
                               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
"OriginSSLProtocols" (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)
originSSLProtocols]))}
instance JSON.ToJSON CustomOriginConfigProperty where
  toJSON :: CustomOriginConfigProperty -> Value
toJSON CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList 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
"OriginProtocolPolicy" 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
originProtocolPolicy]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HTTPPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
hTTPPort,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HTTPSPort" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
hTTPSPort,
                  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
"IpAddressType" (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)
ipAddressType,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginKeepaliveTimeout"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
originKeepaliveTimeout,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginReadTimeout" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
originReadTimeout,
                  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
"OriginSSLProtocols" (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)
originSSLProtocols])))
instance Property "HTTPPort" CustomOriginConfigProperty where
  type PropertyType "HTTPPort" CustomOriginConfigProperty = Value Prelude.Integer
  set :: PropertyType "HTTPPort" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "HTTPPort" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty {hTTPPort :: Maybe (Value Integer)
hTTPPort = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HTTPPort" CustomOriginConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "HTTPSPort" CustomOriginConfigProperty where
  type PropertyType "HTTPSPort" CustomOriginConfigProperty = Value Prelude.Integer
  set :: PropertyType "HTTPSPort" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "HTTPSPort" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty
        {hTTPSPort :: Maybe (Value Integer)
hTTPSPort = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HTTPSPort" CustomOriginConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "IpAddressType" CustomOriginConfigProperty where
  type PropertyType "IpAddressType" CustomOriginConfigProperty = Value Prelude.Text
  set :: PropertyType "IpAddressType" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "IpAddressType" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty
        {ipAddressType :: Maybe (Value Text)
ipAddressType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IpAddressType" CustomOriginConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginKeepaliveTimeout" CustomOriginConfigProperty where
  type PropertyType "OriginKeepaliveTimeout" CustomOriginConfigProperty = Value Prelude.Integer
  set :: PropertyType "OriginKeepaliveTimeout" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "OriginKeepaliveTimeout" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty
        {originKeepaliveTimeout :: Maybe (Value Integer)
originKeepaliveTimeout = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OriginKeepaliveTimeout" CustomOriginConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginProtocolPolicy" CustomOriginConfigProperty where
  type PropertyType "OriginProtocolPolicy" CustomOriginConfigProperty = Value Prelude.Text
  set :: PropertyType "OriginProtocolPolicy" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "OriginProtocolPolicy" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty {originProtocolPolicy :: Value Text
originProtocolPolicy = PropertyType "OriginProtocolPolicy" CustomOriginConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginReadTimeout" CustomOriginConfigProperty where
  type PropertyType "OriginReadTimeout" CustomOriginConfigProperty = Value Prelude.Integer
  set :: PropertyType "OriginReadTimeout" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "OriginReadTimeout" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty
        {originReadTimeout :: Maybe (Value Integer)
originReadTimeout = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OriginReadTimeout" CustomOriginConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginSSLProtocols" CustomOriginConfigProperty where
  type PropertyType "OriginSSLProtocols" CustomOriginConfigProperty = ValueList Prelude.Text
  set :: PropertyType "OriginSSLProtocols" CustomOriginConfigProperty
-> CustomOriginConfigProperty -> CustomOriginConfigProperty
set PropertyType "OriginSSLProtocols" CustomOriginConfigProperty
newValue CustomOriginConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: CustomOriginConfigProperty -> ()
hTTPPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
hTTPSPort :: CustomOriginConfigProperty -> Maybe (Value Integer)
ipAddressType :: CustomOriginConfigProperty -> Maybe (Value Text)
originKeepaliveTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originProtocolPolicy :: CustomOriginConfigProperty -> Value Text
originReadTimeout :: CustomOriginConfigProperty -> Maybe (Value Integer)
originSSLProtocols :: CustomOriginConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = CustomOriginConfigProperty
        {originSSLProtocols :: Maybe (ValueList Text)
originSSLProtocols = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OriginSSLProtocols" CustomOriginConfigProperty
ValueList Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
ipAddressType :: Maybe (Value Text)
originKeepaliveTimeout :: Maybe (Value Integer)
originProtocolPolicy :: Value Text
originReadTimeout :: Maybe (Value Integer)
..}