Class: Aws::WAFV2::Types::ManagedRuleSetVersion

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafv2/types.rb

Overview

Information for a single version of a managed rule set.

<note markdown=“1”> 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`.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_rule_group_arnString

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

Returns:

  • (String)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#capacityInteger

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. For more information, see [WAF web ACL capacity units (WCU)] in the *WAF Developer Guide*.

[1]: docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html

Returns:

  • (Integer)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#expiry_timestampTime

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”.

Returns:

  • (Time)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#forecasted_lifetimeInteger

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

Returns:

  • (Integer)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#last_update_timestampTime

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”.

Returns:

  • (Time)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#publish_timestampTime

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”.

Returns:

  • (Time)


5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
# File 'lib/aws-sdk-wafv2/types.rb', line 5840

class ManagedRuleSetVersion < Struct.new(
  :associated_rule_group_arn,
  :capacity,
  :forecasted_lifetime,
  :publish_timestamp,
  :last_update_timestamp,
  :expiry_timestamp)
  SENSITIVE = []
  include Aws::Structure
end