ConnectorVpcLatticeEgressConfigProperty
Struct External
VPC_LATTICE egress configuration that specifies the Resource Configuration ARN and port for connecting to SFTP servers through customer VPCs.
Requires a valid Resource Configuration with appropriate network access.
| 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 connectorVpcLatticeEgressConfigProperty: transfer.CfnConnector.ConnectorVpcLatticeEgressConfigProperty = {
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_vpc_lattice_egress_config_property = 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.*;
ConnectorVpcLatticeEgressConfigProperty connectorVpcLatticeEgressConfigProperty = ConnectorVpcLatticeEgressConfigProperty.builder()
.resourceConfigurationArn("resourceConfigurationArn")
// the properties below are optional
.portNumber(123)
.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 connectorVpcLatticeEgressConfigProperty = 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"
connectorVpcLatticeEgressConfigProperty := &ConnectorVpcLatticeEgressConfigProperty{
ResourceConfigurationArn: jsii.String("resourceConfigurationArn"),
// the properties below are optional
PortNumber: jsii.Number(123),
}
Properties
portNumberoptionalnumberport_numberoptionalint | floatportNumberoptionalNumberPortNumberoptionaldoublePortNumberoptional*float64 #Port number for connecting to the SFTP server through VPC_LATTICE.
Defaults to 22 if not specified. Must match the port on which the target SFTP server is listening.
resourceConfigurationArnstringresource_configuration_arnstrresourceConfigurationArnStringResourceConfigurationArnstringResourceConfigurationArn*string required #ARN of the VPC_LATTICE Resource Configuration that defines the target SFTP server location.
Must point to a valid Resource Configuration in the customer's VPC with appropriate network connectivity to the SFTP server.