Interface CfnCapacityProvider.ManagedInstancesNetworkConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCapacityProvider.ManagedInstancesNetworkConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnCapacityProvider

@Stability(Stable) public static interface CfnCapacityProvider.ManagedInstancesNetworkConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The network configuration for Amazon ECS Managed Instances.

This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

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.ecs.*;
 ManagedInstancesNetworkConfigurationProperty managedInstancesNetworkConfigurationProperty = ManagedInstancesNetworkConfigurationProperty.builder()
         .subnets(List.of("subnets"))
         // the properties below are optional
         .securityGroups(List.of("securityGroups"))
         .build();
 

See Also: