|
Amazon EC2 - End session |
Declaration
<AMAWSEC2 ACTIVITY="end_session" SESSION="text" />
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. |
Example
NOTE:
- The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
- Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.
Description
This sample task ends an EC2 session.
Copy
<AMAWSEC2 ACTIVITY="end_session" SESSION="EC2Session1" />