ServerArgs

data class ServerArgs(val certificate: Output<String>? = null, val domain: Output<ServerDomain>? = null, val endpointDetails: Output<ServerEndpointDetailsArgs>? = null, val endpointType: Output<ServerEndpointType>? = null, val identityProviderDetails: Output<ServerIdentityProviderDetailsArgs>? = null, val identityProviderType: Output<ServerIdentityProviderType>? = null, val loggingRole: Output<String>? = null, val postAuthenticationLoginBanner: Output<String>? = null, val preAuthenticationLoginBanner: Output<String>? = null, val protocolDetails: Output<ServerProtocolDetailsArgs>? = null, val protocols: Output<List<ServerProtocol>>? = null, val s3StorageOptions: Output<ServerS3StorageOptionsArgs>? = null, val securityPolicyName: Output<String>? = null, val structuredLogDestinations: Output<List<String>>? = null, val tags: Output<List<TagArgs>>? = null, val workflowDetails: Output<ServerWorkflowDetailsArgs>? = null) : ConvertibleToJava<ServerArgs>

Definition of AWS::Transfer::Server Resource Type

Example Usage

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(certificate: Output<String>? = null, domain: Output<ServerDomain>? = null, endpointDetails: Output<ServerEndpointDetailsArgs>? = null, endpointType: Output<ServerEndpointType>? = null, identityProviderDetails: Output<ServerIdentityProviderDetailsArgs>? = null, identityProviderType: Output<ServerIdentityProviderType>? = null, loggingRole: Output<String>? = null, postAuthenticationLoginBanner: Output<String>? = null, preAuthenticationLoginBanner: Output<String>? = null, protocolDetails: Output<ServerProtocolDetailsArgs>? = null, protocols: Output<List<ServerProtocol>>? = null, s3StorageOptions: Output<ServerS3StorageOptionsArgs>? = null, securityPolicyName: Output<String>? = null, structuredLogDestinations: Output<List<String>>? = null, tags: Output<List<TagArgs>>? = null, workflowDetails: Output<ServerWorkflowDetailsArgs>? = null)

Properties

Link copied to clipboard
val certificate: Output<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
val domain: Output<ServerDomain>? = null

Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.

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
val endpointType: Output<ServerEndpointType>? = null

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

The mode of authentication for a server. The default value is SERVICE_MANAGED , which allows you to store and access user credentials within the AWS Transfer Family service. Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in AWS Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in AWS using AD Connector. This option also requires you to provide a Directory ID by using the IdentityProviderDetails parameter. Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using the IdentityProviderDetails parameter. Use the AWS_LAMBDA value to directly use an AWS Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in the Function parameter for the IdentityProviderDetails data type.

Link copied to clipboard
val loggingRole: Output<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
val protocols: Output<List<ServerProtocol>>? = null

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
val securityPolicyName: Output<String>? = null

Specifies the name of the security policy for the server.

Link copied to clipboard
val structuredLogDestinations: Output<List<String>>? = null

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: Output<List<TagArgs>>? = 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.

Functions

Link copied to clipboard
open override fun toJava(): ServerArgs