amazonka-wafv2-2.0: Amazon WAFV2 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.WAFV2.Types.ManagedRuleSetVersion

Description

 
Synopsis

Documentation

data ManagedRuleSetVersion Source #

Information for a single version of a managed rule set.

This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.

Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.

See: newManagedRuleSetVersion smart constructor.

Constructors

ManagedRuleSetVersion' 

Fields

  • associatedRuleGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.

  • capacity :: Maybe Natural

    The web ACL capacity units (WCUs) required for this rule group.

    WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.

  • expiryTimestamp :: Maybe POSIX

    The time that this version is set to expire.

    Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

  • forecastedLifetime :: Maybe Natural

    The amount of time you expect this version of your managed rule group to last, in days.

  • lastUpdateTimestamp :: Maybe POSIX

    The last time that you updated this version.

    Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

  • publishTimestamp :: Maybe POSIX

    The time that you first published this version.

    Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

Instances

Instances details
FromJSON ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

Generic ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

Associated Types

type Rep ManagedRuleSetVersion :: Type -> Type #

Read ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

Show ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

NFData ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

Methods

rnf :: ManagedRuleSetVersion -> () #

Eq ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

Hashable ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

type Rep ManagedRuleSetVersion Source # 
Instance details

Defined in Amazonka.WAFV2.Types.ManagedRuleSetVersion

type Rep ManagedRuleSetVersion = D1 ('MetaData "ManagedRuleSetVersion" "Amazonka.WAFV2.Types.ManagedRuleSetVersion" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ManagedRuleSetVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associatedRuleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "capacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "expiryTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "forecastedLifetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "lastUpdateTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "publishTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newManagedRuleSetVersion :: ManagedRuleSetVersion Source #

Create a value of ManagedRuleSetVersion 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:associatedRuleGroupArn:ManagedRuleSetVersion', managedRuleSetVersion_associatedRuleGroupArn - The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.

$sel:capacity:ManagedRuleSetVersion', managedRuleSetVersion_capacity - The web ACL capacity units (WCUs) required for this rule group.

WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.

$sel:expiryTimestamp:ManagedRuleSetVersion', managedRuleSetVersion_expiryTimestamp - The time that this version is set to expire.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

$sel:forecastedLifetime:ManagedRuleSetVersion', managedRuleSetVersion_forecastedLifetime - The amount of time you expect this version of your managed rule group to last, in days.

$sel:lastUpdateTimestamp:ManagedRuleSetVersion', managedRuleSetVersion_lastUpdateTimestamp - The last time that you updated this version.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

$sel:publishTimestamp:ManagedRuleSetVersion', managedRuleSetVersion_publishTimestamp - The time that you first published this version.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

managedRuleSetVersion_associatedRuleGroupArn :: Lens' ManagedRuleSetVersion (Maybe Text) Source #

The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.

managedRuleSetVersion_capacity :: Lens' ManagedRuleSetVersion (Maybe Natural) Source #

The web ACL capacity units (WCUs) required for this rule group.

WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.

managedRuleSetVersion_expiryTimestamp :: Lens' ManagedRuleSetVersion (Maybe UTCTime) Source #

The time that this version is set to expire.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

managedRuleSetVersion_forecastedLifetime :: Lens' ManagedRuleSetVersion (Maybe Natural) Source #

The amount of time you expect this version of your managed rule group to last, in days.

managedRuleSetVersion_lastUpdateTimestamp :: Lens' ManagedRuleSetVersion (Maybe UTCTime) Source #

The last time that you updated this version.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

managedRuleSetVersion_publishTimestamp :: Lens' ManagedRuleSetVersion (Maybe UTCTime) Source #

The time that you first published this version.

Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".