module Stratosphere.EC2.FlowLog (
        module Exports, FlowLog(..), mkFlowLog
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EC2.FlowLog.DestinationOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data FlowLog
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html>
    FlowLog {FlowLog -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-delivercrossaccountrole>
             FlowLog -> Maybe (Value Text)
deliverCrossAccountRole :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-deliverlogspermissionarn>
             FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-destinationoptions>
             FlowLog -> Maybe DestinationOptionsProperty
destinationOptions :: (Prelude.Maybe DestinationOptionsProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logdestination>
             FlowLog -> Maybe (Value Text)
logDestination :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logdestinationtype>
             FlowLog -> Maybe (Value Text)
logDestinationType :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logformat>
             FlowLog -> Maybe (Value Text)
logFormat :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-loggroupname>
             FlowLog -> Maybe (Value Text)
logGroupName :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-maxaggregationinterval>
             FlowLog -> Maybe (Value Integer)
maxAggregationInterval :: (Prelude.Maybe (Value Prelude.Integer)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-resourceid>
             FlowLog -> Value Text
resourceId :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-resourcetype>
             FlowLog -> Value Text
resourceType :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-tags>
             FlowLog -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-traffictype>
             FlowLog -> Maybe (Value Text)
trafficType :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (FlowLog -> FlowLog -> Bool
(FlowLog -> FlowLog -> Bool)
-> (FlowLog -> FlowLog -> Bool) -> Eq FlowLog
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FlowLog -> FlowLog -> Bool
== :: FlowLog -> FlowLog -> Bool
$c/= :: FlowLog -> FlowLog -> Bool
/= :: FlowLog -> FlowLog -> Bool
Prelude.Eq, Int -> FlowLog -> ShowS
[FlowLog] -> ShowS
FlowLog -> String
(Int -> FlowLog -> ShowS)
-> (FlowLog -> String) -> ([FlowLog] -> ShowS) -> Show FlowLog
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FlowLog -> ShowS
showsPrec :: Int -> FlowLog -> ShowS
$cshow :: FlowLog -> String
show :: FlowLog -> String
$cshowList :: [FlowLog] -> ShowS
showList :: [FlowLog] -> ShowS
Prelude.Show)
mkFlowLog :: Value Prelude.Text -> Value Prelude.Text -> FlowLog
mkFlowLog :: Value Text -> Value Text -> FlowLog
mkFlowLog Value Text
resourceId Value Text
resourceType
  = FlowLog
      {haddock_workaround_ :: ()
haddock_workaround_ = (), resourceId :: Value Text
resourceId = Value Text
resourceId,
       resourceType :: Value Text
resourceType = Value Text
resourceType,
       deliverCrossAccountRole :: Maybe (Value Text)
deliverCrossAccountRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       deliverLogsPermissionArn :: Maybe (Value Text)
deliverLogsPermissionArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       destinationOptions :: Maybe DestinationOptionsProperty
destinationOptions = Maybe DestinationOptionsProperty
forall a. Maybe a
Prelude.Nothing,
       logDestination :: Maybe (Value Text)
logDestination = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       logDestinationType :: Maybe (Value Text)
logDestinationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, logFormat :: Maybe (Value Text)
logFormat = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       logGroupName :: Maybe (Value Text)
logGroupName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       maxAggregationInterval :: Maybe (Value Integer)
maxAggregationInterval = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       trafficType :: Maybe (Value Text)
trafficType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FlowLog where
  toResourceProperties :: FlowLog -> ResourceProperties
toResourceProperties FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::FlowLog", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"ResourceId" 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
resourceId,
                            Key
"ResourceType" 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
resourceType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"DeliverCrossAccountRole"
                                 (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)
deliverCrossAccountRole,
                               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
"DeliverLogsPermissionArn"
                                 (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)
deliverLogsPermissionArn,
                               Key -> DestinationOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationOptions" (DestinationOptionsProperty -> (Key, Value))
-> Maybe DestinationOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DestinationOptionsProperty
destinationOptions,
                               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
"LogDestination" (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)
logDestination,
                               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
"LogDestinationType" (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)
logDestinationType,
                               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
"LogFormat" (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)
logFormat,
                               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
"LogGroupName" (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)
logGroupName,
                               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
"MaxAggregationInterval"
                                 (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)
maxAggregationInterval,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               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
"TrafficType" (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)
trafficType]))}
instance JSON.ToJSON FlowLog where
  toJSON :: FlowLog -> Value
toJSON FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value 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
"ResourceId" 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
resourceId,
               Key
"ResourceType" 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
resourceType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"DeliverCrossAccountRole"
                    (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)
deliverCrossAccountRole,
                  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
"DeliverLogsPermissionArn"
                    (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)
deliverLogsPermissionArn,
                  Key -> DestinationOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationOptions" (DestinationOptionsProperty -> (Key, Value))
-> Maybe DestinationOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DestinationOptionsProperty
destinationOptions,
                  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
"LogDestination" (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)
logDestination,
                  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
"LogDestinationType" (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)
logDestinationType,
                  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
"LogFormat" (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)
logFormat,
                  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
"LogGroupName" (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)
logGroupName,
                  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
"MaxAggregationInterval"
                    (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)
maxAggregationInterval,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  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
"TrafficType" (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)
trafficType])))
instance Property "DeliverCrossAccountRole" FlowLog where
  type PropertyType "DeliverCrossAccountRole" FlowLog = Value Prelude.Text
  set :: PropertyType "DeliverCrossAccountRole" FlowLog
-> FlowLog -> FlowLog
set PropertyType "DeliverCrossAccountRole" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {deliverCrossAccountRole :: Maybe (Value Text)
deliverCrossAccountRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliverCrossAccountRole" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "DeliverLogsPermissionArn" FlowLog where
  type PropertyType "DeliverLogsPermissionArn" FlowLog = Value Prelude.Text
  set :: PropertyType "DeliverLogsPermissionArn" FlowLog
-> FlowLog -> FlowLog
set PropertyType "DeliverLogsPermissionArn" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {deliverLogsPermissionArn :: Maybe (Value Text)
deliverLogsPermissionArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliverLogsPermissionArn" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "DestinationOptions" FlowLog where
  type PropertyType "DestinationOptions" FlowLog = DestinationOptionsProperty
  set :: PropertyType "DestinationOptions" FlowLog -> FlowLog -> FlowLog
set PropertyType "DestinationOptions" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {destinationOptions :: Maybe DestinationOptionsProperty
destinationOptions = DestinationOptionsProperty -> Maybe DestinationOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DestinationOptions" FlowLog
DestinationOptionsProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "LogDestination" FlowLog where
  type PropertyType "LogDestination" FlowLog = Value Prelude.Text
  set :: PropertyType "LogDestination" FlowLog -> FlowLog -> FlowLog
set PropertyType "LogDestination" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {logDestination :: Maybe (Value Text)
logDestination = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogDestination" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "LogDestinationType" FlowLog where
  type PropertyType "LogDestinationType" FlowLog = Value Prelude.Text
  set :: PropertyType "LogDestinationType" FlowLog -> FlowLog -> FlowLog
set PropertyType "LogDestinationType" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {logDestinationType :: Maybe (Value Text)
logDestinationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogDestinationType" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "LogFormat" FlowLog where
  type PropertyType "LogFormat" FlowLog = Value Prelude.Text
  set :: PropertyType "LogFormat" FlowLog -> FlowLog -> FlowLog
set PropertyType "LogFormat" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {logFormat :: Maybe (Value Text)
logFormat = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogFormat" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "LogGroupName" FlowLog where
  type PropertyType "LogGroupName" FlowLog = Value Prelude.Text
  set :: PropertyType "LogGroupName" FlowLog -> FlowLog -> FlowLog
set PropertyType "LogGroupName" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {logGroupName :: Maybe (Value Text)
logGroupName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogGroupName" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "MaxAggregationInterval" FlowLog where
  type PropertyType "MaxAggregationInterval" FlowLog = Value Prelude.Integer
  set :: PropertyType "MaxAggregationInterval" FlowLog -> FlowLog -> FlowLog
set PropertyType "MaxAggregationInterval" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {maxAggregationInterval :: Maybe (Value Integer)
maxAggregationInterval = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxAggregationInterval" FlowLog
Value Integer
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "ResourceId" FlowLog where
  type PropertyType "ResourceId" FlowLog = Value Prelude.Text
  set :: PropertyType "ResourceId" FlowLog -> FlowLog -> FlowLog
set PropertyType "ResourceId" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..} = FlowLog {resourceId :: Value Text
resourceId = PropertyType "ResourceId" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "ResourceType" FlowLog where
  type PropertyType "ResourceType" FlowLog = Value Prelude.Text
  set :: PropertyType "ResourceType" FlowLog -> FlowLog -> FlowLog
set PropertyType "ResourceType" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..} = FlowLog {resourceType :: Value Text
resourceType = PropertyType "ResourceType" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
instance Property "Tags" FlowLog where
  type PropertyType "Tags" FlowLog = [Tag]
  set :: PropertyType "Tags" FlowLog -> FlowLog -> FlowLog
set PropertyType "Tags" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" FlowLog
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
trafficType :: Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
trafficType :: Maybe (Value Text)
..}
instance Property "TrafficType" FlowLog where
  type PropertyType "TrafficType" FlowLog = Value Prelude.Text
  set :: PropertyType "TrafficType" FlowLog -> FlowLog -> FlowLog
set PropertyType "TrafficType" FlowLog
newValue FlowLog {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: FlowLog -> ()
deliverCrossAccountRole :: FlowLog -> Maybe (Value Text)
deliverLogsPermissionArn :: FlowLog -> Maybe (Value Text)
destinationOptions :: FlowLog -> Maybe DestinationOptionsProperty
logDestination :: FlowLog -> Maybe (Value Text)
logDestinationType :: FlowLog -> Maybe (Value Text)
logFormat :: FlowLog -> Maybe (Value Text)
logGroupName :: FlowLog -> Maybe (Value Text)
maxAggregationInterval :: FlowLog -> Maybe (Value Integer)
resourceId :: FlowLog -> Value Text
resourceType :: FlowLog -> Value Text
tags :: FlowLog -> Maybe [Tag]
trafficType :: FlowLog -> Maybe (Value Text)
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
trafficType :: Maybe (Value Text)
..}
    = FlowLog {trafficType :: Maybe (Value Text)
trafficType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TrafficType" FlowLog
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DestinationOptionsProperty
()
Value Text
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deliverCrossAccountRole :: Maybe (Value Text)
deliverLogsPermissionArn :: Maybe (Value Text)
destinationOptions :: Maybe DestinationOptionsProperty
logDestination :: Maybe (Value Text)
logDestinationType :: Maybe (Value Text)
logFormat :: Maybe (Value Text)
logGroupName :: Maybe (Value Text)
maxAggregationInterval :: Maybe (Value Integer)
resourceId :: Value Text
resourceType :: Value Text
tags :: Maybe [Tag]
..}