mgn / Client / get_network_migration_definition
get_network_migration_definition¶
- mgn.Client.get_network_migration_definition(**kwargs)¶
Retrieves the details of a network migration definition including source and target configurations.
See also: AWS API Documentation
Request Syntax
response = client.get_network_migration_definition( networkMigrationDefinitionID='string' )
- Parameters:
networkMigrationDefinitionID (string) –
[REQUIRED]
The unique identifier of the network migration definition to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'networkMigrationDefinitionID': 'string', 'name': 'string', 'description': 'string', 'sourceConfigurations': [ { 'sourceEnvironment': 'NSX'|'VSPHERE'|'FORTIGATE_FIREWALL'|'PALO_ALTO_FIREWALL'|'CISCO_ACI'|'LOGICAL_MODEL'|'MODELIZE_IT', 'sourceS3Configuration': { 's3Bucket': 'string', 's3BucketOwner': 'string', 's3Key': 'string' } }, ], 'targetS3Configuration': { 's3Bucket': 'string', 's3BucketOwner': 'string' }, 'targetNetwork': { 'topology': 'ISOLATED_VPC'|'HUB_AND_SPOKE', 'inboundCidr': 'string', 'outboundCidr': 'string', 'inspectionCidr': 'string' }, 'targetDeployment': 'SINGLE_ACCOUNT'|'MULTI_ACCOUNT', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'tags': { 'string': 'string' }, 'scopeTags': { 'string': 'string' } }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the network migration definition.
networkMigrationDefinitionID (string) –
The unique identifier of the network migration definition.
name (string) –
The name of the network migration definition.
description (string) –
A description of the network migration definition.
sourceConfigurations (list) –
A list of source configurations for the network migration.
(dict) –
Configuration for a migration source environment.
sourceEnvironment (string) –
The source environment type.
sourceS3Configuration (dict) –
The S3 configuration for the source data.
s3Bucket (string) –
The name of the S3 bucket containing source data.
s3BucketOwner (string) –
The AWS account ID of the S3 bucket owner.
s3Key (string) –
The S3 key (path) for the source data.
targetS3Configuration (dict) –
The S3 configuration for storing the target network artifacts.
s3Bucket (string) –
The name of the S3 bucket for target artifacts.
s3BucketOwner (string) –
The AWS account ID of the S3 bucket owner.
targetNetwork (dict) –
The target network configuration including topology and CIDR ranges.
topology (string) –
The network topology type for the target environment.
inboundCidr (string) –
The CIDR block for inbound traffic in the target network.
outboundCidr (string) –
The CIDR block for outbound traffic in the target network.
inspectionCidr (string) –
The CIDR block for inspection traffic in the target network.
targetDeployment (string) –
The target deployment configuration for the migrated network.
createdAt (datetime) –
The timestamp when the network migration definition was created.
updatedAt (datetime) –
The timestamp when the network migration definition was last updated.
tags (dict) –
Tags assigned to the network migration definition.
(string) –
(string) –
scopeTags (dict) –
Scope tags for the network migration definition.
(string) –
(string) –
Exceptions