CfnNetworkMigrationDefinitionProps
- class aws_cdk.aws_mgn.CfnNetworkMigrationDefinitionProps(*, name, source_configurations, target_network, target_s3_configuration, description=None, scope_tags=None, tags=None, target_deployment=None)
Bases:
objectProperties for defining a
CfnNetworkMigrationDefinition.- Parameters:
name (
str) – The name of the network migration definition.source_configurations (
Union[IResolvable,Sequence[Union[IResolvable,SourceConfigurationProperty,Dict[str,Any]]]]) – A list of source configurations for the network migration.target_network (
Union[IResolvable,TargetNetworkProperty,Dict[str,Any]]) – Configuration for the target network topology and addressing.target_s3_configuration (
Union[IResolvable,TargetS3ConfigurationProperty,Dict[str,Any]]) – S3 configuration for storing target network artifacts.description (
Optional[str]) – A description of the network migration definition.scope_tags (
Union[IResolvable,Mapping[str,str],None]) – Scope tags map for the network migration definition.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Tags to assign to the network migration definition.target_deployment (
Optional[str]) – The target deployment configuration for the migrated network.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_mgn as mgn cfn_network_migration_definition_props = mgn.CfnNetworkMigrationDefinitionProps( name="name", source_configurations=[mgn.CfnNetworkMigrationDefinition.SourceConfigurationProperty( source_environment="sourceEnvironment", source_s3_configuration=mgn.CfnNetworkMigrationDefinition.SourceS3ConfigurationProperty( s3_bucket="s3Bucket", s3_bucket_owner="s3BucketOwner", s3_key="s3Key" ) )], target_network=mgn.CfnNetworkMigrationDefinition.TargetNetworkProperty( topology="topology", # the properties below are optional inbound_cidr="inboundCidr", inspection_cidr="inspectionCidr", outbound_cidr="outboundCidr" ), target_s3_configuration=mgn.CfnNetworkMigrationDefinition.TargetS3ConfigurationProperty( s3_bucket="s3Bucket", s3_bucket_owner="s3BucketOwner" ), # the properties below are optional description="description", scope_tags={ "scope_tags_key": "scopeTags" }, tags=[CfnTag( key="key", value="value" )], target_deployment="targetDeployment" )
Attributes
- description
A description of the network migration definition.
- name
The name of the network migration definition.
- scope_tags
Scope tags map for the network migration definition.
- source_configurations
A list of source configurations for the network migration.
- tags
Tags to assign to the network migration definition.
- target_deployment
The target deployment configuration for the migrated network.
- target_network
Configuration for the target network topology and addressing.
- target_s3_configuration
S3 configuration for storing target network artifacts.