# ManagedInstancesNetworkConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const managedInstancesNetworkConfigurationProperty: batch.CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty = {
  securityGroups: ['securityGroups'],
  subnets: ['subnets'],
};
```

Python:

```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_batch as batch

managed_instances_network_configuration_property = batch.CfnComputeEnvironment.ManagedInstancesNetworkConfigurationProperty(
    security_groups=["securityGroups"],
    subnets=["subnets"]
)
```

Java:

```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.batch.*;

ManagedInstancesNetworkConfigurationProperty managedInstancesNetworkConfigurationProperty = ManagedInstancesNetworkConfigurationProperty.builder()
        .securityGroups(List.of("securityGroups"))
        .subnets(List.of("subnets"))
        .build();
```

C# / .NET:

```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.Batch;

var managedInstancesNetworkConfigurationProperty = new ManagedInstancesNetworkConfigurationProperty {
    SecurityGroups = new [] { "securityGroups" },
    Subnets = new [] { "subnets" }
};
```

Golang:

```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"

managedInstancesNetworkConfigurationProperty := &ManagedInstancesNetworkConfigurationProperty{
	SecurityGroups: []*string{
		jsii.String("securityGroups"),
	},
	Subnets: []*string{
		jsii.String("subnets"),
	},
}
```

## Properties

- `securityGroups`: string[] (required)

- `subnets`: string[] (required)
