Interface CfnNetworkConnector.ConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkConnector.ConfigProperty.Jsii$Proxy
- Enclosing class:
CfnNetworkConnector
@Stability(Stable)
public static interface CfnNetworkConnector.ConfigProperty
extends software.amazon.jsii.JsiiSerializable
The network configuration for the connector.
Specify a VpcEgressConfiguration to enable outbound traffic routing 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.*;
ConfigProperty configProperty = ConfigProperty.builder()
.vpcEgressConfiguration(VpcEgressConfigurationProperty.builder()
.associatedComputeResourceTypes(List.of("associatedComputeResourceTypes"))
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.networkProtocol("networkProtocol")
.securityGroupIds(List.of("securityGroupIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkConnector.ConfigPropertystatic final classAn implementation forCfnNetworkConnector.ConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The VPC egress configuration for the network connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcEgressConfiguration
The VPC egress configuration for the network connector.Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.
Returns union: either
IResolvableorCfnNetworkConnector.VpcEgressConfigurationProperty- See Also:
-
builder
-