TargetNetworkProperty Struct
Configuration for the target network topology and addressing.
| Source | |
|---|---|
| Type last changed |
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 targetNetworkProperty: mgn.CfnNetworkMigrationDefinition.TargetNetworkProperty = {
topology: 'topology',
// the properties below are optional
inboundCidr: 'inboundCidr',
inspectionCidr: 'inspectionCidr',
outboundCidr: 'outboundCidr',
};
python
# 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
target_network_property = mgn.CfnNetworkMigrationDefinition.TargetNetworkProperty(
topology="topology",
# the properties below are optional
inbound_cidr="inboundCidr",
inspection_cidr="inspectionCidr",
outbound_cidr="outboundCidr"
)
java
// 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.*;
TargetNetworkProperty targetNetworkProperty = TargetNetworkProperty.builder()
.topology("topology")
// the properties below are optional
.inboundCidr("inboundCidr")
.inspectionCidr("inspectionCidr")
.outboundCidr("outboundCidr")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MGN;
var targetNetworkProperty = new TargetNetworkProperty {
Topology = "topology",
// the properties below are optional
InboundCidr = "inboundCidr",
InspectionCidr = "inspectionCidr",
OutboundCidr = "outboundCidr"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
targetNetworkProperty := &TargetNetworkProperty{
Topology: jsii.String("topology"),
// the properties below are optional
InboundCidr: jsii.String("inboundCidr"),
InspectionCidr: jsii.String("inspectionCidr"),
OutboundCidr: jsii.String("outboundCidr"),
}
Properties
inboundCidroptionalstringinbound_cidroptionalstrinboundCidroptionalStringInboundCidroptionalstringInboundCidroptional*string #The CIDR block for inbound traffic in the target network.
inspectionCidroptionalstringinspection_cidroptionalstrinspectionCidroptionalStringInspectionCidroptionalstringInspectionCidroptional*string #The CIDR block for inspection traffic in the target network.
outboundCidroptionalstringoutbound_cidroptionalstroutboundCidroptionalStringOutboundCidroptionalstringOutboundCidroptional*string #The CIDR block for outbound traffic in the target network.
The network topology type for the target environment.