Class CfnNetworkMigrationDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mgn.CfnNetworkMigrationDefinition
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,INetworkMigrationDefinitionRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:14.164Z")
@Stability(Stable)
public class CfnNetworkMigrationDefinition
extends CfnResource
implements IInspectable, INetworkMigrationDefinitionRef, ITaggableV2
Resource schema for AWS::MGN::NetworkMigrationDefinition.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mgn.*;
CfnNetworkMigrationDefinition cfnNetworkMigrationDefinition = CfnNetworkMigrationDefinition.Builder.create(this, "MyCfnNetworkMigrationDefinition")
.name("name")
.sourceConfigurations(List.of(SourceConfigurationProperty.builder()
.sourceEnvironment("sourceEnvironment")
.sourceS3Configuration(SourceS3ConfigurationProperty.builder()
.s3Bucket("s3Bucket")
.s3BucketOwner("s3BucketOwner")
.s3Key("s3Key")
.build())
.build()))
.targetNetwork(TargetNetworkProperty.builder()
.topology("topology")
// the properties below are optional
.inboundCidr("inboundCidr")
.inspectionCidr("inspectionCidr")
.outboundCidr("outboundCidr")
.build())
.targetS3Configuration(TargetS3ConfigurationProperty.builder()
.s3Bucket("s3Bucket")
.s3BucketOwner("s3BucketOwner")
.build())
// the properties below are optional
.description("description")
.scopeTags(Map.of(
"scopeTagsKey", "scopeTags"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetDeployment("targetDeployment")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNetworkMigrationDefinition.static interfaceConfiguration for a migration source environment.static interfaceS3 configuration for source network data.static interfaceConfiguration for the target network topology and addressing.static interfaceS3 configuration for storing target network artifacts.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mgn.INetworkMigrationDefinitionRef
INetworkMigrationDefinitionRef.Jsii$Default, INetworkMigrationDefinitionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNetworkMigrationDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNetworkMigrationDefinition(software.amazon.jsii.JsiiObjectRef objRef) CfnNetworkMigrationDefinition(software.constructs.Construct scope, String id, CfnNetworkMigrationDefinitionProps props) Create a newAWS::MGN::NetworkMigrationDefinition. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the network migration definition.The timestamp when the network migration definition was created.The unique identifier of the network migration definition.The timestamp when the network migration definition was last updated.Tag Manager which manages the tags for this resource.A description of the network migration definition.getName()The name of the network migration definition.A reference to a NetworkMigrationDefinition resource.Scope tags map for the network migration definition.A list of source configurations for the network migration.getTags()Tags to assign to the network migration definition.The target deployment configuration for the migrated network.Configuration for the target network topology and addressing.S3 configuration for storing target network artifacts.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnNetworkMigrationDefinition.renderProperties(Map<String, Object> props) voidsetDescription(String value) A description of the network migration definition.voidThe name of the network migration definition.voidsetScopeTags(Map<String, String> value) Scope tags map for the network migration definition.voidsetScopeTags(IResolvable value) Scope tags map for the network migration definition.voidsetSourceConfigurations(List<Object> value) A list of source configurations for the network migration.voidA list of source configurations for the network migration.voidTags to assign to the network migration definition.voidsetTargetDeployment(String value) The target deployment configuration for the migrated network.voidsetTargetNetwork(IResolvable value) Configuration for the target network topology and addressing.voidConfiguration for the target network topology and addressing.voidS3 configuration for storing target network artifacts.voidS3 configuration for storing target network artifacts.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNetworkMigrationDefinition
protected CfnNetworkMigrationDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNetworkMigrationDefinition
protected CfnNetworkMigrationDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNetworkMigrationDefinition
@Stability(Stable) public CfnNetworkMigrationDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNetworkMigrationDefinitionProps props) Create a newAWS::MGN::NetworkMigrationDefinition.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForNetworkMigrationDefinition
@Stability(Stable) @NotNull public static String arnForNetworkMigrationDefinition(@NotNull INetworkMigrationDefinitionRef resource) - Parameters:
resource- This parameter is required.
-
isCfnNetworkMigrationDefinition
@Stability(Stable) @NotNull public static Boolean isCfnNetworkMigrationDefinition(@NotNull Object x) Checks whether the given object is a CfnNetworkMigrationDefinition.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the network migration definition. -
getAttrCreatedAt
The timestamp when the network migration definition was created. -
getAttrNetworkMigrationDefinitionId
The unique identifier of the network migration definition. -
getAttrUpdatedAt
The timestamp when the network migration definition was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getNetworkMigrationDefinitionRef
@Stability(Stable) @NotNull public NetworkMigrationDefinitionReference getNetworkMigrationDefinitionRef()A reference to a NetworkMigrationDefinition resource.- Specified by:
getNetworkMigrationDefinitionRefin interfaceINetworkMigrationDefinitionRef
-
getName
The name of the network migration definition. -
setName
The name of the network migration definition. -
getSourceConfigurations
A list of source configurations for the network migration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkMigrationDefinition.SourceConfigurationProperty> -
setSourceConfigurations
A list of source configurations for the network migration. -
setSourceConfigurations
A list of source configurations for the network migration. -
getTargetNetwork
Configuration for the target network topology and addressing.Returns union: either
IResolvableorCfnNetworkMigrationDefinition.TargetNetworkProperty -
setTargetNetwork
Configuration for the target network topology and addressing. -
setTargetNetwork
@Stability(Stable) public void setTargetNetwork(@NotNull CfnNetworkMigrationDefinition.TargetNetworkProperty value) Configuration for the target network topology and addressing. -
getTargetS3Configuration
S3 configuration for storing target network artifacts.Returns union: either
IResolvableorCfnNetworkMigrationDefinition.TargetS3ConfigurationProperty -
setTargetS3Configuration
S3 configuration for storing target network artifacts. -
setTargetS3Configuration
@Stability(Stable) public void setTargetS3Configuration(@NotNull CfnNetworkMigrationDefinition.TargetS3ConfigurationProperty value) S3 configuration for storing target network artifacts. -
getDescription
A description of the network migration definition. -
setDescription
A description of the network migration definition. -
getScopeTags
Scope tags map for the network migration definition.Returns union: either
IResolvableor Mapinvalid input: '<'String,String> -
setScopeTags
Scope tags map for the network migration definition. -
setScopeTags
Scope tags map for the network migration definition. -
getTags
Tags to assign to the network migration definition. -
setTags
Tags to assign to the network migration definition. -
getTargetDeployment
The target deployment configuration for the migrated network. -
setTargetDeployment
The target deployment configuration for the migrated network.
-