Skip to content

SceneDefensePolicyProps

Properties for defining a SceneDefensePolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-scenedefensepolicy

Initializer

import ros_cdk_ddospro
ros_cdk_ddospro.SceneDefensePolicyProps(
  end_time: typing.Union[typing.Union[int, float], IResolvable],
  name: typing.Union[str, IResolvable],
  start_time: typing.Union[typing.Union[int, float], IResolvable],
  template: typing.Union[str, IResolvable]
)

Properties

Name Type Description
end_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property endTime: The end time of the policy.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the policy.
start_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property startTime: The start time of the policy.
template typing.Union[str, ros_cdk_core.IResolvable] Property template: The template of the policy.

end_timeRequired

end_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property endTime: The end time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


nameRequired

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of the policy.


start_timeRequired

start_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property startTime: The start time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


templateRequired

template: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property template: The template of the policy.

Valid values: promotion: important activity bypass: all traffic forwarded