Skip to content
v2.273.0

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.

namestringnamestrnameStringNamestringName*string#
A unique name for the network connector within your account and Region.

Must be 1 to 64 alphanumeric characters, hyphens, or underscores.

operatorRolestringoperator_rolestroperatorRoleStringOperatorRolestringOperatorRole*string#
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.

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of tags to apply to the network connector.

Use tags to categorize network connectors for cost allocation, access control, or operational management.

Used as props by ​