ConnectorEgressConfigProperty Struct
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 | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
}
};
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
vpcLatticeIResolvable | CfnConnector.vpc_latticetyping.Union[IResolvable, ConnectorVpcLatticeEgressConfigProperty]vpcLatticeIResolvableVpcLatticeIResolvableVpcLatticeinterface{} 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.