Amazon EC2 - End Session

<AMAWSEC2 ACTIVITY="end_session" SESSION="text" />

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

IMPORTANT: The AWS EC2 activities are performed using Amazon's EC2 engine, therefore, launching and administering Amazon EC2 instances requires a valid Access Key ID and Secret Access Key.

Practical Usage

Used to end an existing EC2 session.

Credentials Parameters

Property

Type

Required

Default

Markup

Description

Session

Text

Yes

(Empty)

SESSION="EC2Session2"

Specifies the name of the session to end.

Description tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.

Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)

On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)

Example

The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.

Description: End EC2 session.

<AMAWSEC2 ACTIVITY="end_session" />