CfnNetworkConnectorProps Struct
Properties for defining a CfnNetworkConnector.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const cfnNetworkConnectorProps: lambda.CfnNetworkConnectorProps = {
configuration: {
vpcEgressConfiguration: {
associatedComputeResourceTypes: ['associatedComputeResourceTypes'],
networkProtocol: 'networkProtocol',
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
},
// the properties below are optional
name: 'name',
operatorRole: 'operatorRole',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
configurationIResolvable | CfnNetworkConnector.ConfigPropertyconfigurationtyping.Union[IResolvable, ConfigProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{}required#The network configuration for the connector.
Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.
A unique name for the network connector within your account and Region.
Must be 1 to 64 alphanumeric characters, hyphens, or underscores.
The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC.
This role must have permissions for ec2:CreateNetworkInterface and related describe operations.