Skip to content

CustomScenePolicyProps

Properties for defining a CustomScenePolicy.

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

Initializer

import ros_cdk_esa
ros_cdk_esa.CustomScenePolicyProps(
  create_time: typing.Union[str, IResolvable],
  custom_scene_policy_name: typing.Union[str, IResolvable],
  end_time: typing.Union[str, IResolvable],
  objects: typing.Union[str, IResolvable],
  template: typing.Union[str, IResolvable]
)

Properties

Name Type Description
create_time typing.Union[str, ros_cdk_core.IResolvable] Property createTime: The time when the policy takes effect.
custom_scene_policy_name typing.Union[str, ros_cdk_core.IResolvable] Property customScenePolicyName: The policy name.
end_time typing.Union[str, ros_cdk_core.IResolvable] Property endTime: The time when the policy expires.
objects typing.Union[str, ros_cdk_core.IResolvable] Property objects: The IDs of the websites that you want to associate with the policy.
template typing.Union[str, ros_cdk_core.IResolvable] Property template: The name of the policy template.

create_timeRequired

create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


custom_scene_policy_nameRequired

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

Property customScenePolicyName: The policy name.


end_timeRequired

end_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

objects: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

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

Property template: The name of the policy template.

Valid value: promotion: major events.