Skip to content

CustomScenePolicyProps

Properties for defining a CustomScenePolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-customscenepolicy

Initializer

import { CustomScenePolicyProps } from '@alicloud/ros-cdk-esa'
const customScenePolicyProps: CustomScenePolicyProps = { ... }

Properties

Name Type Description
createTime string | @alicloud/ros-cdk-core.IResolvable Property createTime: The time when the policy takes effect.
customScenePolicyName string | @alicloud/ros-cdk-core.IResolvable Property customScenePolicyName: The policy name.
endTime string | @alicloud/ros-cdk-core.IResolvable Property endTime: The time when the policy expires.
objects string | @alicloud/ros-cdk-core.IResolvable Property objects: The IDs of the websites that you want to associate with the policy.
template string | @alicloud/ros-cdk-core.IResolvable Property template: The name of the policy template.

createTimeRequired

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

Property createTime: The time when the policy takes effect.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


customScenePolicyNameRequired

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

Property customScenePolicyName: The policy name.


endTimeRequired

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

Property endTime: The time when the policy expires.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


objectsRequired

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

Property objects: The IDs of the websites that you want to associate with the policy.

Separate multiple IDs with commas (,).


templateRequired

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

Property template: The name of the policy template.

Valid value: promotion: major events.