Skip to main content

network_migration_code_generation_segments

Creates, updates, deletes, gets or lists a network_migration_code_generation_segments resource.

Overview

Namenetwork_migration_code_generation_segments
TypeResource
Idaws.mgn.network_migration_code_generation_segments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
artifactsarrayA list of artifacts generated for this segment.
created_atstring (date-time)The timestamp when the segment was created.
job_idstringThe 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>)
logical_idstringThe logical identifier for the segment. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]*</code>)
mapper_segment_idstringThe ID of the mapper segment that this code generation segment was created from. (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_idstringThe unique identifier of the network migration definition. (pattern: <code>nmd-[0-9a-zA-Z]{17}</code>)
network_migration_execution_idstringThe 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>)
referenced_segmentsarrayA list of other segments that this segment depends on or references.
segment_idstringThe unique identifier of the segment. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
segment_typestringThe type of the segment. (WORKLOAD, APPLIANCE, NETWORK)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_network_migration_code_generation_segmentsselectregionLists code generation segments, which represent individual infrastructure components generated 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists code generation segments, which represent individual infrastructure components generated as code templates.

SELECT
artifacts,
created_at,
job_id,
logical_id,
mapper_segment_id,
network_migration_definition_id,
network_migration_execution_id,
referenced_segments,
segment_id,
segment_type
FROM aws.mgn.network_migration_code_generation_segments
WHERE region = '{{ region }}' -- required
;