UpdateRuleInput
¶
Source code in docs_src/capo_network_security_manager/types/update_rule_input.py
client_token
instance-attribute
¶
client_token: NotRequired[IdempotencyToken]
A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.
configuration
instance-attribute
¶
configuration: NotRequired[JsonDocument]
The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type. For an AWS WAF INSPECTION rule, provide an AWS WAF rule group. For an AWS WAF CONFIGURATION rule, provide a single web ACL setting, such as DefaultAction or VisibilityConfig; use wafConfigDataType to declare which setting the document contains. For the schema of each setting and complete examples, see Writing rule configurations in the AWS Network Security Manager Developer Guide.
is_published
instance-attribute
¶
is_published: IsPublished
Specifies whether to publish the resource. When true, the resource is saved in published (ACTIVE) state. When false, it is saved as a draft (DRAFT).
rule_description
instance-attribute
¶
rule_description: NotRequired[Description]
A description of the rule.
rule_identifier
instance-attribute
¶
rule_identifier: RuleIdentifier
The identifier of the rule. This is the rule's Amazon Resource Name (ARN).
rule_type
instance-attribute
¶
rule_type: NotRequired[RuleType]
The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.
update_token
instance-attribute
¶
update_token: UpdateToken
A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.