# ConnectorEgressConfigProperty

Configuration structure that defines how traffic is routed from the connector to the SFTP server.

Contains VPC Lattice settings when using VPC_LATTICE egress type for private connectivity through customer VPCs.

- Source: Generated at build time
- Type last changed: v2.223.0 · 10 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const connectorEgressConfigProperty: transfer.CfnConnector.ConnectorEgressConfigProperty = {
  vpcLattice: {
    resourceConfigurationArn: 'resourceConfigurationArn',

    // the properties below are optional
    portNumber: 123,
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer

connector_egress_config_property = transfer.CfnConnector.ConnectorEgressConfigProperty(
    vpc_lattice=transfer.CfnConnector.ConnectorVpcLatticeEgressConfigProperty(
        resource_configuration_arn="resourceConfigurationArn",

        # the properties below are optional
        port_number=123
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;

ConnectorEgressConfigProperty connectorEgressConfigProperty = ConnectorEgressConfigProperty.builder()
        .vpcLattice(ConnectorVpcLatticeEgressConfigProperty.builder()
                .resourceConfigurationArn("resourceConfigurationArn")

                // the properties below are optional
                .portNumber(123)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;

var connectorEgressConfigProperty = new ConnectorEgressConfigProperty {
    VpcLattice = new ConnectorVpcLatticeEgressConfigProperty {
        ResourceConfigurationArn = "resourceConfigurationArn",

        // the properties below are optional
        PortNumber = 123
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

connectorEgressConfigProperty := &ConnectorEgressConfigProperty{
	VpcLattice: &ConnectorVpcLatticeEgressConfigProperty{
		ResourceConfigurationArn: jsii.String("resourceConfigurationArn"),

		// the properties below are optional
		PortNumber: jsii.Number(123),
	},
}
```

## Properties

- `vpcLattice`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnector.ConnectorVpcLatticeEgressConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_transfer.CfnConnector.ConnectorVpcLatticeEgressConfigProperty.html) (required) — VPC_LATTICE configuration for routing connector traffic through customer VPCs.

  Enables private connectivity to SFTP servers without requiring public internet access or complex network configurations.
