Skip to content

ICommand

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.ecs.datasource.Command, com.aliyun.ros.cdk.ecs.datasource.ICommand

Represents a Command.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrCommandContent java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CommandContent: Command content, encoded in Base64 and transmitted.
attrCommandId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CommandId: Command ID.
attrCommandName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CommandName: Command name.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: Command creation time.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: Command description.
attrEnableParameter java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableParameter: Whether to use parameters.
attrParameterNames java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ParameterNames: Parameter name.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The label information of the command.
attrTimeout java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Timeout: Timeout.
attrType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Type: Command type.
attrWorkingDir java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WorkingDir: Execution path.
props CommandProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrCommandContentRequired

public java.lang.Object getAttrCommandContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CommandContent: Command content, encoded in Base64 and transmitted.


attrCommandIdRequired

public java.lang.Object getAttrCommandId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CommandId: Command ID.


attrCommandNameRequired

public java.lang.Object getAttrCommandName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CommandName: Command name.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: Command creation time.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: Command description.


attrEnableParameterRequired

public java.lang.Object getAttrEnableParameter();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EnableParameter: Whether to use parameters.


attrParameterNamesRequired

public java.lang.Object getAttrParameterNames();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ParameterNames: Parameter name.


attrTagsRequired

public java.lang.Object getAttrTags();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The label information of the command.


attrTimeoutRequired

public java.lang.Object getAttrTimeout();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Timeout: Timeout.


attrTypeRequired

public java.lang.Object getAttrType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Type: Command type.


attrWorkingDirRequired

public java.lang.Object getAttrWorkingDir();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute WorkingDir: Execution path.


propsRequired

public CommandProps getProps();