module Stratosphere.CloudFront.VpcOrigin.VpcOriginEndpointConfigProperty (
        VpcOriginEndpointConfigProperty(..),
        mkVpcOriginEndpointConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VpcOriginEndpointConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html>
    VpcOriginEndpointConfigProperty {VpcOriginEndpointConfigProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-arn>
                                     VpcOriginEndpointConfigProperty -> Value Text
arn :: (Value Prelude.Text),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-httpport>
                                     VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPPort :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-httpsport>
                                     VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-name>
                                     VpcOriginEndpointConfigProperty -> Value Text
name :: (Value Prelude.Text),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-originprotocolpolicy>
                                     VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originProtocolPolicy :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig-originsslprotocols>
                                     VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
originSSLProtocols :: (Prelude.Maybe (ValueList Prelude.Text))}
  deriving stock (VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty -> Bool
(VpcOriginEndpointConfigProperty
 -> VpcOriginEndpointConfigProperty -> Bool)
-> (VpcOriginEndpointConfigProperty
    -> VpcOriginEndpointConfigProperty -> Bool)
-> Eq VpcOriginEndpointConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty -> Bool
== :: VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty -> Bool
$c/= :: VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty -> Bool
/= :: VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty -> Bool
Prelude.Eq, Int -> VpcOriginEndpointConfigProperty -> ShowS
[VpcOriginEndpointConfigProperty] -> ShowS
VpcOriginEndpointConfigProperty -> String
(Int -> VpcOriginEndpointConfigProperty -> ShowS)
-> (VpcOriginEndpointConfigProperty -> String)
-> ([VpcOriginEndpointConfigProperty] -> ShowS)
-> Show VpcOriginEndpointConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VpcOriginEndpointConfigProperty -> ShowS
showsPrec :: Int -> VpcOriginEndpointConfigProperty -> ShowS
$cshow :: VpcOriginEndpointConfigProperty -> String
show :: VpcOriginEndpointConfigProperty -> String
$cshowList :: [VpcOriginEndpointConfigProperty] -> ShowS
showList :: [VpcOriginEndpointConfigProperty] -> ShowS
Prelude.Show)
mkVpcOriginEndpointConfigProperty ::
  Value Prelude.Text
  -> Value Prelude.Text -> VpcOriginEndpointConfigProperty
mkVpcOriginEndpointConfigProperty :: Value Text -> Value Text -> VpcOriginEndpointConfigProperty
mkVpcOriginEndpointConfigProperty Value Text
arn Value Text
name
  = VpcOriginEndpointConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), arn :: Value Text
arn = Value Text
arn, name :: Value Text
name = Value Text
name,
       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,
       originProtocolPolicy :: Maybe (Value Text)
originProtocolPolicy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       originSSLProtocols :: Maybe (ValueList Text)
originSSLProtocols = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VpcOriginEndpointConfigProperty where
  toResourceProperties :: VpcOriginEndpointConfigProperty -> ResourceProperties
toResourceProperties VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CloudFront::VpcOrigin.VpcOriginEndpointConfig",
         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
"Arn" 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
arn, Key
"Name" 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
name]
                           ([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
"OriginProtocolPolicy" (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)
originProtocolPolicy,
                               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 VpcOriginEndpointConfigProperty where
  toJSON :: VpcOriginEndpointConfigProperty -> Value
toJSON VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
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
"Arn" 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
arn, Key
"Name" 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
name]
              ([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
"OriginProtocolPolicy" (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)
originProtocolPolicy,
                  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 "Arn" VpcOriginEndpointConfigProperty where
  type PropertyType "Arn" VpcOriginEndpointConfigProperty = Value Prelude.Text
  set :: PropertyType "Arn" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "Arn" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty {arn :: Value Text
arn = PropertyType "Arn" VpcOriginEndpointConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "HTTPPort" VpcOriginEndpointConfigProperty where
  type PropertyType "HTTPPort" VpcOriginEndpointConfigProperty = Value Prelude.Integer
  set :: PropertyType "HTTPPort" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "HTTPPort" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty
        {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" VpcOriginEndpointConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
arn :: Value Text
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "HTTPSPort" VpcOriginEndpointConfigProperty where
  type PropertyType "HTTPSPort" VpcOriginEndpointConfigProperty = Value Prelude.Integer
  set :: PropertyType "HTTPSPort" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "HTTPSPort" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty
        {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" VpcOriginEndpointConfigProperty
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "Name" VpcOriginEndpointConfigProperty where
  type PropertyType "Name" VpcOriginEndpointConfigProperty = Value Prelude.Text
  set :: PropertyType "Name" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "Name" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty {name :: Value Text
name = PropertyType "Name" VpcOriginEndpointConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginProtocolPolicy" VpcOriginEndpointConfigProperty where
  type PropertyType "OriginProtocolPolicy" VpcOriginEndpointConfigProperty = Value Prelude.Text
  set :: PropertyType "OriginProtocolPolicy" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "OriginProtocolPolicy" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty
        {originProtocolPolicy :: Maybe (Value Text)
originProtocolPolicy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OriginProtocolPolicy" VpcOriginEndpointConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
()
Value Text
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originSSLProtocols :: Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originSSLProtocols :: Maybe (ValueList Text)
..}
instance Property "OriginSSLProtocols" VpcOriginEndpointConfigProperty where
  type PropertyType "OriginSSLProtocols" VpcOriginEndpointConfigProperty = ValueList Prelude.Text
  set :: PropertyType "OriginSSLProtocols" VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
-> VpcOriginEndpointConfigProperty
set PropertyType "OriginSSLProtocols" VpcOriginEndpointConfigProperty
newValue VpcOriginEndpointConfigProperty {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: VpcOriginEndpointConfigProperty -> ()
arn :: VpcOriginEndpointConfigProperty -> Value Text
hTTPPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
hTTPSPort :: VpcOriginEndpointConfigProperty -> Maybe (Value Integer)
name :: VpcOriginEndpointConfigProperty -> Value Text
originProtocolPolicy :: VpcOriginEndpointConfigProperty -> Maybe (Value Text)
originSSLProtocols :: VpcOriginEndpointConfigProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
originSSLProtocols :: Maybe (ValueList Text)
..}
    = VpcOriginEndpointConfigProperty
        {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" VpcOriginEndpointConfigProperty
ValueList Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
haddock_workaround_ :: ()
arn :: Value Text
hTTPPort :: Maybe (Value Integer)
hTTPSPort :: Maybe (Value Integer)
name :: Value Text
originProtocolPolicy :: Maybe (Value Text)
..}