Skip to content

SceneDefensePolicyProps

Properties for defining a SceneDefensePolicy.

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

Initializer

import { SceneDefensePolicyProps } from '@alicloud/ros-cdk-ddospro'
const sceneDefensePolicyProps: SceneDefensePolicyProps = { ... }

Properties

Name Type Description
endTime number | @alicloud/ros-cdk-core.IResolvable Property endTime: The end time of the policy.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the policy.
startTime number | @alicloud/ros-cdk-core.IResolvable Property startTime: The start time of the policy.
template string | @alicloud/ros-cdk-core.IResolvable Property template: The template of the policy.

endTimeRequired

public readonly endTime: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property endTime: The end time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of the policy.


startTimeRequired

public readonly startTime: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property startTime: The start time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


templateRequired

public readonly template: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property template: The template of the policy.

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