network_migration_deployed_stacks
Creates, updates, deletes, gets or lists a network_migration_deployed_stacks resource.
Overview
| Name | network_migration_deployed_stacks |
| Type | Resource |
| Id | aws.mgn.network_migration_deployed_stacks |
Fields
The following fields are returned by SELECT queries:
- list_network_migration_deployed_stacks
| Name | Datatype | Description |
|---|---|---|
failed_resources | array | A list of resources that failed to deploy. |
segment_id | string | The ID of the segment that this stack was deployed for. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
stack_logical_id | string | The logical ID of the stack. (pattern: <code>[a-zA-Z][a-zA-Z0-9-]*</code>) |
stack_physical_id | string | The physical ID of the CloudFormation stack. (pattern: <code>arn:aws:cloudformation:[a-z0-9-]+:[0-9]{12}:stack/[a-zA-Z0-9-]+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
status | string | The current status of the deployed stack. (CREATE_COMPLETE, CREATE_FAILED, CREATE_STARTED, DELETE_COMPLETE, DELETE_FAILED, DELETE_STARTED) |
target_account | string | The target AWS account where the stack was deployed. (pattern: <code>.[0-9]{12,}.</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_network_migration_deployed_stacks | select | region | Lists CloudFormation stacks that have been deployed as part of the network migration. |
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_deployed_stacks
Lists CloudFormation stacks that have been deployed as part of the network migration.
SELECT
failed_resources,
segment_id,
stack_logical_id,
stack_physical_id,
status,
target_account
FROM aws.mgn.network_migration_deployed_stacks
WHERE region = '{{ region }}' -- required
;