Amazon EC2 - End session

Declaration

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

Related Topics     

Description

Ends an EC2 session created by a previous Amazon EC2 - Create session step.

IMPORTANT: All EC2 activities are performed using Amazon's EC2 engine and rely on a valid Amazon EC2 service account in order to function correctly.

Practical usage

Used to end an existing EC2 session.

Parameters

Credentials

Property Type Required Default Markup Description
Session Text Yes (Empty) SESSION="EC2Session2" Specifies the name of the session to end.

Description

Error Causes

On Error

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.

Description

This sample task ends an EC2 session.

Copy
<AMAWSEC2 ACTIVITY="end_session" SESSION="EC2Session1" />