amazonka-network-firewall-2.0: Amazon Network Firewall SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkFirewall.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-11-12 of the Amazon Network Firewall SDK configuration.

Errors

_InsufficientCapacityException :: AsError a => Fold a ServiceError Source #

Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your request later.

_InternalServerError :: AsError a => Fold a ServiceError Source #

Your request is valid, but Network Firewall couldn’t perform the operation because of a system problem. Retry your request.

_InvalidOperationException :: AsError a => Fold a ServiceError Source #

The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

The operation failed because of a problem with your request. Examples include:

  • You specified an unsupported parameter name or value.
  • You tried to update a property with a value that isn't among the available types.
  • Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.

_InvalidResourcePolicyException :: AsError a => Fold a ServiceError Source #

The policy statement failed validation.

_InvalidTokenException :: AsError a => Fold a ServiceError Source #

The token you provided is stale or isn't valid for the operation.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

Unable to perform the operation because doing so would violate a limit setting.

_LogDestinationPermissionException :: AsError a => Fold a ServiceError Source #

Unable to send logs to a configured logging destination.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

Unable to locate a resource using the parameters that you provided.

_ResourceOwnerCheckException :: AsError a => Fold a ServiceError Source #

Unable to change the resource because your account doesn't own it.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

Unable to process the request due to throttling limitations.

_UnsupportedOperationException :: AsError a => Fold a ServiceError Source #

The operation you requested isn't supported by Network Firewall.

AttachmentStatus

newtype AttachmentStatus Source #

Instances

Instances details
FromJSON AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

FromJSONKey AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToJSON AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToJSONKey AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToByteString AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToHeader AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToLog AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToQuery AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

FromText AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToText AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

FromXML AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

ToXML AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Generic AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Associated Types

type Rep AttachmentStatus :: Type -> Type #

Read AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Show AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

NFData AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Methods

rnf :: AttachmentStatus -> () #

Eq AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Ord AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

Hashable AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

type Rep AttachmentStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.AttachmentStatus

type Rep AttachmentStatus = D1 ('MetaData "AttachmentStatus" "Amazonka.NetworkFirewall.Types.AttachmentStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "AttachmentStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAttachmentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConfigurationSyncState

newtype ConfigurationSyncState Source #

Instances

Instances details
FromJSON ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

FromJSONKey ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToJSON ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToJSONKey ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToByteString ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToHeader ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToLog ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToQuery ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

FromText ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToText ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

FromXML ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

ToXML ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Generic ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Associated Types

type Rep ConfigurationSyncState :: Type -> Type #

Read ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Show ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

NFData ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Methods

rnf :: ConfigurationSyncState -> () #

Eq ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Ord ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

Hashable ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

type Rep ConfigurationSyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ConfigurationSyncState

type Rep ConfigurationSyncState = D1 ('MetaData "ConfigurationSyncState" "Amazonka.NetworkFirewall.Types.ConfigurationSyncState" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "ConfigurationSyncState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConfigurationSyncState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionType

newtype EncryptionType Source #

Constructors

EncryptionType' 

Instances

Instances details
FromJSON EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

FromJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToJSON EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToJSONKey EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToByteString EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToHeader EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToLog EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToQuery EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

FromText EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToText EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

FromXML EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

ToXML EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Methods

toXML :: EncryptionType -> XML #

Generic EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Associated Types

type Rep EncryptionType :: Type -> Type #

Read EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Show EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

NFData EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Methods

rnf :: EncryptionType -> () #

Eq EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Ord EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

Hashable EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

type Rep EncryptionType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionType

type Rep EncryptionType = D1 ('MetaData "EncryptionType" "Amazonka.NetworkFirewall.Types.EncryptionType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "EncryptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FirewallStatusValue

newtype FirewallStatusValue Source #

Instances

Instances details
FromJSON FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

FromJSONKey FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToJSON FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToJSONKey FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToByteString FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToHeader FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToLog FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToQuery FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

FromText FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToText FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

FromXML FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

ToXML FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Generic FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Associated Types

type Rep FirewallStatusValue :: Type -> Type #

Read FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Show FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

NFData FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Methods

rnf :: FirewallStatusValue -> () #

Eq FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Ord FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

Hashable FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

type Rep FirewallStatusValue Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatusValue

type Rep FirewallStatusValue = D1 ('MetaData "FirewallStatusValue" "Amazonka.NetworkFirewall.Types.FirewallStatusValue" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "FirewallStatusValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFirewallStatusValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GeneratedRulesType

newtype GeneratedRulesType Source #

Instances

Instances details
FromJSON GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

FromJSONKey GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToJSON GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToJSONKey GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToByteString GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToHeader GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToLog GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToQuery GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

FromText GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToText GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

FromXML GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

ToXML GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Generic GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Associated Types

type Rep GeneratedRulesType :: Type -> Type #

Read GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Show GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

NFData GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Methods

rnf :: GeneratedRulesType -> () #

Eq GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Ord GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

Hashable GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

type Rep GeneratedRulesType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.GeneratedRulesType

type Rep GeneratedRulesType = D1 ('MetaData "GeneratedRulesType" "Amazonka.NetworkFirewall.Types.GeneratedRulesType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "GeneratedRulesType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGeneratedRulesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LogDestinationType

newtype LogDestinationType Source #

Instances

Instances details
FromJSON LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

FromJSONKey LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToJSON LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToJSONKey LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToByteString LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToHeader LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToLog LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToQuery LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

FromText LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToText LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

FromXML LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

ToXML LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Generic LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Associated Types

type Rep LogDestinationType :: Type -> Type #

Read LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Show LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

NFData LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Methods

rnf :: LogDestinationType -> () #

Eq LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Ord LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

Hashable LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

type Rep LogDestinationType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationType

type Rep LogDestinationType = D1 ('MetaData "LogDestinationType" "Amazonka.NetworkFirewall.Types.LogDestinationType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "LogDestinationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLogDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LogType

newtype LogType Source #

Constructors

LogType' 

Fields

Bundled Patterns

pattern LogType_ALERT :: LogType 
pattern LogType_FLOW :: LogType 

Instances

Instances details
FromJSON LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

FromJSONKey LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToJSON LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToJSONKey LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToByteString LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

toBS :: LogType -> ByteString #

ToHeader LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

toHeader :: HeaderName -> LogType -> [Header] #

ToLog LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToQuery LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

FromText LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToText LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

toText :: LogType -> Text #

FromXML LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

ToXML LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

toXML :: LogType -> XML #

Generic LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Associated Types

type Rep LogType :: Type -> Type #

Methods

from :: LogType -> Rep LogType x #

to :: Rep LogType x -> LogType #

Read LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Show LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

NFData LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

rnf :: LogType -> () #

Eq LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

(==) :: LogType -> LogType -> Bool #

(/=) :: LogType -> LogType -> Bool #

Ord LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Hashable LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

Methods

hashWithSalt :: Int -> LogType -> Int #

hash :: LogType -> Int #

type Rep LogType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogType

type Rep LogType = D1 ('MetaData "LogType" "Amazonka.NetworkFirewall.Types.LogType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "LogType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLogType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OverrideAction

newtype OverrideAction Source #

Constructors

OverrideAction' 

Bundled Patterns

pattern OverrideAction_DROP_TO_ALERT :: OverrideAction 

Instances

Instances details
FromJSON OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

FromJSONKey OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToJSON OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToJSONKey OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToByteString OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToHeader OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToLog OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToQuery OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

FromText OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToText OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

FromXML OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

ToXML OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Methods

toXML :: OverrideAction -> XML #

Generic OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Associated Types

type Rep OverrideAction :: Type -> Type #

Read OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Show OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

NFData OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Methods

rnf :: OverrideAction -> () #

Eq OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Ord OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

Hashable OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

type Rep OverrideAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.OverrideAction

type Rep OverrideAction = D1 ('MetaData "OverrideAction" "Amazonka.NetworkFirewall.Types.OverrideAction" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "OverrideAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOverrideAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PerObjectSyncStatus

newtype PerObjectSyncStatus Source #

Instances

Instances details
FromJSON PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

FromJSONKey PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToJSON PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToJSONKey PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToByteString PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToHeader PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToLog PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToQuery PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

FromText PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToText PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

FromXML PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

ToXML PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Generic PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Associated Types

type Rep PerObjectSyncStatus :: Type -> Type #

Read PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Show PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

NFData PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Methods

rnf :: PerObjectSyncStatus -> () #

Eq PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Ord PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

Hashable PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

type Rep PerObjectSyncStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectSyncStatus

type Rep PerObjectSyncStatus = D1 ('MetaData "PerObjectSyncStatus" "Amazonka.NetworkFirewall.Types.PerObjectSyncStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "PerObjectSyncStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPerObjectSyncStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceManagedStatus

newtype ResourceManagedStatus Source #

Instances

Instances details
FromJSON ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

FromJSONKey ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToJSON ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToJSONKey ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToByteString ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToHeader ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToLog ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToQuery ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

FromText ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToText ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

FromXML ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

ToXML ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Generic ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Associated Types

type Rep ResourceManagedStatus :: Type -> Type #

Read ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Show ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

NFData ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Methods

rnf :: ResourceManagedStatus -> () #

Eq ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Ord ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

Hashable ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

type Rep ResourceManagedStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedStatus

type Rep ResourceManagedStatus = D1 ('MetaData "ResourceManagedStatus" "Amazonka.NetworkFirewall.Types.ResourceManagedStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "ResourceManagedStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceManagedStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceManagedType

newtype ResourceManagedType Source #

Instances

Instances details
FromJSON ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

FromJSONKey ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToJSON ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToJSONKey ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToByteString ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToHeader ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToLog ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToQuery ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

FromText ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToText ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

FromXML ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

ToXML ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Generic ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Associated Types

type Rep ResourceManagedType :: Type -> Type #

Read ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Show ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

NFData ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Methods

rnf :: ResourceManagedType -> () #

Eq ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Ord ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

Hashable ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

type Rep ResourceManagedType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceManagedType

type Rep ResourceManagedType = D1 ('MetaData "ResourceManagedType" "Amazonka.NetworkFirewall.Types.ResourceManagedType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "ResourceManagedType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceManagedType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceStatus

newtype ResourceStatus Source #

Constructors

ResourceStatus' 

Instances

Instances details
FromJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

FromJSONKey ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToJSONKey ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToByteString ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToHeader ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToLog ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToQuery ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

FromText ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToText ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

FromXML ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

ToXML ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Methods

toXML :: ResourceStatus -> XML #

Generic ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Associated Types

type Rep ResourceStatus :: Type -> Type #

Read ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Show ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

NFData ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Methods

rnf :: ResourceStatus -> () #

Eq ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Ord ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

Hashable ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

type Rep ResourceStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ResourceStatus

type Rep ResourceStatus = D1 ('MetaData "ResourceStatus" "Amazonka.NetworkFirewall.Types.ResourceStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "ResourceStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RuleGroupType

newtype RuleGroupType Source #

Constructors

RuleGroupType' 

Instances

Instances details
FromJSON RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

FromJSONKey RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToJSON RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToJSONKey RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToByteString RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToHeader RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToLog RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToQuery RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

FromText RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToText RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Methods

toText :: RuleGroupType -> Text #

FromXML RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

ToXML RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Methods

toXML :: RuleGroupType -> XML #

Generic RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Associated Types

type Rep RuleGroupType :: Type -> Type #

Read RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Show RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

NFData RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Methods

rnf :: RuleGroupType -> () #

Eq RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Ord RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

Hashable RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

type Rep RuleGroupType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupType

type Rep RuleGroupType = D1 ('MetaData "RuleGroupType" "Amazonka.NetworkFirewall.Types.RuleGroupType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "RuleGroupType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRuleGroupType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RuleOrder

newtype RuleOrder Source #

Constructors

RuleOrder' 

Fields

Instances

Instances details
FromJSON RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

FromJSONKey RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToJSON RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToJSONKey RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToByteString RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Methods

toBS :: RuleOrder -> ByteString #

ToHeader RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToLog RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToQuery RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

FromText RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToText RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Methods

toText :: RuleOrder -> Text #

FromXML RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

ToXML RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Methods

toXML :: RuleOrder -> XML #

Generic RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Associated Types

type Rep RuleOrder :: Type -> Type #

Read RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Show RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

NFData RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Methods

rnf :: RuleOrder -> () #

Eq RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Ord RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

Hashable RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

type Rep RuleOrder Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOrder

type Rep RuleOrder = D1 ('MetaData "RuleOrder" "Amazonka.NetworkFirewall.Types.RuleOrder" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "RuleOrder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRuleOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatefulAction

newtype StatefulAction Source #

Constructors

StatefulAction' 

Instances

Instances details
FromJSON StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

FromJSONKey StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToJSON StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToJSONKey StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToByteString StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToHeader StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToLog StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToQuery StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

FromText StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToText StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

FromXML StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

ToXML StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Methods

toXML :: StatefulAction -> XML #

Generic StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Associated Types

type Rep StatefulAction :: Type -> Type #

Read StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Show StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

NFData StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Methods

rnf :: StatefulAction -> () #

Eq StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Ord StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

Hashable StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

type Rep StatefulAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulAction

type Rep StatefulAction = D1 ('MetaData "StatefulAction" "Amazonka.NetworkFirewall.Types.StatefulAction" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "StatefulAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatefulAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatefulRuleDirection

newtype StatefulRuleDirection Source #

Instances

Instances details
FromJSON StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

FromJSONKey StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToJSON StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToJSONKey StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToByteString StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToHeader StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToLog StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToQuery StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

FromText StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToText StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

FromXML StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

ToXML StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Generic StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Associated Types

type Rep StatefulRuleDirection :: Type -> Type #

Read StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Show StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

NFData StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Methods

rnf :: StatefulRuleDirection -> () #

Eq StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Ord StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

Hashable StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

type Rep StatefulRuleDirection Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleDirection

type Rep StatefulRuleDirection = D1 ('MetaData "StatefulRuleDirection" "Amazonka.NetworkFirewall.Types.StatefulRuleDirection" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "StatefulRuleDirection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatefulRuleDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatefulRuleProtocol

newtype StatefulRuleProtocol Source #

Instances

Instances details
FromJSON StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

FromJSONKey StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToJSON StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToJSONKey StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToByteString StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToHeader StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToLog StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToQuery StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

FromText StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToText StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

FromXML StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

ToXML StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Generic StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Associated Types

type Rep StatefulRuleProtocol :: Type -> Type #

Read StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Show StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

NFData StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Methods

rnf :: StatefulRuleProtocol -> () #

Eq StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Ord StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

Hashable StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

type Rep StatefulRuleProtocol Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleProtocol

type Rep StatefulRuleProtocol = D1 ('MetaData "StatefulRuleProtocol" "Amazonka.NetworkFirewall.Types.StatefulRuleProtocol" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "StatefulRuleProtocol'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatefulRuleProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamExceptionPolicy

newtype StreamExceptionPolicy Source #

Instances

Instances details
FromJSON StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

FromJSONKey StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToJSON StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToJSONKey StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToByteString StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToHeader StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToLog StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToQuery StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

FromText StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToText StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

FromXML StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

ToXML StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Generic StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Associated Types

type Rep StreamExceptionPolicy :: Type -> Type #

Read StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Show StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

NFData StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Methods

rnf :: StreamExceptionPolicy -> () #

Eq StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Ord StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

Hashable StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

type Rep StreamExceptionPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StreamExceptionPolicy

type Rep StreamExceptionPolicy = D1 ('MetaData "StreamExceptionPolicy" "Amazonka.NetworkFirewall.Types.StreamExceptionPolicy" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "StreamExceptionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamExceptionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TCPFlag

newtype TCPFlag Source #

Constructors

TCPFlag' 

Fields

Bundled Patterns

pattern TCPFlag_ACK :: TCPFlag 
pattern TCPFlag_CWR :: TCPFlag 
pattern TCPFlag_ECE :: TCPFlag 
pattern TCPFlag_FIN :: TCPFlag 
pattern TCPFlag_PSH :: TCPFlag 
pattern TCPFlag_RST :: TCPFlag 
pattern TCPFlag_SYN :: TCPFlag 
pattern TCPFlag_URG :: TCPFlag 

Instances

Instances details
FromJSON TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

FromJSONKey TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToJSON TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToJSONKey TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToByteString TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

toBS :: TCPFlag -> ByteString #

ToHeader TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

toHeader :: HeaderName -> TCPFlag -> [Header] #

ToLog TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToQuery TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

FromText TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToText TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

toText :: TCPFlag -> Text #

FromXML TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

ToXML TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

toXML :: TCPFlag -> XML #

Generic TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Associated Types

type Rep TCPFlag :: Type -> Type #

Methods

from :: TCPFlag -> Rep TCPFlag x #

to :: Rep TCPFlag x -> TCPFlag #

Read TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Show TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

NFData TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

rnf :: TCPFlag -> () #

Eq TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

(==) :: TCPFlag -> TCPFlag -> Bool #

(/=) :: TCPFlag -> TCPFlag -> Bool #

Ord TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Hashable TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

Methods

hashWithSalt :: Int -> TCPFlag -> Int #

hash :: TCPFlag -> Int #

type Rep TCPFlag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlag

type Rep TCPFlag = D1 ('MetaData "TCPFlag" "Amazonka.NetworkFirewall.Types.TCPFlag" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "TCPFlag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTCPFlag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TargetType

newtype TargetType Source #

Constructors

TargetType' 

Fields

Bundled Patterns

pattern TargetType_HTTP_HOST :: TargetType 
pattern TargetType_TLS_SNI :: TargetType 

Instances

Instances details
FromJSON TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

FromJSONKey TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToJSON TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToJSONKey TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToByteString TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToHeader TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToLog TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToQuery TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

FromText TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToText TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Methods

toText :: TargetType -> Text #

FromXML TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

ToXML TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Methods

toXML :: TargetType -> XML #

Generic TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Associated Types

type Rep TargetType :: Type -> Type #

Read TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Show TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

NFData TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Methods

rnf :: TargetType -> () #

Eq TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Ord TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

Hashable TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

type Rep TargetType Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TargetType

type Rep TargetType = D1 ('MetaData "TargetType" "Amazonka.NetworkFirewall.Types.TargetType" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'True) (C1 ('MetaCons "TargetType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTargetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ActionDefinition

data ActionDefinition Source #

A custom action to use in stateless rule actions settings. This is used in CustomAction.

See: newActionDefinition smart constructor.

Constructors

ActionDefinition' 

Fields

  • publishMetricAction :: Maybe PublishMetricAction

    Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

    You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.

Instances

Instances details
FromJSON ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

ToJSON ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Generic ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Associated Types

type Rep ActionDefinition :: Type -> Type #

Read ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Show ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

NFData ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Methods

rnf :: ActionDefinition -> () #

Eq ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

Hashable ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

type Rep ActionDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ActionDefinition

type Rep ActionDefinition = D1 ('MetaData "ActionDefinition" "Amazonka.NetworkFirewall.Types.ActionDefinition" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "ActionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publishMetricAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublishMetricAction))))

newActionDefinition :: ActionDefinition Source #

Create a value of ActionDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:publishMetricAction:ActionDefinition', actionDefinition_publishMetricAction - Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.

actionDefinition_publishMetricAction :: Lens' ActionDefinition (Maybe PublishMetricAction) Source #

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.

Address

data Address Source #

A single IP address specification. This is used in the MatchAttributes source and destination specifications.

See: newAddress smart constructor.

Constructors

Address' 

Fields

  • addressDefinition :: Text

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Instances

Instances details
FromJSON Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

ToJSON Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

Read Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

NFData Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

rnf :: Address -> () #

Eq Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Hashable Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

type Rep Address Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Address

type Rep Address = D1 ('MetaData "Address" "Amazonka.NetworkFirewall.Types.Address" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "Address'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAddress Source #

Create a value of Address with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:addressDefinition:Address', address_addressDefinition - Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

address_addressDefinition :: Lens' Address Text Source #

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Attachment

data Attachment Source #

The configuration and status for a single subnet that you've specified for use by the Network Firewall firewall. This is part of the FirewallStatus.

See: newAttachment smart constructor.

Constructors

Attachment' 

Fields

  • endpointId :: Maybe Text

    The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.

  • status :: Maybe AttachmentStatus

    The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the endpoint in the VPC subnet and the sync states that are reported in the Config settings. When this value is READY, the endpoint is available and configured properly to handle network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example CREATING or DELETING.

  • statusMessage :: Maybe Text

    If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

  • subnetId :: Maybe Text

    The unique identifier of the subnet that you've specified to be used for a firewall endpoint.

Instances

Instances details
FromJSON Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

Generic Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

Associated Types

type Rep Attachment :: Type -> Type #

Read Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

Show Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

NFData Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

Methods

rnf :: Attachment -> () #

Eq Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

Hashable Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

type Rep Attachment Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Attachment

type Rep Attachment = D1 ('MetaData "Attachment" "Amazonka.NetworkFirewall.Types.Attachment" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "Attachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachmentStatus))) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAttachment :: Attachment Source #

Create a value of Attachment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointId:Attachment', attachment_endpointId - The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.

$sel:status:Attachment', attachment_status - The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the endpoint in the VPC subnet and the sync states that are reported in the Config settings. When this value is READY, the endpoint is available and configured properly to handle network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example CREATING or DELETING.

$sel:statusMessage:Attachment', attachment_statusMessage - If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

$sel:subnetId:Attachment', attachment_subnetId - The unique identifier of the subnet that you've specified to be used for a firewall endpoint.

attachment_endpointId :: Lens' Attachment (Maybe Text) Source #

The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.

attachment_status :: Lens' Attachment (Maybe AttachmentStatus) Source #

The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the endpoint in the VPC subnet and the sync states that are reported in the Config settings. When this value is READY, the endpoint is available and configured properly to handle network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example CREATING or DELETING.

attachment_statusMessage :: Lens' Attachment (Maybe Text) Source #

If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

attachment_subnetId :: Lens' Attachment (Maybe Text) Source #

The unique identifier of the subnet that you've specified to be used for a firewall endpoint.

CIDRSummary

data CIDRSummary Source #

Summarizes the CIDR blocks used by the IP set references in a firewall. Network Firewall calculates the number of CIDRs by taking an aggregated count of all CIDRs used by the IP sets you are referencing.

See: newCIDRSummary smart constructor.

Constructors

CIDRSummary' 

Fields

Instances

Instances details
FromJSON CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

Generic CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

Associated Types

type Rep CIDRSummary :: Type -> Type #

Read CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

Show CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

NFData CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

Methods

rnf :: CIDRSummary -> () #

Eq CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

Hashable CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

type Rep CIDRSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CIDRSummary

type Rep CIDRSummary = D1 ('MetaData "CIDRSummary" "Amazonka.NetworkFirewall.Types.CIDRSummary" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "CIDRSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availableCIDRCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "iPSetReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IPSetMetadata))) :*: S1 ('MetaSel ('Just "utilizedCIDRCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newCIDRSummary :: CIDRSummary Source #

Create a value of CIDRSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:availableCIDRCount:CIDRSummary', cIDRSummary_availableCIDRCount - The number of CIDR blocks available for use by the IP set references in a firewall.

$sel:iPSetReferences:CIDRSummary', cIDRSummary_iPSetReferences - The list of the IP set references used by a firewall.

$sel:utilizedCIDRCount:CIDRSummary', cIDRSummary_utilizedCIDRCount - The number of CIDR blocks used by the IP set references in a firewall.

cIDRSummary_availableCIDRCount :: Lens' CIDRSummary (Maybe Natural) Source #

The number of CIDR blocks available for use by the IP set references in a firewall.

cIDRSummary_iPSetReferences :: Lens' CIDRSummary (Maybe (HashMap Text IPSetMetadata)) Source #

The list of the IP set references used by a firewall.

cIDRSummary_utilizedCIDRCount :: Lens' CIDRSummary (Maybe Natural) Source #

The number of CIDR blocks used by the IP set references in a firewall.

CapacityUsageSummary

data CapacityUsageSummary Source #

The capacity usage summary of the resources used by the ReferenceSets in a firewall.

See: newCapacityUsageSummary smart constructor.

Constructors

CapacityUsageSummary' 

Fields

  • cIDRs :: Maybe CIDRSummary

    Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.

Instances

Instances details
FromJSON CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

Generic CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

Associated Types

type Rep CapacityUsageSummary :: Type -> Type #

Read CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

Show CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

NFData CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

Methods

rnf :: CapacityUsageSummary -> () #

Eq CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

Hashable CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

type Rep CapacityUsageSummary Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CapacityUsageSummary

type Rep CapacityUsageSummary = D1 ('MetaData "CapacityUsageSummary" "Amazonka.NetworkFirewall.Types.CapacityUsageSummary" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "CapacityUsageSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cIDRs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CIDRSummary))))

newCapacityUsageSummary :: CapacityUsageSummary Source #

Create a value of CapacityUsageSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cIDRs:CapacityUsageSummary', capacityUsageSummary_cIDRs - Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.

capacityUsageSummary_cIDRs :: Lens' CapacityUsageSummary (Maybe CIDRSummary) Source #

Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.

CustomAction

data CustomAction Source #

An optional, non-standard action to use for stateless packet handling. You can define this in addition to the standard action that you must specify.

You define and name the custom actions that you want to be able to use, and then you reference them by name in your actions settings.

You can use custom actions in the following places:

  • In a rule group's StatelessRulesAndCustomActions specification. The custom actions are available for use by name inside the StatelessRulesAndCustomActions where you define them. You can use them for your stateless rule actions to specify what to do with a packet that matches the rule's match attributes.
  • In a FirewallPolicy specification, in StatelessCustomActions. The custom actions are available for use inside the policy where you define them. You can use them for the policy's default stateless actions settings to specify what to do with packets that don't match any of the policy's stateless rules.

See: newCustomAction smart constructor.

Constructors

CustomAction' 

Fields

Instances

Instances details
FromJSON CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

ToJSON CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

Generic CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

Associated Types

type Rep CustomAction :: Type -> Type #

Read CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

Show CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

NFData CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

Methods

rnf :: CustomAction -> () #

Eq CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

Hashable CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

type Rep CustomAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.CustomAction

type Rep CustomAction = D1 ('MetaData "CustomAction" "Amazonka.NetworkFirewall.Types.CustomAction" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "CustomAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "actionDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionDefinition)))

newCustomAction Source #

Create a value of CustomAction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:actionName:CustomAction', customAction_actionName - The descriptive name of the custom action. You can't change the name of a custom action after you create it.

$sel:actionDefinition:CustomAction', customAction_actionDefinition - The custom action associated with the action name.

customAction_actionName :: Lens' CustomAction Text Source #

The descriptive name of the custom action. You can't change the name of a custom action after you create it.

customAction_actionDefinition :: Lens' CustomAction ActionDefinition Source #

The custom action associated with the action name.

Dimension

data Dimension Source #

The value to use in an Amazon CloudWatch custom metric dimension. This is used in the PublishMetrics CustomAction. A CloudWatch custom metric dimension is a name/value pair that's part of the identity of a metric.

Network Firewall sets the dimension name to CustomAction and you provide the dimension value.

For more information about CloudWatch custom metric dimensions, see Publishing Custom Metrics in the Amazon CloudWatch User Guide.

See: newDimension smart constructor.

Constructors

Dimension' 

Fields

  • value :: Text

    The value to use in the custom metric dimension.

Instances

Instances details
FromJSON Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

ToJSON Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

Generic Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

Associated Types

type Rep Dimension :: Type -> Type #

Read Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

Show Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

NFData Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

Methods

rnf :: Dimension -> () #

Eq Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

Hashable Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

type Rep Dimension Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Dimension

type Rep Dimension = D1 ('MetaData "Dimension" "Amazonka.NetworkFirewall.Types.Dimension" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "Dimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDimension Source #

Create a value of Dimension with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:Dimension', dimension_value - The value to use in the custom metric dimension.

dimension_value :: Lens' Dimension Text Source #

The value to use in the custom metric dimension.

EncryptionConfiguration

data EncryptionConfiguration Source #

A complex type that contains optional Amazon Web Services Key Management Service (KMS) encryption settings for your Network Firewall resources. Your data is encrypted by default with an Amazon Web Services owned key that Amazon Web Services owns and manages for you. You can use either the Amazon Web Services owned key, or provide your own customer managed key. To learn more about KMS encryption of your Network Firewall resources, see Encryption at rest with Amazon Web Services Key Managment Service in the Network Firewall Developer Guide.

See: newEncryptionConfiguration smart constructor.

Constructors

EncryptionConfiguration' 

Fields

  • keyId :: Maybe Text

    The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.

  • type' :: EncryptionType

    The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.

Instances

Instances details
FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.EncryptionConfiguration

type Rep EncryptionConfiguration = D1 ('MetaData "EncryptionConfiguration" "Amazonka.NetworkFirewall.Types.EncryptionConfiguration" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "EncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionType)))

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:keyId:EncryptionConfiguration', encryptionConfiguration_keyId - The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.

$sel:type':EncryptionConfiguration', encryptionConfiguration_type - The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.

encryptionConfiguration_keyId :: Lens' EncryptionConfiguration (Maybe Text) Source #

The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.

encryptionConfiguration_type :: Lens' EncryptionConfiguration EncryptionType Source #

The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.

Firewall

data Firewall Source #

The firewall defines the configuration settings for an Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall Amazon Web Services resource.

The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding FirewallStatus. You can retrieve both objects by calling DescribeFirewall.

See: newFirewall smart constructor.

Constructors

Firewall' 

Fields

  • deleteProtection :: Maybe Bool

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

  • description :: Maybe Text

    A description of the firewall.

  • encryptionConfiguration :: Maybe EncryptionConfiguration

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

  • firewallArn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall.

  • firewallName :: Maybe Text

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

  • firewallPolicyChangeProtection :: Maybe Bool

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

  • subnetChangeProtection :: Maybe Bool

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

  • tags :: Maybe (NonEmpty Tag)
     
  • firewallPolicyArn :: Text

    The Amazon Resource Name (ARN) of the firewall policy.

    The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

  • vpcId :: Text

    The unique identifier of the VPC where the firewall is in use.

  • subnetMappings :: [SubnetMapping]

    The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

  • firewallId :: Text

    The unique identifier for the firewall.

Instances

Instances details
FromJSON Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Generic Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Associated Types

type Rep Firewall :: Type -> Type #

Methods

from :: Firewall -> Rep Firewall x #

to :: Rep Firewall x -> Firewall #

Read Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Show Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

NFData Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Methods

rnf :: Firewall -> () #

Eq Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Hashable Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

Methods

hashWithSalt :: Int -> Firewall -> Int #

hash :: Firewall -> Int #

type Rep Firewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Firewall

type Rep Firewall = D1 ('MetaData "Firewall" "Amazonka.NetworkFirewall.Types.Firewall" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "Firewall'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "deleteProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)))) :*: (S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firewallPolicyChangeProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "subnetChangeProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "firewallPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "subnetMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubnetMapping]) :*: S1 ('MetaSel ('Just "firewallId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newFirewall Source #

Create a value of Firewall with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deleteProtection:Firewall', firewall_deleteProtection - A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

$sel:description:Firewall', firewall_description - A description of the firewall.

$sel:encryptionConfiguration:Firewall', firewall_encryptionConfiguration - A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

$sel:firewallArn:Firewall', firewall_firewallArn - The Amazon Resource Name (ARN) of the firewall.

$sel:firewallName:Firewall', firewall_firewallName - The descriptive name of the firewall. You can't change the name of a firewall after you create it.

$sel:firewallPolicyChangeProtection:Firewall', firewall_firewallPolicyChangeProtection - A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

$sel:subnetChangeProtection:Firewall', firewall_subnetChangeProtection - A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

$sel:tags:Firewall', firewall_tags -

$sel:firewallPolicyArn:Firewall', firewall_firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.

The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

$sel:vpcId:Firewall', firewall_vpcId - The unique identifier of the VPC where the firewall is in use.

$sel:subnetMappings:Firewall', firewall_subnetMappings - The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

$sel:firewallId:Firewall', firewall_firewallId - The unique identifier for the firewall.

firewall_deleteProtection :: Lens' Firewall (Maybe Bool) Source #

A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

firewall_description :: Lens' Firewall (Maybe Text) Source #

A description of the firewall.

firewall_encryptionConfiguration :: Lens' Firewall (Maybe EncryptionConfiguration) Source #

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

firewall_firewallArn :: Lens' Firewall (Maybe Text) Source #

The Amazon Resource Name (ARN) of the firewall.

firewall_firewallName :: Lens' Firewall (Maybe Text) Source #

The descriptive name of the firewall. You can't change the name of a firewall after you create it.

firewall_firewallPolicyChangeProtection :: Lens' Firewall (Maybe Bool) Source #

A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

firewall_subnetChangeProtection :: Lens' Firewall (Maybe Bool) Source #

A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

firewall_firewallPolicyArn :: Lens' Firewall Text Source #

The Amazon Resource Name (ARN) of the firewall policy.

The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

firewall_vpcId :: Lens' Firewall Text Source #

The unique identifier of the VPC where the firewall is in use.

firewall_subnetMappings :: Lens' Firewall [SubnetMapping] Source #

The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

firewall_firewallId :: Lens' Firewall Text Source #

The unique identifier for the firewall.

FirewallMetadata

data FirewallMetadata Source #

High-level information about a firewall, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall.

See: newFirewallMetadata smart constructor.

Constructors

FirewallMetadata' 

Fields

Instances

Instances details
FromJSON FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

Generic FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

Associated Types

type Rep FirewallMetadata :: Type -> Type #

Read FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

Show FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

NFData FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

Methods

rnf :: FirewallMetadata -> () #

Eq FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

Hashable FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

type Rep FirewallMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallMetadata

type Rep FirewallMetadata = D1 ('MetaData "FirewallMetadata" "Amazonka.NetworkFirewall.Types.FirewallMetadata" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newFirewallMetadata :: FirewallMetadata Source #

Create a value of FirewallMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:firewallArn:FirewallMetadata', firewallMetadata_firewallArn - The Amazon Resource Name (ARN) of the firewall.

$sel:firewallName:FirewallMetadata', firewallMetadata_firewallName - The descriptive name of the firewall. You can't change the name of a firewall after you create it.

firewallMetadata_firewallArn :: Lens' FirewallMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the firewall.

firewallMetadata_firewallName :: Lens' FirewallMetadata (Maybe Text) Source #

The descriptive name of the firewall. You can't change the name of a firewall after you create it.

FirewallPolicy

data FirewallPolicy Source #

The firewall policy defines the behavior of a firewall using a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls.

This, along with FirewallPolicyResponse, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

See: newFirewallPolicy smart constructor.

Constructors

FirewallPolicy' 

Fields

  • statefulDefaultActions :: Maybe [Text]

    The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

    Valid values of the stateful default action:

    • aws:drop_strict
    • aws:drop_established
    • aws:alert_strict
    • aws:alert_established

    For more information, see Strict evaluation order in the Network Firewall Developer Guide.

  • statefulEngineOptions :: Maybe StatefulEngineOptions

    Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

  • statefulRuleGroupReferences :: Maybe [StatefulRuleGroupReference]

    References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.

  • statelessCustomActions :: Maybe [CustomAction]

    The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.

  • statelessRuleGroupReferences :: Maybe [StatelessRuleGroupReference]

    References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.

  • statelessDefaultActions :: [Text]

    The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

    You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

    For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

  • statelessFragmentDefaultActions :: [Text]

    The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

    You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

    For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

Instances

Instances details
FromJSON FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

ToJSON FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

Generic FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

Associated Types

type Rep FirewallPolicy :: Type -> Type #

Read FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

Show FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

NFData FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

Methods

rnf :: FirewallPolicy -> () #

Eq FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

Hashable FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

type Rep FirewallPolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicy

type Rep FirewallPolicy = D1 ('MetaData "FirewallPolicy" "Amazonka.NetworkFirewall.Types.FirewallPolicy" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "statefulDefaultActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "statefulEngineOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatefulEngineOptions)) :*: S1 ('MetaSel ('Just "statefulRuleGroupReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StatefulRuleGroupReference])))) :*: ((S1 ('MetaSel ('Just "statelessCustomActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomAction])) :*: S1 ('MetaSel ('Just "statelessRuleGroupReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StatelessRuleGroupReference]))) :*: (S1 ('MetaSel ('Just "statelessDefaultActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "statelessFragmentDefaultActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newFirewallPolicy :: FirewallPolicy Source #

Create a value of FirewallPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:statefulDefaultActions:FirewallPolicy', firewallPolicy_statefulDefaultActions - The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

Valid values of the stateful default action:

  • aws:drop_strict
  • aws:drop_established
  • aws:alert_strict
  • aws:alert_established

For more information, see Strict evaluation order in the Network Firewall Developer Guide.

$sel:statefulEngineOptions:FirewallPolicy', firewallPolicy_statefulEngineOptions - Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

$sel:statefulRuleGroupReferences:FirewallPolicy', firewallPolicy_statefulRuleGroupReferences - References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.

$sel:statelessCustomActions:FirewallPolicy', firewallPolicy_statelessCustomActions - The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.

$sel:statelessRuleGroupReferences:FirewallPolicy', firewallPolicy_statelessRuleGroupReferences - References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.

$sel:statelessDefaultActions:FirewallPolicy', firewallPolicy_statelessDefaultActions - The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

$sel:statelessFragmentDefaultActions:FirewallPolicy', firewallPolicy_statelessFragmentDefaultActions - The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

firewallPolicy_statefulDefaultActions :: Lens' FirewallPolicy (Maybe [Text]) Source #

The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

Valid values of the stateful default action:

  • aws:drop_strict
  • aws:drop_established
  • aws:alert_strict
  • aws:alert_established

For more information, see Strict evaluation order in the Network Firewall Developer Guide.

firewallPolicy_statefulEngineOptions :: Lens' FirewallPolicy (Maybe StatefulEngineOptions) Source #

Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

firewallPolicy_statefulRuleGroupReferences :: Lens' FirewallPolicy (Maybe [StatefulRuleGroupReference]) Source #

References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.

firewallPolicy_statelessCustomActions :: Lens' FirewallPolicy (Maybe [CustomAction]) Source #

The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.

firewallPolicy_statelessRuleGroupReferences :: Lens' FirewallPolicy (Maybe [StatelessRuleGroupReference]) Source #

References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.

firewallPolicy_statelessDefaultActions :: Lens' FirewallPolicy [Text] Source #

The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

firewallPolicy_statelessFragmentDefaultActions :: Lens' FirewallPolicy [Text] Source #

The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

FirewallPolicyMetadata

data FirewallPolicyMetadata Source #

High-level information about a firewall policy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

See: newFirewallPolicyMetadata smart constructor.

Constructors

FirewallPolicyMetadata' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall policy.

  • name :: Maybe Text

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

Instances

Instances details
FromJSON FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

Generic FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

Associated Types

type Rep FirewallPolicyMetadata :: Type -> Type #

Read FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

Show FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

NFData FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

Methods

rnf :: FirewallPolicyMetadata -> () #

Eq FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

Hashable FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

type Rep FirewallPolicyMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata

type Rep FirewallPolicyMetadata = D1 ('MetaData "FirewallPolicyMetadata" "Amazonka.NetworkFirewall.Types.FirewallPolicyMetadata" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallPolicyMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newFirewallPolicyMetadata :: FirewallPolicyMetadata Source #

Create a value of FirewallPolicyMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:FirewallPolicyMetadata', firewallPolicyMetadata_arn - The Amazon Resource Name (ARN) of the firewall policy.

$sel:name:FirewallPolicyMetadata', firewallPolicyMetadata_name - The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

firewallPolicyMetadata_arn :: Lens' FirewallPolicyMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the firewall policy.

firewallPolicyMetadata_name :: Lens' FirewallPolicyMetadata (Maybe Text) Source #

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

FirewallPolicyResponse

data FirewallPolicyResponse Source #

The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

See: newFirewallPolicyResponse smart constructor.

Constructors

FirewallPolicyResponse' 

Fields

Instances

Instances details
FromJSON FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Generic FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Associated Types

type Rep FirewallPolicyResponse :: Type -> Type #

Read FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Show FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

NFData FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Methods

rnf :: FirewallPolicyResponse -> () #

Eq FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Hashable FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

type Rep FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

type Rep FirewallPolicyResponse = D1 ('MetaData "FirewallPolicyResponse" "Amazonka.NetworkFirewall.Types.FirewallPolicyResponse" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallPolicyResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "consumedStatefulRuleCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "consumedStatelessRuleCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "firewallPolicyStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus))))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "numberOfAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))))) :*: (S1 ('MetaSel ('Just "firewallPolicyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "firewallPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "firewallPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newFirewallPolicyResponse Source #

Create a value of FirewallPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:consumedStatefulRuleCapacity:FirewallPolicyResponse', firewallPolicyResponse_consumedStatefulRuleCapacity - The number of capacity units currently consumed by the policy's stateful rules.

$sel:consumedStatelessRuleCapacity:FirewallPolicyResponse', firewallPolicyResponse_consumedStatelessRuleCapacity - The number of capacity units currently consumed by the policy's stateless rules.

$sel:description:FirewallPolicyResponse', firewallPolicyResponse_description - A description of the firewall policy.

$sel:encryptionConfiguration:FirewallPolicyResponse', firewallPolicyResponse_encryptionConfiguration - A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.

$sel:firewallPolicyStatus:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyStatus - The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

$sel:lastModifiedTime:FirewallPolicyResponse', firewallPolicyResponse_lastModifiedTime - The last time that the firewall policy was changed.

$sel:numberOfAssociations:FirewallPolicyResponse', firewallPolicyResponse_numberOfAssociations - The number of firewalls that are associated with this firewall policy.

$sel:tags:FirewallPolicyResponse', firewallPolicyResponse_tags - The key:value pairs to associate with the resource.

$sel:firewallPolicyName:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyName - The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

$sel:firewallPolicyArn:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

$sel:firewallPolicyId:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyId - The unique identifier for the firewall policy.

firewallPolicyResponse_consumedStatefulRuleCapacity :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of capacity units currently consumed by the policy's stateful rules.

firewallPolicyResponse_consumedStatelessRuleCapacity :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of capacity units currently consumed by the policy's stateless rules.

firewallPolicyResponse_encryptionConfiguration :: Lens' FirewallPolicyResponse (Maybe EncryptionConfiguration) Source #

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.

firewallPolicyResponse_firewallPolicyStatus :: Lens' FirewallPolicyResponse (Maybe ResourceStatus) Source #

The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

firewallPolicyResponse_lastModifiedTime :: Lens' FirewallPolicyResponse (Maybe UTCTime) Source #

The last time that the firewall policy was changed.

firewallPolicyResponse_numberOfAssociations :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of firewalls that are associated with this firewall policy.

firewallPolicyResponse_tags :: Lens' FirewallPolicyResponse (Maybe (NonEmpty Tag)) Source #

The key:value pairs to associate with the resource.

firewallPolicyResponse_firewallPolicyName :: Lens' FirewallPolicyResponse Text Source #

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

firewallPolicyResponse_firewallPolicyArn :: Lens' FirewallPolicyResponse Text Source #

The Amazon Resource Name (ARN) of the firewall policy.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

firewallPolicyResponse_firewallPolicyId :: Lens' FirewallPolicyResponse Text Source #

The unique identifier for the firewall policy.

FirewallStatus

data FirewallStatus Source #

Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN.

See: newFirewallStatus smart constructor.

Constructors

FirewallStatus' 

Fields

  • capacityUsageSummary :: Maybe CapacityUsageSummary

    Describes the capacity usage of the resources contained in a firewall's reference sets. Network Firewall calclulates the capacity usage by taking an aggregated count of all of the resources used by all of the reference sets in a firewall.

  • syncStates :: Maybe (HashMap Text SyncState)

    The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the ConfigurationSyncStateSummary and Status, broken down by zone and configuration object.

  • status :: FirewallStatusValue

    The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY.

  • configurationSyncStateSummary :: ConfigurationSyncState

    The configuration sync state for the firewall. This summarizes the sync states reported in the Config settings for all of the Availability Zones where you have configured the firewall.

    When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere.

    This status must be IN_SYNC for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status setting indicates firewall readiness.

Instances

Instances details
FromJSON FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

Generic FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

Associated Types

type Rep FirewallStatus :: Type -> Type #

Read FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

Show FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

NFData FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

Methods

rnf :: FirewallStatus -> () #

Eq FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

Hashable FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

type Rep FirewallStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallStatus

type Rep FirewallStatus = D1 ('MetaData "FirewallStatus" "Amazonka.NetworkFirewall.Types.FirewallStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "capacityUsageSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityUsageSummary)) :*: S1 ('MetaSel ('Just "syncStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text SyncState)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FirewallStatusValue) :*: S1 ('MetaSel ('Just "configurationSyncStateSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigurationSyncState))))

newFirewallStatus Source #

Create a value of FirewallStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:capacityUsageSummary:FirewallStatus', firewallStatus_capacityUsageSummary - Describes the capacity usage of the resources contained in a firewall's reference sets. Network Firewall calclulates the capacity usage by taking an aggregated count of all of the resources used by all of the reference sets in a firewall.

$sel:syncStates:FirewallStatus', firewallStatus_syncStates - The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the ConfigurationSyncStateSummary and Status, broken down by zone and configuration object.

$sel:status:FirewallStatus', firewallStatus_status - The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY.

$sel:configurationSyncStateSummary:FirewallStatus', firewallStatus_configurationSyncStateSummary - The configuration sync state for the firewall. This summarizes the sync states reported in the Config settings for all of the Availability Zones where you have configured the firewall.

When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere.

This status must be IN_SYNC for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status setting indicates firewall readiness.

firewallStatus_capacityUsageSummary :: Lens' FirewallStatus (Maybe CapacityUsageSummary) Source #

Describes the capacity usage of the resources contained in a firewall's reference sets. Network Firewall calclulates the capacity usage by taking an aggregated count of all of the resources used by all of the reference sets in a firewall.

firewallStatus_syncStates :: Lens' FirewallStatus (Maybe (HashMap Text SyncState)) Source #

The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the ConfigurationSyncStateSummary and Status, broken down by zone and configuration object.

firewallStatus_status :: Lens' FirewallStatus FirewallStatusValue Source #

The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY.

firewallStatus_configurationSyncStateSummary :: Lens' FirewallStatus ConfigurationSyncState Source #

The configuration sync state for the firewall. This summarizes the sync states reported in the Config settings for all of the Availability Zones where you have configured the firewall.

When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere.

This status must be IN_SYNC for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status setting indicates firewall readiness.

Header

data Header Source #

The basic rule criteria for Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding StatefulRule.

See: newHeader smart constructor.

Constructors

Header' 

Fields

  • protocol :: StatefulRuleProtocol

    The protocol to inspect for. To specify all, you can use IP, because all traffic on Amazon Web Services and on the internet is IP.

  • source :: Text

    The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

  • sourcePort :: Text

    The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

  • direction :: StatefulRuleDirection

    The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

  • destination :: Text

    The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

  • destinationPort :: Text

    The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

Instances

Instances details
FromJSON Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

ToJSON Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Generic Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Associated Types

type Rep Header :: Type -> Type #

Methods

from :: Header -> Rep Header x #

to :: Rep Header x -> Header #

Read Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Show Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

NFData Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Methods

rnf :: Header -> () #

Eq Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Methods

(==) :: Header -> Header -> Bool #

(/=) :: Header -> Header -> Bool #

Hashable Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

Methods

hashWithSalt :: Int -> Header -> Int #

hash :: Header -> Int #

type Rep Header Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Header

newHeader Source #

Create a value of Header with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:protocol:Header', header_protocol - The protocol to inspect for. To specify all, you can use IP, because all traffic on Amazon Web Services and on the internet is IP.

$sel:source:Header', header_source - The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

$sel:sourcePort:Header', header_sourcePort - The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

$sel:direction:Header', header_direction - The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

$sel:destination:Header', header_destination - The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

$sel:destinationPort:Header', header_destinationPort - The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

header_protocol :: Lens' Header StatefulRuleProtocol Source #

The protocol to inspect for. To specify all, you can use IP, because all traffic on Amazon Web Services and on the internet is IP.

header_source :: Lens' Header Text Source #

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

header_sourcePort :: Lens' Header Text Source #

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

header_direction :: Lens' Header StatefulRuleDirection Source #

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

header_destination :: Lens' Header Text Source #

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

header_destinationPort :: Lens' Header Text Source #

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

IPSet

data IPSet Source #

A list of IP addresses and address ranges, in CIDR notation. This is part of a RuleVariables.

See: newIPSet smart constructor.

Constructors

IPSet' 

Fields

  • definition :: [Text]

    The list of IP addresses and address ranges, in CIDR notation.

Instances

Instances details
FromJSON IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

ToJSON IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Generic IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Associated Types

type Rep IPSet :: Type -> Type #

Methods

from :: IPSet -> Rep IPSet x #

to :: Rep IPSet x -> IPSet #

Read IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Show IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Methods

showsPrec :: Int -> IPSet -> ShowS #

show :: IPSet -> String #

showList :: [IPSet] -> ShowS #

NFData IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Methods

rnf :: IPSet -> () #

Eq IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Methods

(==) :: IPSet -> IPSet -> Bool #

(/=) :: IPSet -> IPSet -> Bool #

Hashable IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

Methods

hashWithSalt :: Int -> IPSet -> Int #

hash :: IPSet -> Int #

type Rep IPSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSet

type Rep IPSet = D1 ('MetaData "IPSet" "Amazonka.NetworkFirewall.Types.IPSet" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "IPSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newIPSet :: IPSet Source #

Create a value of IPSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:definition:IPSet', iPSet_definition - The list of IP addresses and address ranges, in CIDR notation.

iPSet_definition :: Lens' IPSet [Text] Source #

The list of IP addresses and address ranges, in CIDR notation.

IPSetMetadata

data IPSetMetadata Source #

General information about the IP set.

See: newIPSetMetadata smart constructor.

Constructors

IPSetMetadata' 

Fields

  • resolvedCIDRCount :: Maybe Natural

    Describes the total number of CIDR blocks currently in use by the IP set references in a firewall. To determine how many CIDR blocks are available for you to use in a firewall, you can call AvailableCIDRCount.

Instances

Instances details
FromJSON IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

Generic IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

Associated Types

type Rep IPSetMetadata :: Type -> Type #

Read IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

Show IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

NFData IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

Methods

rnf :: IPSetMetadata -> () #

Eq IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

Hashable IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

type Rep IPSetMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetMetadata

type Rep IPSetMetadata = D1 ('MetaData "IPSetMetadata" "Amazonka.NetworkFirewall.Types.IPSetMetadata" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "IPSetMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolvedCIDRCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newIPSetMetadata :: IPSetMetadata Source #

Create a value of IPSetMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resolvedCIDRCount:IPSetMetadata', iPSetMetadata_resolvedCIDRCount - Describes the total number of CIDR blocks currently in use by the IP set references in a firewall. To determine how many CIDR blocks are available for you to use in a firewall, you can call AvailableCIDRCount.

iPSetMetadata_resolvedCIDRCount :: Lens' IPSetMetadata (Maybe Natural) Source #

Describes the total number of CIDR blocks currently in use by the IP set references in a firewall. To determine how many CIDR blocks are available for you to use in a firewall, you can call AvailableCIDRCount.

IPSetReference

data IPSetReference Source #

Configures one or more IP set references for a Suricata-compatible rule group. This is used in CreateRuleGroup or UpdateRuleGroup. An IP set reference is a rule variable that references a resource that you create and manage in another Amazon Web Services service, such as an Amazon VPC prefix list. Network Firewall IP set references enable you to dynamically update the contents of your rules. When you create, update, or delete the IP set you are referencing in your rule, Network Firewall automatically updates the rule's content with the changes. For more information about IP set references in Network Firewall, see Using IP set references in the Network Firewall Developer Guide.

Network Firewall currently supports only Amazon VPC prefix lists as IP set references.

See: newIPSetReference smart constructor.

Constructors

IPSetReference' 

Fields

  • referenceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the resource that you are referencing in your rule group.

Instances

Instances details
FromJSON IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

ToJSON IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

Generic IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

Associated Types

type Rep IPSetReference :: Type -> Type #

Read IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

Show IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

NFData IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

Methods

rnf :: IPSetReference -> () #

Eq IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

Hashable IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

type Rep IPSetReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.IPSetReference

type Rep IPSetReference = D1 ('MetaData "IPSetReference" "Amazonka.NetworkFirewall.Types.IPSetReference" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "IPSetReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "referenceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIPSetReference :: IPSetReference Source #

Create a value of IPSetReference with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:referenceArn:IPSetReference', iPSetReference_referenceArn - The Amazon Resource Name (ARN) of the resource that you are referencing in your rule group.

iPSetReference_referenceArn :: Lens' IPSetReference (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource that you are referencing in your rule group.

LogDestinationConfig

data LogDestinationConfig Source #

Defines where Network Firewall sends logs for the firewall for one log type. This is used in LoggingConfiguration. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to DROP or ALERT.

See: newLogDestinationConfig smart constructor.

Constructors

LogDestinationConfig' 

Fields

  • logType :: LogType

    The type of log to send. Alert logs report traffic that matches a StatefulRule with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs.

  • logDestinationType :: LogDestinationType

    The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

  • logDestination :: HashMap Text Text

    The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

    • For an Amazon S3 bucket, provide the name of the bucket, with key bucketName, and optionally provide a prefix, with key prefix. The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts:

      "LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }
    • For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group:

      "LogDestination": { "logGroup": "alert-log-group" }
    • For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream:

      "LogDestination": { "deliveryStream": "alert-delivery-stream" }

Instances

Instances details
FromJSON LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

ToJSON LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

Generic LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

Associated Types

type Rep LogDestinationConfig :: Type -> Type #

Read LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

Show LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

NFData LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

Methods

rnf :: LogDestinationConfig -> () #

Eq LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

Hashable LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

type Rep LogDestinationConfig Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LogDestinationConfig

type Rep LogDestinationConfig = D1 ('MetaData "LogDestinationConfig" "Amazonka.NetworkFirewall.Types.LogDestinationConfig" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "LogDestinationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogType) :*: (S1 ('MetaSel ('Just "logDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogDestinationType) :*: S1 ('MetaSel ('Just "logDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))))

newLogDestinationConfig Source #

Create a value of LogDestinationConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logType:LogDestinationConfig', logDestinationConfig_logType - The type of log to send. Alert logs report traffic that matches a StatefulRule with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs.

$sel:logDestinationType:LogDestinationConfig', logDestinationConfig_logDestinationType - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

$sel:logDestination:LogDestinationConfig', logDestinationConfig_logDestination - The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

  • For an Amazon S3 bucket, provide the name of the bucket, with key bucketName, and optionally provide a prefix, with key prefix. The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts:

    "LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }
  • For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group:

    "LogDestination": { "logGroup": "alert-log-group" }
  • For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream:

    "LogDestination": { "deliveryStream": "alert-delivery-stream" }

logDestinationConfig_logType :: Lens' LogDestinationConfig LogType Source #

The type of log to send. Alert logs report traffic that matches a StatefulRule with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs.

logDestinationConfig_logDestinationType :: Lens' LogDestinationConfig LogDestinationType Source #

The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.

logDestinationConfig_logDestination :: Lens' LogDestinationConfig (HashMap Text Text) Source #

The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

  • For an Amazon S3 bucket, provide the name of the bucket, with key bucketName, and optionally provide a prefix, with key prefix. The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts:

    "LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }
  • For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group:

    "LogDestination": { "logGroup": "alert-log-group" }
  • For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream:

    "LogDestination": { "deliveryStream": "alert-delivery-stream" }

LoggingConfiguration

data LoggingConfiguration Source #

Defines how Network Firewall performs logging for a Firewall.

See: newLoggingConfiguration smart constructor.

Constructors

LoggingConfiguration' 

Fields

Instances

Instances details
FromJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

ToJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

Generic LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

Associated Types

type Rep LoggingConfiguration :: Type -> Type #

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

Show LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

type Rep LoggingConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.LoggingConfiguration

type Rep LoggingConfiguration = D1 ('MetaData "LoggingConfiguration" "Amazonka.NetworkFirewall.Types.LoggingConfiguration" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logDestinationConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [LogDestinationConfig])))

newLoggingConfiguration :: LoggingConfiguration Source #

Create a value of LoggingConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logDestinationConfigs:LoggingConfiguration', loggingConfiguration_logDestinationConfigs - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.

loggingConfiguration_logDestinationConfigs :: Lens' LoggingConfiguration [LogDestinationConfig] Source #

Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.

MatchAttributes

data MatchAttributes Source #

Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

See: newMatchAttributes smart constructor.

Constructors

MatchAttributes' 

Fields

  • destinationPorts :: Maybe [PortRange]

    The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

    You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

  • destinations :: Maybe [Address]

    The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

  • protocols :: Maybe [Natural]

    The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

  • sourcePorts :: Maybe [PortRange]

    The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

    You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

  • sources :: Maybe [Address]

    The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

  • tCPFlags :: Maybe [TCPFlagField]

    The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Instances

Instances details
FromJSON MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

ToJSON MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

Generic MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

Associated Types

type Rep MatchAttributes :: Type -> Type #

Read MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

Show MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

NFData MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

Methods

rnf :: MatchAttributes -> () #

Eq MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

Hashable MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

type Rep MatchAttributes Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.MatchAttributes

type Rep MatchAttributes = D1 ('MetaData "MatchAttributes" "Amazonka.NetworkFirewall.Types.MatchAttributes" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "MatchAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationPorts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PortRange])) :*: (S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Address])) :*: S1 ('MetaSel ('Just "protocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])))) :*: (S1 ('MetaSel ('Just "sourcePorts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PortRange])) :*: (S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Address])) :*: S1 ('MetaSel ('Just "tCPFlags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TCPFlagField]))))))

newMatchAttributes :: MatchAttributes Source #

Create a value of MatchAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:destinationPorts:MatchAttributes', matchAttributes_destinationPorts - The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

$sel:destinations:MatchAttributes', matchAttributes_destinations - The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

$sel:protocols:MatchAttributes', matchAttributes_protocols - The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

$sel:sourcePorts:MatchAttributes', matchAttributes_sourcePorts - The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

$sel:sources:MatchAttributes', matchAttributes_sources - The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

$sel:tCPFlags:MatchAttributes', matchAttributes_tCPFlags - The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

matchAttributes_destinationPorts :: Lens' MatchAttributes (Maybe [PortRange]) Source #

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

matchAttributes_destinations :: Lens' MatchAttributes (Maybe [Address]) Source #

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

matchAttributes_protocols :: Lens' MatchAttributes (Maybe [Natural]) Source #

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

matchAttributes_sourcePorts :: Lens' MatchAttributes (Maybe [PortRange]) Source #

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.

matchAttributes_sources :: Lens' MatchAttributes (Maybe [Address]) Source #

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

matchAttributes_tCPFlags :: Lens' MatchAttributes (Maybe [TCPFlagField]) Source #

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

PerObjectStatus

data PerObjectStatus Source #

Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of a SyncState for a firewall.

See: newPerObjectStatus smart constructor.

Constructors

PerObjectStatus' 

Fields

Instances

Instances details
FromJSON PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

Generic PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

Associated Types

type Rep PerObjectStatus :: Type -> Type #

Read PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

Show PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

NFData PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

Methods

rnf :: PerObjectStatus -> () #

Eq PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

Hashable PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

type Rep PerObjectStatus Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PerObjectStatus

type Rep PerObjectStatus = D1 ('MetaData "PerObjectStatus" "Amazonka.NetworkFirewall.Types.PerObjectStatus" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "PerObjectStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "syncStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PerObjectSyncStatus)) :*: S1 ('MetaSel ('Just "updateToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPerObjectStatus :: PerObjectStatus Source #

Create a value of PerObjectStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:syncStatus:PerObjectStatus', perObjectStatus_syncStatus - Indicates whether this object is in sync with the version indicated in the update token.

$sel:updateToken:PerObjectStatus', perObjectStatus_updateToken - The current version of the object that is either in sync or pending synchronization.

perObjectStatus_syncStatus :: Lens' PerObjectStatus (Maybe PerObjectSyncStatus) Source #

Indicates whether this object is in sync with the version indicated in the update token.

perObjectStatus_updateToken :: Lens' PerObjectStatus (Maybe Text) Source #

The current version of the object that is either in sync or pending synchronization.

PortRange

data PortRange Source #

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings.

See: newPortRange smart constructor.

Constructors

PortRange' 

Fields

  • fromPort :: Natural

    The lower limit of the port range. This must be less than or equal to the ToPort specification.

  • toPort :: Natural

    The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Instances

Instances details
FromJSON PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

ToJSON PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

Generic PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

Associated Types

type Rep PortRange :: Type -> Type #

Read PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

Show PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

NFData PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

Methods

rnf :: PortRange -> () #

Eq PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

Hashable PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

type Rep PortRange Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortRange

type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.NetworkFirewall.Types.PortRange" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newPortRange Source #

Create a value of PortRange with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fromPort:PortRange', portRange_fromPort - The lower limit of the port range. This must be less than or equal to the ToPort specification.

$sel:toPort:PortRange', portRange_toPort - The upper limit of the port range. This must be greater than or equal to the FromPort specification.

portRange_fromPort :: Lens' PortRange Natural Source #

The lower limit of the port range. This must be less than or equal to the ToPort specification.

portRange_toPort :: Lens' PortRange Natural Source #

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

PortSet

data PortSet Source #

A set of port ranges for use in the rules in a rule group.

See: newPortSet smart constructor.

Constructors

PortSet' 

Fields

Instances

Instances details
FromJSON PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

ToJSON PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Generic PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Associated Types

type Rep PortSet :: Type -> Type #

Methods

from :: PortSet -> Rep PortSet x #

to :: Rep PortSet x -> PortSet #

Read PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Show PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

NFData PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

rnf :: PortSet -> () #

Eq PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

(==) :: PortSet -> PortSet -> Bool #

(/=) :: PortSet -> PortSet -> Bool #

Hashable PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

Methods

hashWithSalt :: Int -> PortSet -> Int #

hash :: PortSet -> Int #

type Rep PortSet Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PortSet

type Rep PortSet = D1 ('MetaData "PortSet" "Amazonka.NetworkFirewall.Types.PortSet" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "PortSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newPortSet :: PortSet Source #

Create a value of PortSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:definition:PortSet', portSet_definition - The set of port ranges.

portSet_definition :: Lens' PortSet (Maybe [Text]) Source #

The set of port ranges.

PublishMetricAction

data PublishMetricAction Source #

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

See: newPublishMetricAction smart constructor.

Instances

Instances details
FromJSON PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

ToJSON PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

Generic PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

Associated Types

type Rep PublishMetricAction :: Type -> Type #

Read PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

Show PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

NFData PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

Methods

rnf :: PublishMetricAction -> () #

Eq PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

Hashable PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

type Rep PublishMetricAction Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.PublishMetricAction

type Rep PublishMetricAction = D1 ('MetaData "PublishMetricAction" "Amazonka.NetworkFirewall.Types.PublishMetricAction" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "PublishMetricAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Dimension))))

newPublishMetricAction Source #

Create a value of PublishMetricAction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:PublishMetricAction', publishMetricAction_dimensions -

ReferenceSets

data ReferenceSets Source #

Contains a set of IP set references.

See: newReferenceSets smart constructor.

Constructors

ReferenceSets' 

Fields

Instances

Instances details
FromJSON ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

ToJSON ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

Generic ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

Associated Types

type Rep ReferenceSets :: Type -> Type #

Read ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

Show ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

NFData ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

Methods

rnf :: ReferenceSets -> () #

Eq ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

Hashable ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

type Rep ReferenceSets Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.ReferenceSets

type Rep ReferenceSets = D1 ('MetaData "ReferenceSets" "Amazonka.NetworkFirewall.Types.ReferenceSets" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "ReferenceSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iPSetReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IPSetReference)))))

newReferenceSets :: ReferenceSets Source #

Create a value of ReferenceSets with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:iPSetReferences:ReferenceSets', referenceSets_iPSetReferences - The list of IP set references.

RuleDefinition

data RuleDefinition Source #

The inspection criteria and action for a single stateless rule. Network Firewall inspects each packet for the specified matching criteria. When a packet matches the criteria, Network Firewall performs the rule's actions on the packet.

See: newRuleDefinition smart constructor.

Constructors

RuleDefinition' 

Fields

  • matchAttributes :: MatchAttributes

    Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

  • actions :: [Text]

    The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions.

    Network Firewall only forwards a packet for stateful rule inspection if you specify aws:forward_to_sfe for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify aws:forward_to_sfe for the StatelessDefaultActions setting for the FirewallPolicy.

    For every rule, you must specify exactly one of the following standard actions.

    • aws:pass - Discontinues all inspection of the packet and permits it to go to its intended destination.
    • aws:drop - Discontinues all inspection of the packet and blocks it from going to its intended destination.
    • aws:forward_to_sfe - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection.

    Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this Actions setting. For information about the options, see CustomAction.

    To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom PublishMetrics action that you've named MyMetricsAction, then you could specify the standard action aws:pass and the custom action with [“aws:pass”, “MyMetricsAction”].

Instances

Instances details
FromJSON RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

ToJSON RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

Generic RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

Associated Types

type Rep RuleDefinition :: Type -> Type #

Read RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

Show RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

NFData RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

Methods

rnf :: RuleDefinition -> () #

Eq RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

Hashable RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

type Rep RuleDefinition Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleDefinition

type Rep RuleDefinition = D1 ('MetaData "RuleDefinition" "Amazonka.NetworkFirewall.Types.RuleDefinition" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "matchAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MatchAttributes) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newRuleDefinition Source #

Create a value of RuleDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:matchAttributes:RuleDefinition', ruleDefinition_matchAttributes - Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

$sel:actions:RuleDefinition', ruleDefinition_actions - The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions.

Network Firewall only forwards a packet for stateful rule inspection if you specify aws:forward_to_sfe for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify aws:forward_to_sfe for the StatelessDefaultActions setting for the FirewallPolicy.

For every rule, you must specify exactly one of the following standard actions.

  • aws:pass - Discontinues all inspection of the packet and permits it to go to its intended destination.
  • aws:drop - Discontinues all inspection of the packet and blocks it from going to its intended destination.
  • aws:forward_to_sfe - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection.

Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this Actions setting. For information about the options, see CustomAction.

To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom PublishMetrics action that you've named MyMetricsAction, then you could specify the standard action aws:pass and the custom action with [“aws:pass”, “MyMetricsAction”].

ruleDefinition_matchAttributes :: Lens' RuleDefinition MatchAttributes Source #

Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

ruleDefinition_actions :: Lens' RuleDefinition [Text] Source #

The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions.

Network Firewall only forwards a packet for stateful rule inspection if you specify aws:forward_to_sfe for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify aws:forward_to_sfe for the StatelessDefaultActions setting for the FirewallPolicy.

For every rule, you must specify exactly one of the following standard actions.

  • aws:pass - Discontinues all inspection of the packet and permits it to go to its intended destination.
  • aws:drop - Discontinues all inspection of the packet and blocks it from going to its intended destination.
  • aws:forward_to_sfe - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection.

Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this Actions setting. For information about the options, see CustomAction.

To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom PublishMetrics action that you've named MyMetricsAction, then you could specify the standard action aws:pass and the custom action with [“aws:pass”, “MyMetricsAction”].

RuleGroup

data RuleGroup Source #

The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow.

To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall.

See: newRuleGroup smart constructor.

Constructors

RuleGroup' 

Fields

Instances

Instances details
FromJSON RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

ToJSON RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

Generic RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

Associated Types

type Rep RuleGroup :: Type -> Type #

Read RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

Show RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

NFData RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

Methods

rnf :: RuleGroup -> () #

Eq RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

Hashable RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

type Rep RuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroup

type Rep RuleGroup = D1 ('MetaData "RuleGroup" "Amazonka.NetworkFirewall.Types.RuleGroup" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "referenceSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReferenceSets)) :*: S1 ('MetaSel ('Just "ruleVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleVariables))) :*: (S1 ('MetaSel ('Just "statefulRuleOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatefulRuleOptions)) :*: S1 ('MetaSel ('Just "rulesSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RulesSource))))

newRuleGroup Source #

Create a value of RuleGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:referenceSets:RuleGroup', ruleGroup_referenceSets - The list of a rule group's reference sets.

$sel:ruleVariables:RuleGroup', ruleGroup_ruleVariables - Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.

$sel:statefulRuleOptions:RuleGroup', ruleGroup_statefulRuleOptions - Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings.

$sel:rulesSource:RuleGroup', ruleGroup_rulesSource - The stateful rules or stateless rules for the rule group.

ruleGroup_referenceSets :: Lens' RuleGroup (Maybe ReferenceSets) Source #

The list of a rule group's reference sets.

ruleGroup_ruleVariables :: Lens' RuleGroup (Maybe RuleVariables) Source #

Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.

ruleGroup_statefulRuleOptions :: Lens' RuleGroup (Maybe StatefulRuleOptions) Source #

Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings.

ruleGroup_rulesSource :: Lens' RuleGroup RulesSource Source #

The stateful rules or stateless rules for the rule group.

RuleGroupMetadata

data RuleGroupMetadata Source #

High-level information about a rule group, returned by ListRuleGroups. You can use the information provided in the metadata to retrieve and manage a rule group.

See: newRuleGroupMetadata smart constructor.

Constructors

RuleGroupMetadata' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the rule group.

  • name :: Maybe Text

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

Instances

Instances details
FromJSON RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

Generic RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

Associated Types

type Rep RuleGroupMetadata :: Type -> Type #

Read RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

Show RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

NFData RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

Methods

rnf :: RuleGroupMetadata -> () #

Eq RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

Hashable RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

type Rep RuleGroupMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupMetadata

type Rep RuleGroupMetadata = D1 ('MetaData "RuleGroupMetadata" "Amazonka.NetworkFirewall.Types.RuleGroupMetadata" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleGroupMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRuleGroupMetadata :: RuleGroupMetadata Source #

Create a value of RuleGroupMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:RuleGroupMetadata', ruleGroupMetadata_arn - The Amazon Resource Name (ARN) of the rule group.

$sel:name:RuleGroupMetadata', ruleGroupMetadata_name - The descriptive name of the rule group. You can't change the name of a rule group after you create it.

ruleGroupMetadata_arn :: Lens' RuleGroupMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule group.

ruleGroupMetadata_name :: Lens' RuleGroupMetadata (Maybe Text) Source #

The descriptive name of the rule group. You can't change the name of a rule group after you create it.

RuleGroupResponse

data RuleGroupResponse Source #

The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

See: newRuleGroupResponse smart constructor.

Constructors

RuleGroupResponse' 

Fields

  • capacity :: Maybe Int

    The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

    You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

  • consumedCapacity :: Maybe Int

    The number of capacity units currently consumed by the rule group rules.

  • description :: Maybe Text

    A description of the rule group.

  • encryptionConfiguration :: Maybe EncryptionConfiguration

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

  • lastModifiedTime :: Maybe POSIX

    The last time that the rule group was changed.

  • numberOfAssociations :: Maybe Int

    The number of firewall policies that use this rule group.

  • ruleGroupStatus :: Maybe ResourceStatus

    Detailed information about the current status of a rule group.

  • snsTopic :: Maybe Text

    The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

  • sourceMetadata :: Maybe SourceMetadata

    A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

  • tags :: Maybe (NonEmpty Tag)

    The key:value pairs to associate with the resource.

  • type' :: Maybe RuleGroupType

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

  • ruleGroupArn :: Text

    The Amazon Resource Name (ARN) of the rule group.

    If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

  • ruleGroupName :: Text

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

  • ruleGroupId :: Text

    The unique identifier for the rule group.

Instances

Instances details
FromJSON RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Generic RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Associated Types

type Rep RuleGroupResponse :: Type -> Type #

Read RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Show RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

NFData RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Methods

rnf :: RuleGroupResponse -> () #

Eq RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Hashable RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

type Rep RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

type Rep RuleGroupResponse = D1 ('MetaData "RuleGroupResponse" "Amazonka.NetworkFirewall.Types.RuleGroupResponse" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleGroupResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "capacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "consumedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "numberOfAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "ruleGroupStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus))))) :*: ((S1 ('MetaSel ('Just "snsTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceMetadata)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleGroupType)) :*: S1 ('MetaSel ('Just "ruleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "ruleGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newRuleGroupResponse Source #

Create a value of RuleGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:capacity:RuleGroupResponse', ruleGroupResponse_capacity - The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

$sel:consumedCapacity:RuleGroupResponse', ruleGroupResponse_consumedCapacity - The number of capacity units currently consumed by the rule group rules.

$sel:description:RuleGroupResponse', ruleGroupResponse_description - A description of the rule group.

$sel:encryptionConfiguration:RuleGroupResponse', ruleGroupResponse_encryptionConfiguration - A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

$sel:lastModifiedTime:RuleGroupResponse', ruleGroupResponse_lastModifiedTime - The last time that the rule group was changed.

$sel:numberOfAssociations:RuleGroupResponse', ruleGroupResponse_numberOfAssociations - The number of firewall policies that use this rule group.

$sel:ruleGroupStatus:RuleGroupResponse', ruleGroupResponse_ruleGroupStatus - Detailed information about the current status of a rule group.

$sel:snsTopic:RuleGroupResponse', ruleGroupResponse_snsTopic - The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

$sel:sourceMetadata:RuleGroupResponse', ruleGroupResponse_sourceMetadata - A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

$sel:tags:RuleGroupResponse', ruleGroupResponse_tags - The key:value pairs to associate with the resource.

RuleGroupResponse, ruleGroupResponse_type - Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

$sel:ruleGroupArn:RuleGroupResponse', ruleGroupResponse_ruleGroupArn - The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

$sel:ruleGroupName:RuleGroupResponse', ruleGroupResponse_ruleGroupName - The descriptive name of the rule group. You can't change the name of a rule group after you create it.

$sel:ruleGroupId:RuleGroupResponse', ruleGroupResponse_ruleGroupId - The unique identifier for the rule group.

ruleGroupResponse_capacity :: Lens' RuleGroupResponse (Maybe Int) Source #

The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

ruleGroupResponse_consumedCapacity :: Lens' RuleGroupResponse (Maybe Int) Source #

The number of capacity units currently consumed by the rule group rules.

ruleGroupResponse_encryptionConfiguration :: Lens' RuleGroupResponse (Maybe EncryptionConfiguration) Source #

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

ruleGroupResponse_lastModifiedTime :: Lens' RuleGroupResponse (Maybe UTCTime) Source #

The last time that the rule group was changed.

ruleGroupResponse_numberOfAssociations :: Lens' RuleGroupResponse (Maybe Int) Source #

The number of firewall policies that use this rule group.

ruleGroupResponse_ruleGroupStatus :: Lens' RuleGroupResponse (Maybe ResourceStatus) Source #

Detailed information about the current status of a rule group.

ruleGroupResponse_snsTopic :: Lens' RuleGroupResponse (Maybe Text) Source #

The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

ruleGroupResponse_sourceMetadata :: Lens' RuleGroupResponse (Maybe SourceMetadata) Source #

A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

ruleGroupResponse_tags :: Lens' RuleGroupResponse (Maybe (NonEmpty Tag)) Source #

The key:value pairs to associate with the resource.

ruleGroupResponse_type :: Lens' RuleGroupResponse (Maybe RuleGroupType) Source #

Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

ruleGroupResponse_ruleGroupArn :: Lens' RuleGroupResponse Text Source #

The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

ruleGroupResponse_ruleGroupName :: Lens' RuleGroupResponse Text Source #

The descriptive name of the rule group. You can't change the name of a rule group after you create it.

ruleGroupResponse_ruleGroupId :: Lens' RuleGroupResponse Text Source #

The unique identifier for the rule group.

RuleOption

data RuleOption Source #

Additional settings for a stateful rule. This is part of the StatefulRule configuration.

See: newRuleOption smart constructor.

Constructors

RuleOption' 

Fields

Instances

Instances details
FromJSON RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

ToJSON RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

Generic RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

Associated Types

type Rep RuleOption :: Type -> Type #

Read RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

Show RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

NFData RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

Methods

rnf :: RuleOption -> () #

Eq RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

Hashable RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

type Rep RuleOption Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleOption

type Rep RuleOption = D1 ('MetaData "RuleOption" "Amazonka.NetworkFirewall.Types.RuleOption" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "keyword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRuleOption Source #

Create a value of RuleOption with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:settings:RuleOption', ruleOption_settings -

$sel:keyword:RuleOption', ruleOption_keyword -

RuleVariables

data RuleVariables Source #

Settings that are available for use in the rules in the RuleGroup where this is defined.

See: newRuleVariables smart constructor.

Constructors

RuleVariables' 

Fields

Instances

Instances details
FromJSON RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

ToJSON RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Generic RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Associated Types

type Rep RuleVariables :: Type -> Type #

Read RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Show RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

NFData RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Methods

rnf :: RuleVariables -> () #

Eq RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

Hashable RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

type Rep RuleVariables Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleVariables

type Rep RuleVariables = D1 ('MetaData "RuleVariables" "Amazonka.NetworkFirewall.Types.RuleVariables" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RuleVariables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iPSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IPSet))) :*: S1 ('MetaSel ('Just "portSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PortSet)))))

newRuleVariables :: RuleVariables Source #

Create a value of RuleVariables with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:iPSets:RuleVariables', ruleVariables_iPSets - A list of IP addresses and address ranges, in CIDR notation.

$sel:portSets:RuleVariables', ruleVariables_portSets - A list of port ranges.

ruleVariables_iPSets :: Lens' RuleVariables (Maybe (HashMap Text IPSet)) Source #

A list of IP addresses and address ranges, in CIDR notation.

RulesSource

data RulesSource Source #

The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single RulesSource. You can use an instance of this for either stateless rules or stateful rules.

See: newRulesSource smart constructor.

Constructors

RulesSource' 

Fields

  • rulesSourceList :: Maybe RulesSourceList

    Stateful inspection criteria for a domain list rule group.

  • rulesString :: Maybe Text

    Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

    These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

  • statefulRules :: Maybe [StatefulRule]

    An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

  • statelessRulesAndCustomActions :: Maybe StatelessRulesAndCustomActions

    Stateless inspection criteria to be used in a stateless rule group.

Instances

Instances details
FromJSON RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

ToJSON RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Generic RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Associated Types

type Rep RulesSource :: Type -> Type #

Read RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Show RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

NFData RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Methods

rnf :: RulesSource -> () #

Eq RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Hashable RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

type Rep RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

type Rep RulesSource = D1 ('MetaData "RulesSource" "Amazonka.NetworkFirewall.Types.RulesSource" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RulesSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rulesSourceList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RulesSourceList)) :*: S1 ('MetaSel ('Just "rulesString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statefulRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StatefulRule])) :*: S1 ('MetaSel ('Just "statelessRulesAndCustomActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatelessRulesAndCustomActions)))))

newRulesSource :: RulesSource Source #

Create a value of RulesSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:rulesSourceList:RulesSource', rulesSource_rulesSourceList - Stateful inspection criteria for a domain list rule group.

$sel:rulesString:RulesSource', rulesSource_rulesString - Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

$sel:statefulRules:RulesSource', rulesSource_statefulRules - An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

$sel:statelessRulesAndCustomActions:RulesSource', rulesSource_statelessRulesAndCustomActions - Stateless inspection criteria to be used in a stateless rule group.

rulesSource_rulesSourceList :: Lens' RulesSource (Maybe RulesSourceList) Source #

Stateful inspection criteria for a domain list rule group.

rulesSource_rulesString :: Lens' RulesSource (Maybe Text) Source #

Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

rulesSource_statefulRules :: Lens' RulesSource (Maybe [StatefulRule]) Source #

An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

rulesSource_statelessRulesAndCustomActions :: Lens' RulesSource (Maybe StatelessRulesAndCustomActions) Source #

Stateless inspection criteria to be used in a stateless rule group.

RulesSourceList

data RulesSourceList Source #

Stateful inspection criteria for a domain list rule group.

For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.

By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in Network Firewall in the Network Firewall Developer Guide.

See: newRulesSourceList smart constructor.

Constructors

RulesSourceList' 

Fields

  • targets :: [Text]

    The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:

    • Explicit names. For example, abc.example.com matches only the domain abc.example.com.
    • Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com.
  • targetTypes :: [TargetType]

    The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.

  • generatedRulesType :: GeneratedRulesType

    Whether you want to allow or deny access to the domains in your target list.

Instances

Instances details
FromJSON RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

ToJSON RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

Generic RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

Associated Types

type Rep RulesSourceList :: Type -> Type #

Read RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

Show RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

NFData RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

Methods

rnf :: RulesSourceList -> () #

Eq RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

Hashable RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

type Rep RulesSourceList Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSourceList

type Rep RulesSourceList = D1 ('MetaData "RulesSourceList" "Amazonka.NetworkFirewall.Types.RulesSourceList" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "RulesSourceList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "targetTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TargetType]) :*: S1 ('MetaSel ('Just "generatedRulesType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeneratedRulesType))))

newRulesSourceList Source #

Create a value of RulesSourceList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:targets:RulesSourceList', rulesSourceList_targets - The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:

  • Explicit names. For example, abc.example.com matches only the domain abc.example.com.
  • Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com.

$sel:targetTypes:RulesSourceList', rulesSourceList_targetTypes - The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.

$sel:generatedRulesType:RulesSourceList', rulesSourceList_generatedRulesType - Whether you want to allow or deny access to the domains in your target list.

rulesSourceList_targets :: Lens' RulesSourceList [Text] Source #

The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:

  • Explicit names. For example, abc.example.com matches only the domain abc.example.com.
  • Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com.

rulesSourceList_targetTypes :: Lens' RulesSourceList [TargetType] Source #

The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.

rulesSourceList_generatedRulesType :: Lens' RulesSourceList GeneratedRulesType Source #

Whether you want to allow or deny access to the domains in your target list.

SourceMetadata

data SourceMetadata Source #

High-level information about the managed rule group that your own rule group is copied from. You can use the the metadata to track version updates made to the originating rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

See: newSourceMetadata smart constructor.

Constructors

SourceMetadata' 

Fields

  • sourceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.

  • sourceUpdateToken :: Maybe Text

    The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.

Instances

Instances details
FromJSON SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

ToJSON SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

Generic SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

Associated Types

type Rep SourceMetadata :: Type -> Type #

Read SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

Show SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

NFData SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

Methods

rnf :: SourceMetadata -> () #

Eq SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

Hashable SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

type Rep SourceMetadata Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SourceMetadata

type Rep SourceMetadata = D1 ('MetaData "SourceMetadata" "Amazonka.NetworkFirewall.Types.SourceMetadata" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "SourceMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceUpdateToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSourceMetadata :: SourceMetadata Source #

Create a value of SourceMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceArn:SourceMetadata', sourceMetadata_sourceArn - The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.

$sel:sourceUpdateToken:SourceMetadata', sourceMetadata_sourceUpdateToken - The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.

sourceMetadata_sourceArn :: Lens' SourceMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.

sourceMetadata_sourceUpdateToken :: Lens' SourceMetadata (Maybe Text) Source #

The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.

StatefulEngineOptions

data StatefulEngineOptions Source #

Configuration settings for the handling of the stateful rule groups in a firewall policy.

See: newStatefulEngineOptions smart constructor.

Constructors

StatefulEngineOptions' 

Fields

  • ruleOrder :: Maybe RuleOrder

    Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

  • streamExceptionPolicy :: Maybe StreamExceptionPolicy

    Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.

    • DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
    • CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action.

Instances

Instances details
FromJSON StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

ToJSON StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

Generic StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

Associated Types

type Rep StatefulEngineOptions :: Type -> Type #

Read StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

Show StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

NFData StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

Methods

rnf :: StatefulEngineOptions -> () #

Eq StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

Hashable StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

type Rep StatefulEngineOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulEngineOptions

type Rep StatefulEngineOptions = D1 ('MetaData "StatefulEngineOptions" "Amazonka.NetworkFirewall.Types.StatefulEngineOptions" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatefulEngineOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleOrder)) :*: S1 ('MetaSel ('Just "streamExceptionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamExceptionPolicy))))

newStatefulEngineOptions :: StatefulEngineOptions Source #

Create a value of StatefulEngineOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ruleOrder:StatefulEngineOptions', statefulEngineOptions_ruleOrder - Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

$sel:streamExceptionPolicy:StatefulEngineOptions', statefulEngineOptions_streamExceptionPolicy - Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.

  • DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
  • CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action.

statefulEngineOptions_ruleOrder :: Lens' StatefulEngineOptions (Maybe RuleOrder) Source #

Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

statefulEngineOptions_streamExceptionPolicy :: Lens' StatefulEngineOptions (Maybe StreamExceptionPolicy) Source #

Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.

  • DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
  • CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action.

StatefulRule

data StatefulRule Source #

A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

See: newStatefulRule smart constructor.

Constructors

StatefulRule' 

Fields

  • action :: StatefulAction

    Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

    The actions for a stateful rule are defined as follows:

    • PASS - Permits the packets to go to the intended destination.
    • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.
    • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

      You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

  • header :: Header

    The stateful inspection criteria for this rule, used to inspect traffic flows.

  • ruleOptions :: [RuleOption]

    Additional options for the rule. These are the Suricata RuleOptions settings.

Instances

Instances details
FromJSON StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

ToJSON StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

Generic StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

Associated Types

type Rep StatefulRule :: Type -> Type #

Read StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

Show StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

NFData StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

Methods

rnf :: StatefulRule -> () #

Eq StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

Hashable StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

type Rep StatefulRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRule

type Rep StatefulRule = D1 ('MetaData "StatefulRule" "Amazonka.NetworkFirewall.Types.StatefulRule" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatefulRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatefulAction) :*: (S1 ('MetaSel ('Just "header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Header) :*: S1 ('MetaSel ('Just "ruleOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RuleOption]))))

newStatefulRule Source #

Create a value of StatefulRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:StatefulRule', statefulRule_action - Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.
  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.
  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

$sel:header:StatefulRule', statefulRule_header - The stateful inspection criteria for this rule, used to inspect traffic flows.

$sel:ruleOptions:StatefulRule', statefulRule_ruleOptions - Additional options for the rule. These are the Suricata RuleOptions settings.

statefulRule_action :: Lens' StatefulRule StatefulAction Source #

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.
  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.
  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

statefulRule_header :: Lens' StatefulRule Header Source #

The stateful inspection criteria for this rule, used to inspect traffic flows.

statefulRule_ruleOptions :: Lens' StatefulRule [RuleOption] Source #

Additional options for the rule. These are the Suricata RuleOptions settings.

StatefulRuleGroupOverride

data StatefulRuleGroupOverride Source #

The setting that allows the policy owner to change the behavior of the rule group within a policy.

See: newStatefulRuleGroupOverride smart constructor.

Constructors

StatefulRuleGroupOverride' 

Fields

  • action :: Maybe OverrideAction

    The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.

Instances

Instances details
FromJSON StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

ToJSON StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

Generic StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

Associated Types

type Rep StatefulRuleGroupOverride :: Type -> Type #

Read StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

Show StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

NFData StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

Eq StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

Hashable StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

type Rep StatefulRuleGroupOverride Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride

type Rep StatefulRuleGroupOverride = D1 ('MetaData "StatefulRuleGroupOverride" "Amazonka.NetworkFirewall.Types.StatefulRuleGroupOverride" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatefulRuleGroupOverride'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OverrideAction))))

newStatefulRuleGroupOverride :: StatefulRuleGroupOverride Source #

Create a value of StatefulRuleGroupOverride with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:action:StatefulRuleGroupOverride', statefulRuleGroupOverride_action - The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.

statefulRuleGroupOverride_action :: Lens' StatefulRuleGroupOverride (Maybe OverrideAction) Source #

The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.

StatefulRuleGroupReference

data StatefulRuleGroupReference Source #

Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.

See: newStatefulRuleGroupReference smart constructor.

Constructors

StatefulRuleGroupReference' 

Fields

  • override :: Maybe StatefulRuleGroupOverride

    The action that allows the policy owner to override the behavior of the rule group within a policy.

  • priority :: Maybe Natural

    An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

    Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

    You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the stateful rule group.

Instances

Instances details
FromJSON StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

ToJSON StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

Generic StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

Associated Types

type Rep StatefulRuleGroupReference :: Type -> Type #

Read StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

Show StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

NFData StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

Eq StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

Hashable StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

type Rep StatefulRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference

type Rep StatefulRuleGroupReference = D1 ('MetaData "StatefulRuleGroupReference" "Amazonka.NetworkFirewall.Types.StatefulRuleGroupReference" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatefulRuleGroupReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatefulRuleGroupOverride)) :*: (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStatefulRuleGroupReference Source #

Create a value of StatefulRuleGroupReference with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:override:StatefulRuleGroupReference', statefulRuleGroupReference_override - The action that allows the policy owner to override the behavior of the rule group within a policy.

$sel:priority:StatefulRuleGroupReference', statefulRuleGroupReference_priority - An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

$sel:resourceArn:StatefulRuleGroupReference', statefulRuleGroupReference_resourceArn - The Amazon Resource Name (ARN) of the stateful rule group.

statefulRuleGroupReference_override :: Lens' StatefulRuleGroupReference (Maybe StatefulRuleGroupOverride) Source #

The action that allows the policy owner to override the behavior of the rule group within a policy.

statefulRuleGroupReference_priority :: Lens' StatefulRuleGroupReference (Maybe Natural) Source #

An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

statefulRuleGroupReference_resourceArn :: Lens' StatefulRuleGroupReference Text Source #

The Amazon Resource Name (ARN) of the stateful rule group.

StatefulRuleOptions

data StatefulRuleOptions Source #

Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.

See: newStatefulRuleOptions smart constructor.

Constructors

StatefulRuleOptions' 

Fields

  • ruleOrder :: Maybe RuleOrder

    Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

Instances

Instances details
FromJSON StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

ToJSON StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

Generic StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

Associated Types

type Rep StatefulRuleOptions :: Type -> Type #

Read StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

Show StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

NFData StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

Methods

rnf :: StatefulRuleOptions -> () #

Eq StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

Hashable StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

type Rep StatefulRuleOptions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatefulRuleOptions

type Rep StatefulRuleOptions = D1 ('MetaData "StatefulRuleOptions" "Amazonka.NetworkFirewall.Types.StatefulRuleOptions" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatefulRuleOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleOrder))))

newStatefulRuleOptions :: StatefulRuleOptions Source #

Create a value of StatefulRuleOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ruleOrder:StatefulRuleOptions', statefulRuleOptions_ruleOrder - Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

statefulRuleOptions_ruleOrder :: Lens' StatefulRuleOptions (Maybe RuleOrder) Source #

Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

StatelessRule

data StatelessRule Source #

A single stateless rule. This is used in StatelessRulesAndCustomActions.

See: newStatelessRule smart constructor.

Constructors

StatelessRule' 

Fields

  • ruleDefinition :: RuleDefinition

    Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria.

  • priority :: Natural

    Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group.

    Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object.

    You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.

Instances

Instances details
FromJSON StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

ToJSON StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

Generic StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

Associated Types

type Rep StatelessRule :: Type -> Type #

Read StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

Show StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

NFData StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

Methods

rnf :: StatelessRule -> () #

Eq StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

Hashable StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

type Rep StatelessRule Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRule

type Rep StatelessRule = D1 ('MetaData "StatelessRule" "Amazonka.NetworkFirewall.Types.StatelessRule" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatelessRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleDefinition) :*: S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newStatelessRule Source #

Create a value of StatelessRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ruleDefinition:StatelessRule', statelessRule_ruleDefinition - Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria.

$sel:priority:StatelessRule', statelessRule_priority - Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group.

Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object.

You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.

statelessRule_ruleDefinition :: Lens' StatelessRule RuleDefinition Source #

Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria.

statelessRule_priority :: Lens' StatelessRule Natural Source #

Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group.

Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object.

You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.

StatelessRuleGroupReference

data StatelessRuleGroupReference Source #

Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group.

See: newStatelessRuleGroupReference smart constructor.

Constructors

StatelessRuleGroupReference' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the stateless rule group.

  • priority :: Natural

    An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

Instances

Instances details
FromJSON StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

ToJSON StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

Generic StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

Associated Types

type Rep StatelessRuleGroupReference :: Type -> Type #

Read StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

Show StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

NFData StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

Eq StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

Hashable StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

type Rep StatelessRuleGroupReference Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference

type Rep StatelessRuleGroupReference = D1 ('MetaData "StatelessRuleGroupReference" "Amazonka.NetworkFirewall.Types.StatelessRuleGroupReference" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatelessRuleGroupReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newStatelessRuleGroupReference Source #

Create a value of StatelessRuleGroupReference with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:StatelessRuleGroupReference', statelessRuleGroupReference_resourceArn - The Amazon Resource Name (ARN) of the stateless rule group.

$sel:priority:StatelessRuleGroupReference', statelessRuleGroupReference_priority - An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

statelessRuleGroupReference_resourceArn :: Lens' StatelessRuleGroupReference Text Source #

The Amazon Resource Name (ARN) of the stateless rule group.

statelessRuleGroupReference_priority :: Lens' StatelessRuleGroupReference Natural Source #

An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

StatelessRulesAndCustomActions

data StatelessRulesAndCustomActions Source #

Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.

See: newStatelessRulesAndCustomActions smart constructor.

Constructors

StatelessRulesAndCustomActions' 

Fields

  • customActions :: Maybe [CustomAction]

    Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition Actions specification.

  • statelessRules :: [StatelessRule]

    Defines the set of stateless rules for use in a stateless rule group.

Instances

Instances details
FromJSON StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

ToJSON StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

Generic StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

Associated Types

type Rep StatelessRulesAndCustomActions :: Type -> Type #

Read StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

Show StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

NFData StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

Eq StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

Hashable StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

type Rep StatelessRulesAndCustomActions Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions

type Rep StatelessRulesAndCustomActions = D1 ('MetaData "StatelessRulesAndCustomActions" "Amazonka.NetworkFirewall.Types.StatelessRulesAndCustomActions" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "StatelessRulesAndCustomActions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "customActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomAction])) :*: S1 ('MetaSel ('Just "statelessRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [StatelessRule])))

newStatelessRulesAndCustomActions :: StatelessRulesAndCustomActions Source #

Create a value of StatelessRulesAndCustomActions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:customActions:StatelessRulesAndCustomActions', statelessRulesAndCustomActions_customActions - Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition Actions specification.

$sel:statelessRules:StatelessRulesAndCustomActions', statelessRulesAndCustomActions_statelessRules - Defines the set of stateless rules for use in a stateless rule group.

statelessRulesAndCustomActions_customActions :: Lens' StatelessRulesAndCustomActions (Maybe [CustomAction]) Source #

Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition Actions specification.

statelessRulesAndCustomActions_statelessRules :: Lens' StatelessRulesAndCustomActions [StatelessRule] Source #

Defines the set of stateless rules for use in a stateless rule group.

SubnetMapping

data SubnetMapping Source #

The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

See: newSubnetMapping smart constructor.

Constructors

SubnetMapping' 

Fields

Instances

Instances details
FromJSON SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

ToJSON SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Generic SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Associated Types

type Rep SubnetMapping :: Type -> Type #

Read SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Show SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

NFData SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Methods

rnf :: SubnetMapping -> () #

Eq SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

Hashable SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

type Rep SubnetMapping Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SubnetMapping

type Rep SubnetMapping = D1 ('MetaData "SubnetMapping" "Amazonka.NetworkFirewall.Types.SubnetMapping" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "SubnetMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSubnetMapping Source #

Create a value of SubnetMapping with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subnetId:SubnetMapping', subnetMapping_subnetId - The unique identifier for the subnet.

subnetMapping_subnetId :: Lens' SubnetMapping Text Source #

The unique identifier for the subnet.

SyncState

data SyncState Source #

The status of the firewall endpoint and firewall policy configuration for a single VPC subnet.

For each VPC subnet that you associate with a firewall, Network Firewall does the following:

  • Instantiates a firewall endpoint in the subnet, ready to take traffic.
  • Configures the endpoint with the current firewall policy settings, to provide the filtering behavior for the endpoint.

When you update a firewall, for example to add a subnet association or change a rule group in the firewall policy, the affected sync states reflect out-of-sync or not ready status until the changes are complete.

See: newSyncState smart constructor.

Constructors

SyncState' 

Fields

  • attachment :: Maybe Attachment

    The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.

  • config :: Maybe (HashMap Text PerObjectStatus)

    The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.

Instances

Instances details
FromJSON SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

Generic SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

Associated Types

type Rep SyncState :: Type -> Type #

Read SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

Show SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

NFData SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

Methods

rnf :: SyncState -> () #

Eq SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

Hashable SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

type Rep SyncState Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.SyncState

type Rep SyncState = D1 ('MetaData "SyncState" "Amazonka.NetworkFirewall.Types.SyncState" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "SyncState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Attachment)) :*: S1 ('MetaSel ('Just "config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PerObjectStatus)))))

newSyncState :: SyncState Source #

Create a value of SyncState with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attachment:SyncState', syncState_attachment - The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.

$sel:config:SyncState', syncState_config - The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.

syncState_attachment :: Lens' SyncState (Maybe Attachment) Source #

The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.

syncState_config :: Lens' SyncState (Maybe (HashMap Text PerObjectStatus)) Source #

The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.

TCPFlagField

data TCPFlagField Source #

TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes settings.

See: newTCPFlagField smart constructor.

Constructors

TCPFlagField' 

Fields

  • masks :: Maybe [TCPFlag]

    The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

  • flags :: [TCPFlag]

    Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting.

    For the flags that are specified in the masks setting, the following must be true for the packet to match:

    • The ones that are set in this flags setting must be set in the packet.
    • The ones that are not set in this flags setting must also not be set in the packet.

Instances

Instances details
FromJSON TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

ToJSON TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Generic TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Associated Types

type Rep TCPFlagField :: Type -> Type #

Read TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Show TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

NFData TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Methods

rnf :: TCPFlagField -> () #

Eq TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

Hashable TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

type Rep TCPFlagField Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.TCPFlagField

type Rep TCPFlagField = D1 ('MetaData "TCPFlagField" "Amazonka.NetworkFirewall.Types.TCPFlagField" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "TCPFlagField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "masks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TCPFlag])) :*: S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TCPFlag])))

newTCPFlagField :: TCPFlagField Source #

Create a value of TCPFlagField with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:masks:TCPFlagField', tCPFlagField_masks - The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

$sel:flags:TCPFlagField', tCPFlagField_flags - Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting.

For the flags that are specified in the masks setting, the following must be true for the packet to match:

  • The ones that are set in this flags setting must be set in the packet.
  • The ones that are not set in this flags setting must also not be set in the packet.

tCPFlagField_masks :: Lens' TCPFlagField (Maybe [TCPFlag]) Source #

The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

tCPFlagField_flags :: Lens' TCPFlagField [TCPFlag] Source #

Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting.

For the flags that are specified in the masks setting, the following must be true for the packet to match:

  • The ones that are set in this flags setting must be set in the packet.
  • The ones that are not set in this flags setting must also not be set in the packet.

Tag

data Tag Source #

A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each Amazon Web Services resource.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

  • value :: Text

    The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.NetworkFirewall.Types.Tag" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:key:Tag', tag_key - The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

$sel:value:Tag', tag_value - The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

tag_key :: Lens' Tag Text Source #

The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

tag_value :: Lens' Tag Text Source #

The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.