WafRuleProps
Properties for defining a WafRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-wafrule
Initializer
import ros_cdk_esa
ros_cdk_esa.WafRuleProps(
phase: typing.Union[str, IResolvable],
site_id: typing.Union[typing.Union[int, float], IResolvable],
config: typing.Union[IResolvable, ConfigProperty] = None,
ruleset_id: typing.Union[typing.Union[int, float], IResolvable] = None,
shared: typing.Union[IResolvable, SharedProperty] = None,
site_version: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
phase | typing.Union[str, ros_cdk_core.IResolvable] | Property phase: The version of the website. |
site_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteId: The website ID, which can be obtained by calling the ListSites operation. |
config | typing.Union[ros_cdk_core.IResolvable, ConfigProperty] | Property config: The configuration of the rule. |
ruleset_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation. |
shared | typing.Union[ros_cdk_core.IResolvable, SharedProperty] | Property shared: The configurations shared by multiple rules. |
site_version | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteVersion: The website ID, which can be obtained by calling the ListSites operation. |
phaseRequired
phase: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property phase: The version of the website.
site_idRequired
site_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteId: The website ID, which can be obtained by calling the ListSites operation.
configOptional
config: typing.Union[IResolvable, ConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, ConfigProperty]
Property config: The configuration of the rule.
ruleset_idOptional
ruleset_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation.
sharedOptional
shared: typing.Union[IResolvable, SharedProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, SharedProperty]
Property shared: The configurations shared by multiple rules.
site_versionOptional
site_version: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteVersion: The website ID, which can be obtained by calling the ListSites operation.