Skip to content

CommandProps

Properties for defining a Command.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-command

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.CommandProps {
    CommandId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
CommandId interface{} Property commandId: Command ID.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

CommandIdRequired

CommandId interface{}
  • Type: interface{}

Property commandId: Command ID.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.