network_migration_code_generations
Creates, updates, deletes, gets or lists a network_migration_code_generations resource.
Overview
| Name | network_migration_code_generations |
| Type | Resource |
| Id | aws.mgn.network_migration_code_generations |
Fields
The following fields are returned by SELECT queries:
- list_network_migration_code_generations
| Name | Datatype | Description |
|---|---|---|
code_generation_output_format_status_details_map | object | A map of output format types to their status details. |
created_at | string (date-time) | The timestamp when the job was created. |
ended_at | string (date-time) | The timestamp when the job completed or failed. |
job_id | string | The unique identifier of the code generation job. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
network_migration_definition_id | string | The unique identifier of the network migration definition. (pattern: <code>nmd-[0-9a-zA-Z]{17}</code>) |
network_migration_execution_id | string | The unique identifier of the network migration execution. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
status | string | The current status of the code generation job. (PENDING, STARTED, SUCCEEDED, FAILED) |
status_details | string | Detailed status information about the job. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_network_migration_code_generations | select | region | Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_network_migration_code_generations
Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.
SELECT
code_generation_output_format_status_details_map,
created_at,
ended_at,
job_id,
network_migration_definition_id,
network_migration_execution_id,
status,
status_details
FROM aws.mgn.network_migration_code_generations
WHERE region = '{{ region }}' -- required
;