1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. ecs
  6. Invocation
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Cloud Assistant is a native automated operations tool developed by Volcano Engine. You can create jobs for immediate, periodic, or scheduled execution. After creation, the Cloud Assistant client automatically starts execution according to the execution mode.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const invocationDemo = new volcenginecc.ecs.Invocation("InvocationDemo", {
        invocationName: "InvocationDemo",
        invocationDescription: "InvocationDemo desc",
        workingDir: "/home",
        username: "InvocationDemo",
        windowsPassword: "********",
        timeout: 60,
        instanceIds: ["i-ye2v6l0pvkqc6inxxxxx"],
        repeatMode: "Rate",
        frequency: "1h",
        launchTime: "2025-08-30T11:10Z",
        recurrenceEndTime: "2025-08-31T11:04Z",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
        commandId: "cmd-ye28kugp249tzrexxxxx",
        parameters: "{\"dirname\":\"10\"}",
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    invocation_demo = volcenginecc.ecs.Invocation("InvocationDemo",
        invocation_name="InvocationDemo",
        invocation_description="InvocationDemo desc",
        working_dir="/home",
        username="InvocationDemo",
        windows_password="********",
        timeout=60,
        instance_ids=["i-ye2v6l0pvkqc6inxxxxx"],
        repeat_mode="Rate",
        frequency="1h",
        launch_time="2025-08-30T11:10Z",
        recurrence_end_time="2025-08-31T11:04Z",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }],
        command_id="cmd-ye28kugp249tzrexxxxx",
        parameters="{\"dirname\":\"10\"}")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/ecs"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ecs.NewInvocation(ctx, "InvocationDemo", &ecs.InvocationArgs{
    			InvocationName:        pulumi.String("InvocationDemo"),
    			InvocationDescription: pulumi.String("InvocationDemo desc"),
    			WorkingDir:            pulumi.String("/home"),
    			Username:              pulumi.String("InvocationDemo"),
    			WindowsPassword:       pulumi.String("********"),
    			Timeout:               pulumi.Int(60),
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("i-ye2v6l0pvkqc6inxxxxx"),
    			},
    			RepeatMode:        pulumi.String("Rate"),
    			Frequency:         pulumi.String("1h"),
    			LaunchTime:        pulumi.String("2025-08-30T11:10Z"),
    			RecurrenceEndTime: pulumi.String("2025-08-31T11:04Z"),
    			ProjectName:       pulumi.String("default"),
    			Tags: ecs.InvocationTagArray{
    				&ecs.InvocationTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    			CommandId:  pulumi.String("cmd-ye28kugp249tzrexxxxx"),
    			Parameters: pulumi.String("{\"dirname\":\"10\"}"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var invocationDemo = new Volcenginecc.Ecs.Invocation("InvocationDemo", new()
        {
            InvocationName = "InvocationDemo",
            InvocationDescription = "InvocationDemo desc",
            WorkingDir = "/home",
            Username = "InvocationDemo",
            WindowsPassword = "********",
            Timeout = 60,
            InstanceIds = new[]
            {
                "i-ye2v6l0pvkqc6inxxxxx",
            },
            RepeatMode = "Rate",
            Frequency = "1h",
            LaunchTime = "2025-08-30T11:10Z",
            RecurrenceEndTime = "2025-08-31T11:04Z",
            ProjectName = "default",
            Tags = new[]
            {
                new Volcenginecc.Ecs.Inputs.InvocationTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
            CommandId = "cmd-ye28kugp249tzrexxxxx",
            Parameters = "{\"dirname\":\"10\"}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.ecs.Invocation;
    import com.volcengine.volcenginecc.ecs.InvocationArgs;
    import com.pulumi.volcenginecc.ecs.inputs.InvocationTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var invocationDemo = new Invocation("invocationDemo", InvocationArgs.builder()
                .invocationName("InvocationDemo")
                .invocationDescription("InvocationDemo desc")
                .workingDir("/home")
                .username("InvocationDemo")
                .windowsPassword("********")
                .timeout(60)
                .instanceIds("i-ye2v6l0pvkqc6inxxxxx")
                .repeatMode("Rate")
                .frequency("1h")
                .launchTime("2025-08-30T11:10Z")
                .recurrenceEndTime("2025-08-31T11:04Z")
                .projectName("default")
                .tags(InvocationTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .commandId("cmd-ye28kugp249tzrexxxxx")
                .parameters("{\"dirname\":\"10\"}")
                .build());
    
        }
    }
    
    resources:
      invocationDemo:
        type: volcenginecc:ecs:Invocation
        name: InvocationDemo
        properties:
          invocationName: InvocationDemo
          invocationDescription: InvocationDemo desc
          workingDir: /home
          username: InvocationDemo
          windowsPassword: '********'
          timeout: 60
          instanceIds:
            - i-ye2v6l0pvkqc6inxxxxx
          repeatMode: Rate
          frequency: 1h
          launchTime: 2025-08-30T11:10Z
          recurrenceEndTime: 2025-08-31T11:04Z
          projectName: default
          tags:
            - key: env
              value: test
          commandId: cmd-ye28kugp249tzrexxxxx
          parameters: '{"dirname":"10"}'
    

    Create Invocation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Invocation(name: string, args: InvocationArgs, opts?: CustomResourceOptions);
    @overload
    def Invocation(resource_name: str,
                   args: InvocationArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Invocation(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   invocation_name: Optional[str] = None,
                   command_id: Optional[str] = None,
                   instance_ids: Optional[Sequence[str]] = None,
                   parameters: Optional[str] = None,
                   invocation_description: Optional[str] = None,
                   launch_time: Optional[str] = None,
                   frequency: Optional[str] = None,
                   project_name: Optional[str] = None,
                   recurrence_end_time: Optional[str] = None,
                   repeat_mode: Optional[str] = None,
                   tags: Optional[Sequence[InvocationTagArgs]] = None,
                   timeout: Optional[int] = None,
                   username: Optional[str] = None,
                   windows_password: Optional[str] = None,
                   working_dir: Optional[str] = None)
    func NewInvocation(ctx *Context, name string, args InvocationArgs, opts ...ResourceOption) (*Invocation, error)
    public Invocation(string name, InvocationArgs args, CustomResourceOptions? opts = null)
    public Invocation(String name, InvocationArgs args)
    public Invocation(String name, InvocationArgs args, CustomResourceOptions options)
    
    type: volcenginecc:ecs:Invocation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InvocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InvocationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InvocationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InvocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InvocationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Invocation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Invocation resource accepts the following input properties:

    CommandId string
    Command ID.
    InstanceIds List<string>
    Instance ID list, supports up to 200 IDs.
    InvocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    Frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    InvocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    LaunchTime string
    Execution time.
    Parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    ProjectName string
    Project to which the resource belongs; each resource can belong to only one project.
    RecurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    RepeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    Tags List<Volcengine.InvocationTag>
    Timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    Username string
    User name for executing the command in the ECS instance.
    WindowsPassword string
    Password for custom Windows user.
    WorkingDir string
    Directory where the created command runs in the ECS instance.
    CommandId string
    Command ID.
    InstanceIds []string
    Instance ID list, supports up to 200 IDs.
    InvocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    Frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    InvocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    LaunchTime string
    Execution time.
    Parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    ProjectName string
    Project to which the resource belongs; each resource can belong to only one project.
    RecurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    RepeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    Tags []InvocationTagArgs
    Timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    Username string
    User name for executing the command in the ECS instance.
    WindowsPassword string
    Password for custom Windows user.
    WorkingDir string
    Directory where the created command runs in the ECS instance.
    commandId String
    Command ID.
    instanceIds List<String>
    Instance ID list, supports up to 200 IDs.
    invocationName String
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    frequency String
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    invocationDescription String
    Job description. Defaults to an empty string and must not exceed 256 characters.
    launchTime String
    Execution time.
    parameters String
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName String
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime String
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode String
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    tags List<InvocationTag>
    timeout Integer
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username String
    User name for executing the command in the ECS instance.
    windowsPassword String
    Password for custom Windows user.
    workingDir String
    Directory where the created command runs in the ECS instance.
    commandId string
    Command ID.
    instanceIds string[]
    Instance ID list, supports up to 200 IDs.
    invocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    invocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    launchTime string
    Execution time.
    parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName string
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    tags InvocationTag[]
    timeout number
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username string
    User name for executing the command in the ECS instance.
    windowsPassword string
    Password for custom Windows user.
    workingDir string
    Directory where the created command runs in the ECS instance.
    command_id str
    Command ID.
    instance_ids Sequence[str]
    Instance ID list, supports up to 200 IDs.
    invocation_name str
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    frequency str
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    invocation_description str
    Job description. Defaults to an empty string and must not exceed 256 characters.
    launch_time str
    Execution time.
    parameters str
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    project_name str
    Project to which the resource belongs; each resource can belong to only one project.
    recurrence_end_time str
    Cycle end time, applicable only to periodic tasks (Rate).
    repeat_mode str
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    tags Sequence[InvocationTagArgs]
    timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username str
    User name for executing the command in the ECS instance.
    windows_password str
    Password for custom Windows user.
    working_dir str
    Directory where the created command runs in the ECS instance.
    commandId String
    Command ID.
    instanceIds List<String>
    Instance ID list, supports up to 200 IDs.
    invocationName String
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    frequency String
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    invocationDescription String
    Job description. Defaults to an empty string and must not exceed 256 characters.
    launchTime String
    Execution time.
    parameters String
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName String
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime String
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode String
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    tags List<Property Map>
    timeout Number
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username String
    User name for executing the command in the ECS instance.
    windowsPassword String
    Password for custom Windows user.
    workingDir String
    Directory where the created command runs in the ECS instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Invocation resource produces the following output properties:

    CommandContent string
    Command content.
    CommandDescription string
    Description of the invoked command.
    CommandName string
    Command name when the task is triggered.
    CommandProvider string
    Provider of the invoked command.
    CommandType string
    Command type triggered by the job.
    EnableParameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    EndTime string
    Task end time.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceNumber int
    Number of instances executed.
    InvocationId string
    Task execution ID.
    InvocationResults List<Volcengine.InvocationInvocationResult>
    InvocationStatus string
    Overall execution status of the command.
    ParameterDefinitions List<Volcengine.InvocationParameterDefinition>
    StartTime string
    Task start time.
    CommandContent string
    Command content.
    CommandDescription string
    Description of the invoked command.
    CommandName string
    Command name when the task is triggered.
    CommandProvider string
    Provider of the invoked command.
    CommandType string
    Command type triggered by the job.
    EnableParameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    EndTime string
    Task end time.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceNumber int
    Number of instances executed.
    InvocationId string
    Task execution ID.
    InvocationResults []InvocationInvocationResult
    InvocationStatus string
    Overall execution status of the command.
    ParameterDefinitions []InvocationParameterDefinition
    StartTime string
    Task start time.
    commandContent String
    Command content.
    commandDescription String
    Description of the invoked command.
    commandName String
    Command name when the task is triggered.
    commandProvider String
    Provider of the invoked command.
    commandType String
    Command type triggered by the job.
    enableParameter Boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime String
    Task end time.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceNumber Integer
    Number of instances executed.
    invocationId String
    Task execution ID.
    invocationResults List<InvocationInvocationResult>
    invocationStatus String
    Overall execution status of the command.
    parameterDefinitions List<InvocationParameterDefinition>
    startTime String
    Task start time.
    commandContent string
    Command content.
    commandDescription string
    Description of the invoked command.
    commandName string
    Command name when the task is triggered.
    commandProvider string
    Provider of the invoked command.
    commandType string
    Command type triggered by the job.
    enableParameter boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime string
    Task end time.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceNumber number
    Number of instances executed.
    invocationId string
    Task execution ID.
    invocationResults InvocationInvocationResult[]
    invocationStatus string
    Overall execution status of the command.
    parameterDefinitions InvocationParameterDefinition[]
    startTime string
    Task start time.
    command_content str
    Command content.
    command_description str
    Description of the invoked command.
    command_name str
    Command name when the task is triggered.
    command_provider str
    Provider of the invoked command.
    command_type str
    Command type triggered by the job.
    enable_parameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    end_time str
    Task end time.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_number int
    Number of instances executed.
    invocation_id str
    Task execution ID.
    invocation_results Sequence[InvocationInvocationResult]
    invocation_status str
    Overall execution status of the command.
    parameter_definitions Sequence[InvocationParameterDefinition]
    start_time str
    Task start time.
    commandContent String
    Command content.
    commandDescription String
    Description of the invoked command.
    commandName String
    Command name when the task is triggered.
    commandProvider String
    Provider of the invoked command.
    commandType String
    Command type triggered by the job.
    enableParameter Boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime String
    Task end time.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceNumber Number
    Number of instances executed.
    invocationId String
    Task execution ID.
    invocationResults List<Property Map>
    invocationStatus String
    Overall execution status of the command.
    parameterDefinitions List<Property Map>
    startTime String
    Task start time.

    Look up Existing Invocation Resource

    Get an existing Invocation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InvocationState, opts?: CustomResourceOptions): Invocation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            command_content: Optional[str] = None,
            command_description: Optional[str] = None,
            command_id: Optional[str] = None,
            command_name: Optional[str] = None,
            command_provider: Optional[str] = None,
            command_type: Optional[str] = None,
            enable_parameter: Optional[bool] = None,
            end_time: Optional[str] = None,
            frequency: Optional[str] = None,
            instance_ids: Optional[Sequence[str]] = None,
            instance_number: Optional[int] = None,
            invocation_description: Optional[str] = None,
            invocation_id: Optional[str] = None,
            invocation_name: Optional[str] = None,
            invocation_results: Optional[Sequence[InvocationInvocationResultArgs]] = None,
            invocation_status: Optional[str] = None,
            launch_time: Optional[str] = None,
            parameter_definitions: Optional[Sequence[InvocationParameterDefinitionArgs]] = None,
            parameters: Optional[str] = None,
            project_name: Optional[str] = None,
            recurrence_end_time: Optional[str] = None,
            repeat_mode: Optional[str] = None,
            start_time: Optional[str] = None,
            tags: Optional[Sequence[InvocationTagArgs]] = None,
            timeout: Optional[int] = None,
            username: Optional[str] = None,
            windows_password: Optional[str] = None,
            working_dir: Optional[str] = None) -> Invocation
    func GetInvocation(ctx *Context, name string, id IDInput, state *InvocationState, opts ...ResourceOption) (*Invocation, error)
    public static Invocation Get(string name, Input<string> id, InvocationState? state, CustomResourceOptions? opts = null)
    public static Invocation get(String name, Output<String> id, InvocationState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:ecs:Invocation    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CommandContent string
    Command content.
    CommandDescription string
    Description of the invoked command.
    CommandId string
    Command ID.
    CommandName string
    Command name when the task is triggered.
    CommandProvider string
    Provider of the invoked command.
    CommandType string
    Command type triggered by the job.
    EnableParameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    EndTime string
    Task end time.
    Frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    InstanceIds List<string>
    Instance ID list, supports up to 200 IDs.
    InstanceNumber int
    Number of instances executed.
    InvocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    InvocationId string
    Task execution ID.
    InvocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    InvocationResults List<Volcengine.InvocationInvocationResult>
    InvocationStatus string
    Overall execution status of the command.
    LaunchTime string
    Execution time.
    ParameterDefinitions List<Volcengine.InvocationParameterDefinition>
    Parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    ProjectName string
    Project to which the resource belongs; each resource can belong to only one project.
    RecurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    RepeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    StartTime string
    Task start time.
    Tags List<Volcengine.InvocationTag>
    Timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    Username string
    User name for executing the command in the ECS instance.
    WindowsPassword string
    Password for custom Windows user.
    WorkingDir string
    Directory where the created command runs in the ECS instance.
    CommandContent string
    Command content.
    CommandDescription string
    Description of the invoked command.
    CommandId string
    Command ID.
    CommandName string
    Command name when the task is triggered.
    CommandProvider string
    Provider of the invoked command.
    CommandType string
    Command type triggered by the job.
    EnableParameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    EndTime string
    Task end time.
    Frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    InstanceIds []string
    Instance ID list, supports up to 200 IDs.
    InstanceNumber int
    Number of instances executed.
    InvocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    InvocationId string
    Task execution ID.
    InvocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    InvocationResults []InvocationInvocationResultArgs
    InvocationStatus string
    Overall execution status of the command.
    LaunchTime string
    Execution time.
    ParameterDefinitions []InvocationParameterDefinitionArgs
    Parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    ProjectName string
    Project to which the resource belongs; each resource can belong to only one project.
    RecurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    RepeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    StartTime string
    Task start time.
    Tags []InvocationTagArgs
    Timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    Username string
    User name for executing the command in the ECS instance.
    WindowsPassword string
    Password for custom Windows user.
    WorkingDir string
    Directory where the created command runs in the ECS instance.
    commandContent String
    Command content.
    commandDescription String
    Description of the invoked command.
    commandId String
    Command ID.
    commandName String
    Command name when the task is triggered.
    commandProvider String
    Provider of the invoked command.
    commandType String
    Command type triggered by the job.
    enableParameter Boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime String
    Task end time.
    frequency String
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    instanceIds List<String>
    Instance ID list, supports up to 200 IDs.
    instanceNumber Integer
    Number of instances executed.
    invocationDescription String
    Job description. Defaults to an empty string and must not exceed 256 characters.
    invocationId String
    Task execution ID.
    invocationName String
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    invocationResults List<InvocationInvocationResult>
    invocationStatus String
    Overall execution status of the command.
    launchTime String
    Execution time.
    parameterDefinitions List<InvocationParameterDefinition>
    parameters String
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName String
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime String
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode String
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    startTime String
    Task start time.
    tags List<InvocationTag>
    timeout Integer
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username String
    User name for executing the command in the ECS instance.
    windowsPassword String
    Password for custom Windows user.
    workingDir String
    Directory where the created command runs in the ECS instance.
    commandContent string
    Command content.
    commandDescription string
    Description of the invoked command.
    commandId string
    Command ID.
    commandName string
    Command name when the task is triggered.
    commandProvider string
    Provider of the invoked command.
    commandType string
    Command type triggered by the job.
    enableParameter boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime string
    Task end time.
    frequency string
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    instanceIds string[]
    Instance ID list, supports up to 200 IDs.
    instanceNumber number
    Number of instances executed.
    invocationDescription string
    Job description. Defaults to an empty string and must not exceed 256 characters.
    invocationId string
    Task execution ID.
    invocationName string
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    invocationResults InvocationInvocationResult[]
    invocationStatus string
    Overall execution status of the command.
    launchTime string
    Execution time.
    parameterDefinitions InvocationParameterDefinition[]
    parameters string
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName string
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime string
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode string
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    startTime string
    Task start time.
    tags InvocationTag[]
    timeout number
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username string
    User name for executing the command in the ECS instance.
    windowsPassword string
    Password for custom Windows user.
    workingDir string
    Directory where the created command runs in the ECS instance.
    command_content str
    Command content.
    command_description str
    Description of the invoked command.
    command_id str
    Command ID.
    command_name str
    Command name when the task is triggered.
    command_provider str
    Provider of the invoked command.
    command_type str
    Command type triggered by the job.
    enable_parameter bool
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    end_time str
    Task end time.
    frequency str
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    instance_ids Sequence[str]
    Instance ID list, supports up to 200 IDs.
    instance_number int
    Number of instances executed.
    invocation_description str
    Job description. Defaults to an empty string and must not exceed 256 characters.
    invocation_id str
    Task execution ID.
    invocation_name str
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    invocation_results Sequence[InvocationInvocationResultArgs]
    invocation_status str
    Overall execution status of the command.
    launch_time str
    Execution time.
    parameter_definitions Sequence[InvocationParameterDefinitionArgs]
    parameters str
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    project_name str
    Project to which the resource belongs; each resource can belong to only one project.
    recurrence_end_time str
    Cycle end time, applicable only to periodic tasks (Rate).
    repeat_mode str
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    start_time str
    Task start time.
    tags Sequence[InvocationTagArgs]
    timeout int
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username str
    User name for executing the command in the ECS instance.
    windows_password str
    Password for custom Windows user.
    working_dir str
    Directory where the created command runs in the ECS instance.
    commandContent String
    Command content.
    commandDescription String
    Description of the invoked command.
    commandId String
    Command ID.
    commandName String
    Command name when the task is triggered.
    commandProvider String
    Provider of the invoked command.
    commandType String
    Command type triggered by the job.
    enableParameter Boolean
    Whether the invoked command uses custom parameters. true: enabled. false: not enabled.
    endTime String
    Task end time.
    frequency String
    Execution frequency. This parameter is required when RepeatMode=Rate. Format: \n\n\n\n. Interval units supported: minutes (5m–60m), hours (1h–24h), and days (1d–7d). The interval is based on a fixed frequency and is independent of the actual job execution time. After job creation, it executes once based on LaunchTime, and the next execution time is determined by the interval setting.
    instanceIds List<String>
    Instance ID list, supports up to 200 IDs.
    instanceNumber Number
    Number of instances executed.
    invocationDescription String
    Job description. Defaults to an empty string and must not exceed 256 characters.
    invocationId String
    Task execution ID.
    invocationName String
    Job name. Maximum 64 characters. No restriction on special characters. Job names can be duplicated within the same region.
    invocationResults List<Property Map>
    invocationStatus String
    Overall execution status of the command.
    launchTime String
    Execution time.
    parameterDefinitions List<Property Map>
    parameters String
    When the command includes custom parameters, use this parameter to pass custom parameter key-value pairs. The number of custom parameters ranges from 0 to 60. Key cannot be an empty string and supports up to 64 characters. Value can be an empty string. The combined length of custom parameters and original command content after Base64 encoding must not exceed 16 KB. The set of custom parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
    projectName String
    Project to which the resource belongs; each resource can belong to only one project.
    recurrenceEndTime String
    Cycle end time, applicable only to periodic tasks (Rate).
    repeatMode String
    Set the command execution mode. Once: Default, executes the command immediately. Rate: Executes the command periodically; specify the execution cycle using the Frequency parameter and Rate expression. Fixed: Executes the command at a scheduled time; specify the execution time using the LaunchTime parameter.
    startTime String
    Task start time.
    tags List<Property Map>
    timeout Number
    Maximum timeout for command execution in ECS instances, in seconds. Default: 60. Optional range: 30–86400.
    username String
    User name for executing the command in the ECS instance.
    windowsPassword String
    Password for custom Windows user.
    workingDir String
    Directory where the created command runs in the ECS instance.

    Supporting Types

    InvocationInvocationResult, InvocationInvocationResultArgs

    CommandId string
    Command ID.
    EndTime string
    Command execution completion time.
    ErrorCode string
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    ErrorMessage string
    Error message for command execution failure.
    ExitCode int
    Exit status code after script execution.
    InstanceId string
    Instance ID.
    InvocationId string
    Task execution ID.
    InvocationResultId string
    Task execution result ID.
    InvocationResultStatus string
    Command progress status for a single instance.
    Output string
    Output information after command execution, encoded in Base64.
    StartTime string
    Time when the command starts executing in the instance.
    Username string
    User name for executing the command in the instance.
    CommandId string
    Command ID.
    EndTime string
    Command execution completion time.
    ErrorCode string
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    ErrorMessage string
    Error message for command execution failure.
    ExitCode int
    Exit status code after script execution.
    InstanceId string
    Instance ID.
    InvocationId string
    Task execution ID.
    InvocationResultId string
    Task execution result ID.
    InvocationResultStatus string
    Command progress status for a single instance.
    Output string
    Output information after command execution, encoded in Base64.
    StartTime string
    Time when the command starts executing in the instance.
    Username string
    User name for executing the command in the instance.
    commandId String
    Command ID.
    endTime String
    Command execution completion time.
    errorCode String
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    errorMessage String
    Error message for command execution failure.
    exitCode Integer
    Exit status code after script execution.
    instanceId String
    Instance ID.
    invocationId String
    Task execution ID.
    invocationResultId String
    Task execution result ID.
    invocationResultStatus String
    Command progress status for a single instance.
    output String
    Output information after command execution, encoded in Base64.
    startTime String
    Time when the command starts executing in the instance.
    username String
    User name for executing the command in the instance.
    commandId string
    Command ID.
    endTime string
    Command execution completion time.
    errorCode string
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    errorMessage string
    Error message for command execution failure.
    exitCode number
    Exit status code after script execution.
    instanceId string
    Instance ID.
    invocationId string
    Task execution ID.
    invocationResultId string
    Task execution result ID.
    invocationResultStatus string
    Command progress status for a single instance.
    output string
    Output information after command execution, encoded in Base64.
    startTime string
    Time when the command starts executing in the instance.
    username string
    User name for executing the command in the instance.
    command_id str
    Command ID.
    end_time str
    Command execution completion time.
    error_code str
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    error_message str
    Error message for command execution failure.
    exit_code int
    Exit status code after script execution.
    instance_id str
    Instance ID.
    invocation_id str
    Task execution ID.
    invocation_result_id str
    Task execution result ID.
    invocation_result_status str
    Command progress status for a single instance.
    output str
    Output information after command execution, encoded in Base64.
    start_time str
    Time when the command starts executing in the instance.
    username str
    User name for executing the command in the instance.
    commandId String
    Command ID.
    endTime String
    Command execution completion time.
    errorCode String
    Error codes for command execution failure. TaskDeliveryTimeout: Indicates command delivery timeout. TaskExecutionTimeout: Indicates command execution timeout. TaskExecutionFailed: Indicates command execution failure.
    errorMessage String
    Error message for command execution failure.
    exitCode Number
    Exit status code after script execution.
    instanceId String
    Instance ID.
    invocationId String
    Task execution ID.
    invocationResultId String
    Task execution result ID.
    invocationResultStatus String
    Command progress status for a single instance.
    output String
    Output information after command execution, encoded in Base64.
    startTime String
    Time when the command starts executing in the instance.
    username String
    User name for executing the command in the instance.

    InvocationParameterDefinition, InvocationParameterDefinitionArgs

    DecimalPrecision int
    Allowed number of decimal places for custom parameter values (numeric).
    DefaultValue string
    Default value for custom parameter.
    MaxLength int
    Maximum length for custom parameter value (string).
    MaxValue string
    Maximum value for custom parameter (numeric).
    MinLength int
    Minimum length for custom parameter values (string).
    MinValue string
    Minimum value for custom parameter (numeric).
    Name string
    Custom parameter name. Must be defined in the script using {{Param}}.
    Required bool
    Required. true: Required. false: Optional.
    Type string
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.
    DecimalPrecision int
    Allowed number of decimal places for custom parameter values (numeric).
    DefaultValue string
    Default value for custom parameter.
    MaxLength int
    Maximum length for custom parameter value (string).
    MaxValue string
    Maximum value for custom parameter (numeric).
    MinLength int
    Minimum length for custom parameter values (string).
    MinValue string
    Minimum value for custom parameter (numeric).
    Name string
    Custom parameter name. Must be defined in the script using {{Param}}.
    Required bool
    Required. true: Required. false: Optional.
    Type string
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.
    decimalPrecision Integer
    Allowed number of decimal places for custom parameter values (numeric).
    defaultValue String
    Default value for custom parameter.
    maxLength Integer
    Maximum length for custom parameter value (string).
    maxValue String
    Maximum value for custom parameter (numeric).
    minLength Integer
    Minimum length for custom parameter values (string).
    minValue String
    Minimum value for custom parameter (numeric).
    name String
    Custom parameter name. Must be defined in the script using {{Param}}.
    required Boolean
    Required. true: Required. false: Optional.
    type String
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.
    decimalPrecision number
    Allowed number of decimal places for custom parameter values (numeric).
    defaultValue string
    Default value for custom parameter.
    maxLength number
    Maximum length for custom parameter value (string).
    maxValue string
    Maximum value for custom parameter (numeric).
    minLength number
    Minimum length for custom parameter values (string).
    minValue string
    Minimum value for custom parameter (numeric).
    name string
    Custom parameter name. Must be defined in the script using {{Param}}.
    required boolean
    Required. true: Required. false: Optional.
    type string
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.
    decimal_precision int
    Allowed number of decimal places for custom parameter values (numeric).
    default_value str
    Default value for custom parameter.
    max_length int
    Maximum length for custom parameter value (string).
    max_value str
    Maximum value for custom parameter (numeric).
    min_length int
    Minimum length for custom parameter values (string).
    min_value str
    Minimum value for custom parameter (numeric).
    name str
    Custom parameter name. Must be defined in the script using {{Param}}.
    required bool
    Required. true: Required. false: Optional.
    type str
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.
    decimalPrecision Number
    Allowed number of decimal places for custom parameter values (numeric).
    defaultValue String
    Default value for custom parameter.
    maxLength Number
    Maximum length for custom parameter value (string).
    maxValue String
    Maximum value for custom parameter (numeric).
    minLength Number
    Minimum length for custom parameter values (string).
    minValue String
    Minimum value for custom parameter (numeric).
    name String
    Custom parameter name. Must be defined in the script using {{Param}}.
    required Boolean
    Required. true: Required. false: Optional.
    type String
    Custom parameter type. String: Indicates custom parameter type is string. Digit: Indicates custom parameter type is numeric.

    InvocationTag, InvocationTagArgs

    Key string
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    Value string
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.
    Key string
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    Value string
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.
    key String
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    value String
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.
    key string
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    value string
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.
    key str
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    value str
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.
    key String
    Tag key for user tags. Naming rules: Cannot start with any combination of 'volc:' or 'sys:' in any case. Can only contain letters, numbers, spaces, and English symbols '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
    value String
    User tag value. Naming rules: Only letters, numbers, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty; length must be between 0 and 256 characters.

    Import

    $ pulumi import volcenginecc:ecs/invocation:Invocation example "invocation_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.