v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14198892.8 KB

Exports a specified server engine attribute as a base64-encoded string. For example, you can export user data that you can use in EC2 to associate nodes with a server.

This operation is synchronous.

A ValidationException is raised when parameters of the request are not valid. A ResourceNotFoundException is thrown when the server does not exist. An InvalidStateException is thrown when the server is in any of the following states: CREATING, TERMINATED, FAILED or DELETING.

post/#X-Amz-Target=OpsWorksCM_V2016_11_01.ExportServerEngineAttribute

Headers

X-Amz-Target'OpsWorksCM_V2016_11_01.ExportServerEngineAttribute' required

Request body

ExportAttributeNamestring required

The name of the export attribute. Currently, the supported export attribute is <code>Userdata</code>. This exports a user data script that includes parameters and values provided in the <code>InputAttributes</code> list.

ServerNamestring required

The name of the server from which you are exporting the attribute.

Response

Success

ServerNamestring

The server name used in the request.