Interface CfnNetworkConnector.VpcEgressConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkConnector.VpcEgressConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnNetworkConnector
@Stability(Stable)
public static interface CfnNetworkConnector.VpcEgressConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The VPC egress configuration for the network connector.
Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.
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.lambda.*;
VpcEgressConfigurationProperty vpcEgressConfigurationProperty = VpcEgressConfigurationProperty.builder()
.associatedComputeResourceTypes(List.of("associatedComputeResourceTypes"))
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.networkProtocol("networkProtocol")
.securityGroupIds(List.of("securityGroupIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkConnector.VpcEgressConfigurationPropertystatic final classAn implementation forCfnNetworkConnector.VpcEgressConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The types of Lambda compute resources that can use this connector.default StringThe network protocol for the connector.The IDs of the VPC security groups to attach to the ENIs.The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociatedComputeResourceTypes
The types of Lambda compute resources that can use this connector.Currently, only MicroVm is supported.
- See Also:
-
getSubnetIds
The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs).Specify 1 to 16 subnets. All subnets must be in the same VPC.
- See Also:
-
getNetworkProtocol
The network protocol for the connector.Specify IPv4 for IPv4-only networking, or DualStack for both IPv4 and IPv6.
- See Also:
-
getSecurityGroupIds
The IDs of the VPC security groups to attach to the ENIs.Specify 0 to 5 security groups. All security groups must be in the same VPC as the subnets.
- See Also:
-
builder
-