Skip to content
v2.273.0

CfnNetworkMigrationDefinitionProps Struct ​

Properties for defining a CfnNetworkMigrationDefinition.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mgn as mgn } from 'aws-cdk-lib';
const cfnNetworkMigrationDefinitionProps: mgn.CfnNetworkMigrationDefinitionProps = {
  name: 'name',
  sourceConfigurations: [{
    sourceEnvironment: 'sourceEnvironment',
    sourceS3Configuration: {
      s3Bucket: 's3Bucket',
      s3BucketOwner: 's3BucketOwner',
      s3Key: 's3Key',
    },
  }],
  targetNetwork: {
    topology: 'topology',

    // the properties below are optional
    inboundCidr: 'inboundCidr',
    inspectionCidr: 'inspectionCidr',
    outboundCidr: 'outboundCidr',
  },
  targetS3Configuration: {
    s3Bucket: 's3Bucket',
    s3BucketOwner: 's3BucketOwner',
  },

  // the properties below are optional
  description: 'description',
  scopeTags: {
    scopeTagsKey: 'scopeTags',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  targetDeployment: 'targetDeployment',
};

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
A description of the network migration definition.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the network migration definition.
scopeTagsIResolvable | { [key: string]: string }scope_tagstyping.Union[IResolvable, typing.Mapping[str, str]]scopeTagsIResolvableScopeTagsIResolvableScopeTagsinterface{}#
Scope tags map for the network migration definition.
sourceConfigurationsIResolvable | IResolvable | CfnNetworkMigrationDefinition.SourceConfigurationProperty[]source_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceConfigurationProperty]]]sourceConfigurationsIResolvableSourceConfigurationsIResolvableSourceConfigurationsinterface{}required#
A list of source configurations for the network migration.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
Tags to assign to the network migration definition.
targetDeploymentstringtarget_deploymentstrtargetDeploymentStringTargetDeploymentstringTargetDeployment*string#
The target deployment configuration for the migrated network.
targetNetworkIResolvable | CfnNetworkMigrationDefinition.TargetNetworkPropertytarget_networktyping.Union[IResolvable, TargetNetworkProperty]targetNetworkIResolvableTargetNetworkIResolvableTargetNetworkinterface{}required#
Configuration for the target network topology and addressing.
targetS3ConfigurationIResolvable | CfnNetworkMigrationDefinition.TargetS3ConfigurationPropertytarget_s3_configurationtyping.Union[IResolvable, TargetS3ConfigurationProperty]targetS3ConfigurationIResolvableTargetS3ConfigurationIResolvableTargetS3Configurationinterface{}required#
S3 configuration for storing target network artifacts.

Used as props by ​