Interface CfnPipePropsMixin.NetworkConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipePropsMixin.NetworkConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPipePropsMixin
@Stability(Stable)
public static interface CfnPipePropsMixin.NetworkConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
This structure specifies the network configuration for an Amazon ECS task.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.pipes.mixins.*;
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 forCfnPipePropsMixin.NetworkConfigurationPropertystatic final classAn implementation forCfnPipePropsMixin.NetworkConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsvpcConfiguration
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.This structure is relevant only for ECS tasks that use the
awsvpcnetwork mode.Returns union: either
IResolvableorCfnPipePropsMixin.AwsVpcConfigurationProperty- See Also:
-
builder
-