EC2 - End Session

Declaration

<AMAWSEC2 ACTIVITY="end_session" />

See Also

EC2 - Allocate Address, EC2 - Associate Address, EC2 - Attach Volume, EC2 - Authorize Security Group, EC2 - Create Key Pair, EC2 - Create Security Group, EC2 - Create Session, EC2 - Create Snapshot, EC2 - Create Volume, EC2 - Delete Key Pair, EC2 - Delete Security Group, EC2 - Delete Snapshot, EC2 - Delete Volume, EC2 - Disassociate Address, EC2 - Launch Instance, EC2 - List Addresses, EC2 - List Images, EC2 - List Key Pairs, EC2 - List Running Instances, EC2 - List Security Groups, EC2 - List Snapshots, EC2 - List Volumes,  EC2 - Reboot Instance, EC2 - Release Address, EC2 - Revoke Security Group, EC2 - Start Instance, EC2 - Stop Instance, EC2 - Terminate Instance

Description

Ends an EC2 session created by a previous Create Session step.

IMPORTANT: The EC2 activities are performed using Amazon's EC2 engine. You must enter a valid Amazon EC2 service account in order for these activities to work properly.

Practical Usage

Used to end an existing EC2 session.

Parameters

Credentials Properties

Property

Type

Required

Default

Markup

Description

Session

Text

Yes

(Empty)

SESSION="EC2Session2"

Specifies the name of the session to end.

Description Properties

The Description tab allows you to customize the text description of any step as it appears in the Task Builder's Steps Pane.

More on setting custom step description

Error Causes Properties

The Error Causes tab properties allows you to instruct a task step to react only to specific errors or ignore certain errors that should cause it to fail.

More on Error Causes properties

On Error Properties

The On Error tab properties lets you determine what the task should do if a particular step encounters an error as defined in the Error Causes properties.

More about On Error properties

Additional Notes

Expressions, Variables and Functions

All text fields allow the use of expressions such as variables, functions or AutoMate extended functions, which can be entered by surrounding the expression in percentage signs (example: %FileDateTime(myVar)% or %myVar%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by clicking the Insert Expression (%) button or by pressing F2.

More on expressions

More on variables

More on function

More on extended functions
More on the expression builder

Example

NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.

 

Description: End EC2 session.

 

<AMAWSEC2 ACTIVITY="end_session" />

 

↑ Top of Page