Class CfnNetworkMigrationDefinitionPropsMixin
Resource schema for AWS::MGN::NetworkMigrationDefinition.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MGN
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnNetworkMigrationDefinitionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnNetworkMigrationDefinitionPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MGN;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkMigrationDefinitionPropsMixin = new CfnNetworkMigrationDefinitionPropsMixin(new CfnNetworkMigrationDefinitionMixinProps {
Description = "description",
Name = "name",
ScopeTags = new Dictionary<string, string> {
{ "scopeTagsKey", "scopeTags" }
},
SourceConfigurations = new [] { new SourceConfigurationProperty {
SourceEnvironment = "sourceEnvironment",
SourceS3Configuration = new SourceS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner",
S3Key = "s3Key"
}
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetDeployment = "targetDeployment",
TargetNetwork = new TargetNetworkProperty {
InboundCidr = "inboundCidr",
InspectionCidr = "inspectionCidr",
OutboundCidr = "outboundCidr",
Topology = "topology"
},
TargetS3Configuration = new TargetS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnNetworkMigrationDefinitionPropsMixin(ICfnNetworkMigrationDefinitionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource schema for AWS::MGN::NetworkMigrationDefinition. |
| Props | Resource schema for AWS::MGN::NetworkMigrationDefinition. |
| Strategy | Resource schema for AWS::MGN::NetworkMigrationDefinition. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnNetworkMigrationDefinitionPropsMixin(ICfnNetworkMigrationDefinitionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::MGN::NetworkMigrationDefinition.
public CfnNetworkMigrationDefinitionPropsMixin(ICfnNetworkMigrationDefinitionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnNetworkMigrationDefinitionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource schema for AWS::MGN::NetworkMigrationDefinition.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MGN;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkMigrationDefinitionPropsMixin = new CfnNetworkMigrationDefinitionPropsMixin(new CfnNetworkMigrationDefinitionMixinProps {
Description = "description",
Name = "name",
ScopeTags = new Dictionary<string, string> {
{ "scopeTagsKey", "scopeTags" }
},
SourceConfigurations = new [] { new SourceConfigurationProperty {
SourceEnvironment = "sourceEnvironment",
SourceS3Configuration = new SourceS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner",
S3Key = "s3Key"
}
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetDeployment = "targetDeployment",
TargetNetwork = new TargetNetworkProperty {
InboundCidr = "inboundCidr",
InspectionCidr = "inspectionCidr",
OutboundCidr = "outboundCidr",
Topology = "topology"
},
TargetS3Configuration = new TargetS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource schema for AWS::MGN::NetworkMigrationDefinition.
protected virtual ICfnNetworkMigrationDefinitionMixinProps Props { get; }
Property Value
ICfnNetworkMigrationDefinitionMixinProps
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MGN;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkMigrationDefinitionPropsMixin = new CfnNetworkMigrationDefinitionPropsMixin(new CfnNetworkMigrationDefinitionMixinProps {
Description = "description",
Name = "name",
ScopeTags = new Dictionary<string, string> {
{ "scopeTagsKey", "scopeTags" }
},
SourceConfigurations = new [] { new SourceConfigurationProperty {
SourceEnvironment = "sourceEnvironment",
SourceS3Configuration = new SourceS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner",
S3Key = "s3Key"
}
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetDeployment = "targetDeployment",
TargetNetwork = new TargetNetworkProperty {
InboundCidr = "inboundCidr",
InspectionCidr = "inspectionCidr",
OutboundCidr = "outboundCidr",
Topology = "topology"
},
TargetS3Configuration = new TargetS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource schema for AWS::MGN::NetworkMigrationDefinition.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MGN;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkMigrationDefinitionPropsMixin = new CfnNetworkMigrationDefinitionPropsMixin(new CfnNetworkMigrationDefinitionMixinProps {
Description = "description",
Name = "name",
ScopeTags = new Dictionary<string, string> {
{ "scopeTagsKey", "scopeTags" }
},
SourceConfigurations = new [] { new SourceConfigurationProperty {
SourceEnvironment = "sourceEnvironment",
SourceS3Configuration = new SourceS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner",
S3Key = "s3Key"
}
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetDeployment = "targetDeployment",
TargetNetwork = new TargetNetworkProperty {
InboundCidr = "inboundCidr",
InspectionCidr = "inspectionCidr",
OutboundCidr = "outboundCidr",
Topology = "topology"
},
TargetS3Configuration = new TargetS3ConfigurationProperty {
S3Bucket = "s3Bucket",
S3BucketOwner = "s3BucketOwner"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::MGN::NetworkMigrationDefinition
Mixin: true
ExampleMetadata: fixture=_generated