Interface CfnTaskSet.NetworkConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskSet.NetworkConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTaskSet
@Stability(Stable)
public static interface CfnTaskSet.NetworkConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The network configuration for a task or service.
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.*; NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder() .awsVpcConfiguration(AwsVpcConfigurationProperty.builder() .subnets(List.of("subnets")) // the properties below are optional .assignPublicIp("assignPublicIp") .securityGroups(List.of("securityGroups")) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTaskSet.NetworkConfigurationProperty
static final class
An implementation forCfnTaskSet.NetworkConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsVpcConfiguration
The VPC subnets and security groups that are associated with a task.All specified subnets and security groups must be from the same VPC.
- See Also:
-
builder
-