SftpPortWithOptionsProperty Struct
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 sftpPortWithOptionsProperty: transfer.CfnServer.SftpPortWithOptionsProperty = {
sftpPort: 123,
// the properties below are optional
communicationMode: 'communicationMode',
};
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
sftp_port_with_options_property = transfer.CfnServer.SftpPortWithOptionsProperty(
sftp_port=123,
# the properties below are optional
communication_mode="communicationMode"
)
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.*;
SftpPortWithOptionsProperty sftpPortWithOptionsProperty = SftpPortWithOptionsProperty.builder()
.sftpPort(123)
// the properties below are optional
.communicationMode("communicationMode")
.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 sftpPortWithOptionsProperty = new SftpPortWithOptionsProperty {
SftpPort = 123,
// the properties below are optional
CommunicationMode = "communicationMode"
};
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"
sftpPortWithOptionsProperty := &SftpPortWithOptionsProperty{
SftpPort: jsii.Number(123),
// the properties below are optional
CommunicationMode: jsii.String("communicationMode"),
}