GetServerResult

data class GetServerResult(val arn: String? = null, val as2ServiceManagedEgressIpAddresses: List<String>? = null, val certificate: String? = null, val endpointDetails: ServerEndpointDetails? = null, val endpointType: ServerEndpointType? = null, val identityProviderDetails: ServerIdentityProviderDetails? = null, val loggingRole: String? = null, val postAuthenticationLoginBanner: String? = null, val preAuthenticationLoginBanner: String? = null, val protocolDetails: ServerProtocolDetails? = null, val protocols: List<ServerProtocol>? = null, val s3StorageOptions: ServerS3StorageOptions? = null, val securityPolicyName: String? = null, val serverId: String? = null, val state: ServerState? = null, val structuredLogDestinations: List<String>? = null, val tags: List<Tag>? = null, val workflowDetails: ServerWorkflowDetails? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, as2ServiceManagedEgressIpAddresses: List<String>? = null, certificate: String? = null, endpointDetails: ServerEndpointDetails? = null, endpointType: ServerEndpointType? = null, identityProviderDetails: ServerIdentityProviderDetails? = null, loggingRole: String? = null, postAuthenticationLoginBanner: String? = null, preAuthenticationLoginBanner: String? = null, protocolDetails: ServerProtocolDetails? = null, protocols: List<ServerProtocol>? = null, s3StorageOptions: ServerS3StorageOptions? = null, securityPolicyName: String? = null, serverId: String? = null, state: ServerState? = null, structuredLogDestinations: List<String>? = null, tags: List<Tag>? = null, workflowDetails: ServerWorkflowDetails? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

Specifies the unique Amazon Resource Name (ARN) of the server.

Link copied to clipboard

The list of egress IP addresses of this server. These IP addresses are only relevant for servers that use the AS2 protocol. They are used for sending asynchronous MDNs. These IP addresses are assigned automatically when you create an AS2 server. Additionally, if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.

Link copied to clipboard
val certificate: String? = null

The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate. Required when Protocols is set to FTPS . To request a new public certificate, see Request a public certificate in the AWS Certificate Manager User Guide . To import an existing certificate into ACM, see Importing certificates into ACM in the AWS Certificate Manager User Guide . To request a private certificate to use FTPS through private IP addresses, see Request a private certificate in the AWS Certificate Manager User Guide . Certificates with the following cryptographic algorithms and key sizes are supported:

Link copied to clipboard

The virtual private cloud (VPC) endpoint settings that are configured for your server. When you host your endpoint within your VPC, you can make your endpoint accessible only to resources within your VPC, or you can attach Elastic IP addresses and make your endpoint accessible to clients over the internet. Your VPC's default security groups are automatically assigned to your endpoint.

Link copied to clipboard

The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it.

Link copied to clipboard

Required when IdentityProviderType is set to AWS_DIRECTORY_SERVICE , AWS _LAMBDA or API_GATEWAY . Accepts an array containing all of the information required to use a directory in AWS_DIRECTORY_SERVICE or invoke a customer-supplied authentication API, including the API Gateway URL. Cannot be specified when IdentityProviderType is set to SERVICE_MANAGED .

Link copied to clipboard
val loggingRole: String? = null

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in your CloudWatch logs.

Link copied to clipboard

Specifies a string to display when users connect to a server. This string is displayed after the user authenticates.

Link copied to clipboard

Specifies a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system: This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.

Link copied to clipboard

The protocol settings that are configured for your server.

Link copied to clipboard

Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are:

Link copied to clipboard

Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default. By default, home directory mappings have a TYPE of DIRECTORY . If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.

Link copied to clipboard

Specifies the name of the security policy for the server.

Link copied to clipboard
val serverId: String? = null

Specifies the unique system-assigned identifier for a server that you instantiate.

Link copied to clipboard
val state: ServerState? = null

The condition of the server that was described. A value of ONLINE indicates that the server can accept jobs and transfer files. A State value of OFFLINE means that the server cannot perform file transfer operations. The states of STARTING and STOPPING indicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of START_FAILED or STOP_FAILED can indicate an error condition.

Link copied to clipboard

Specifies the log groups to which your server logs are sent. To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows: arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:* For example, arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:* If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an update-server call. For example: update-server --server-id s-1234567890abcdef0 --structured-log-destinations

Link copied to clipboard
val tags: List<Tag>? = null

Key-value pairs that can be used to group and search for servers.

Link copied to clipboard

Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.