Interface CfnTaskSetPropsMixin.NetworkConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskSetPropsMixin.NetworkConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTaskSetPropsMixin
@Stability(Stable)
public static interface CfnTaskSetPropsMixin.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.cfnpropertymixins.services.ecs.*;
NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder()
.awsVpcConfiguration(AwsVpcConfigurationProperty.builder()
.assignPublicIp("assignPublicIp")
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskSetPropsMixin.NetworkConfigurationPropertystatic final classAn implementation forCfnTaskSetPropsMixin.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.
Returns union: either
IResolvableorCfnTaskSetPropsMixin.AwsVpcConfigurationProperty- See Also:
-
builder
-