View a markdown version of this page

AWS::CloudExtensions::ProfileEntry Exec - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CloudExtensions::ProfileEntry Exec

Requests permission to run a host command.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Args" : [ String, ... ], "Command" : String, "TimeoutInSeconds" : Number }

YAML

Args: - String Command: String TimeoutInSeconds: Number

Properties

Args

The arguments to pass to the command. The list has 1 to 50 arguments.

Required: No

Type: Array of String

Minimum: 1 | 1

Maximum: 128 | 50

Update requires: No interruption

Command

The command to run.

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption

TimeoutInSeconds

The maximum time, in seconds, that the command can run before it's terminated. The valid range is 1 to 10.

Required: No

Type: Number

Minimum: 1

Maximum: 10

Update requires: No interruption