Skip to content

CustomScenePolicyProps

Properties for defining a CustomScenePolicy.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.CustomScenePolicyProps {
    CreateTime: interface{},
    CustomScenePolicyName: interface{},
    EndTime: interface{},
    Objects: interface{},
    Template: interface{},
}

Properties

Name Type Description
CreateTime interface{} Property createTime: The time when the policy takes effect.
CustomScenePolicyName interface{} Property customScenePolicyName: The policy name.
EndTime interface{} Property endTime: The time when the policy expires.
Objects interface{} Property objects: The IDs of the websites that you want to associate with the policy.
Template interface{} Property template: The name of the policy template.

CreateTimeRequired

CreateTime interface{}
  • Type: interface{}

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

CustomScenePolicyName interface{}
  • Type: interface{}

Property customScenePolicyName: The policy name.


EndTimeRequired

EndTime interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

Separate multiple IDs with commas (,).


TemplateRequired

Template interface{}
  • Type: interface{}

Property template: The name of the policy template.

Valid value: promotion: major events.