Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DescribedServer = DescribedServer' {
- certificate :: Maybe Text
- domain :: Maybe Domain
- endpointDetails :: Maybe EndpointDetails
- endpointType :: Maybe EndpointType
- hostKeyFingerprint :: Maybe Text
- identityProviderDetails :: Maybe IdentityProviderDetails
- identityProviderType :: Maybe IdentityProviderType
- loggingRole :: Maybe Text
- postAuthenticationLoginBanner :: Maybe Text
- preAuthenticationLoginBanner :: Maybe Text
- protocolDetails :: Maybe ProtocolDetails
- protocols :: Maybe (NonEmpty Protocol)
- securityPolicyName :: Maybe Text
- serverId :: Maybe Text
- state :: Maybe State
- tags :: Maybe (NonEmpty Tag)
- userCount :: Maybe Int
- workflowDetails :: Maybe WorkflowDetails
- arn :: Text
- newDescribedServer :: Text -> DescribedServer
- describedServer_certificate :: Lens' DescribedServer (Maybe Text)
- describedServer_domain :: Lens' DescribedServer (Maybe Domain)
- describedServer_endpointDetails :: Lens' DescribedServer (Maybe EndpointDetails)
- describedServer_endpointType :: Lens' DescribedServer (Maybe EndpointType)
- describedServer_hostKeyFingerprint :: Lens' DescribedServer (Maybe Text)
- describedServer_identityProviderDetails :: Lens' DescribedServer (Maybe IdentityProviderDetails)
- describedServer_identityProviderType :: Lens' DescribedServer (Maybe IdentityProviderType)
- describedServer_loggingRole :: Lens' DescribedServer (Maybe Text)
- describedServer_postAuthenticationLoginBanner :: Lens' DescribedServer (Maybe Text)
- describedServer_preAuthenticationLoginBanner :: Lens' DescribedServer (Maybe Text)
- describedServer_protocolDetails :: Lens' DescribedServer (Maybe ProtocolDetails)
- describedServer_protocols :: Lens' DescribedServer (Maybe (NonEmpty Protocol))
- describedServer_securityPolicyName :: Lens' DescribedServer (Maybe Text)
- describedServer_serverId :: Lens' DescribedServer (Maybe Text)
- describedServer_state :: Lens' DescribedServer (Maybe State)
- describedServer_tags :: Lens' DescribedServer (Maybe (NonEmpty Tag))
- describedServer_userCount :: Lens' DescribedServer (Maybe Int)
- describedServer_workflowDetails :: Lens' DescribedServer (Maybe WorkflowDetails)
- describedServer_arn :: Lens' DescribedServer Text
Documentation
data DescribedServer Source #
Describes the properties of a file transfer protocol-enabled server that was specified.
See: newDescribedServer
smart constructor.
DescribedServer' | |
|
Instances
Create a value of DescribedServer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:certificate:DescribedServer'
, describedServer_certificate
- Specifies the ARN of the Amazon Web ServicesCertificate Manager (ACM)
certificate. Required when Protocols
is set to FTPS
.
$sel:domain:DescribedServer'
, describedServer_domain
- Specifies the domain of the storage system that is used for file
transfers.
$sel:endpointDetails:DescribedServer'
, describedServer_endpointDetails
- 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.
$sel:endpointType:DescribedServer'
, describedServer_endpointType
- Defines the type of endpoint that your server is connected to. If your
server is connected to a VPC endpoint, your server isn't accessible
over the public internet.
$sel:hostKeyFingerprint:DescribedServer'
, describedServer_hostKeyFingerprint
- Specifies the Base64-encoded SHA256 fingerprint of the server's host
key. This value is equivalent to the output of the
ssh-keygen -l -f my-new-server-key
command.
$sel:identityProviderDetails:DescribedServer'
, describedServer_identityProviderDetails
- Specifies information to call a customer-supplied authentication API.
This field is not populated when the IdentityProviderType
of a server
is AWS_DIRECTORY_SERVICE
or SERVICE_MANAGED
.
$sel:identityProviderType:DescribedServer'
, describedServer_identityProviderType
- The mode of authentication for a server. The default value is
SERVICE_MANAGED
, which allows you to store and access user credentials
within the Transfer Family service.
Use AWS_DIRECTORY_SERVICE
to provide access to Active Directory groups
in Directory Service for Microsoft Active Directory or Microsoft Active
Directory in your on-premises environment or in Amazon Web Services
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 Lambda function as your
identity provider. If you choose this value, you must specify the ARN
for the Lambda function in the Function
parameter or the
IdentityProviderDetails
data type.
$sel:loggingRole:DescribedServer'
, describedServer_loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) role that allows a server to turn on Amazon CloudWatch logging for
Amazon S3 or Amazon EFSevents. When set, you can view user activity in
your CloudWatch logs.
$sel:postAuthenticationLoginBanner:DescribedServer'
, describedServer_postAuthenticationLoginBanner
- Specifies a string to display when users connect to a server. This
string is displayed after the user authenticates.
The SFTP protocol does not support post-authentication display banners.
$sel:preAuthenticationLoginBanner:DescribedServer'
, describedServer_preAuthenticationLoginBanner
- 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.
$sel:protocolDetails:DescribedServer'
, describedServer_protocolDetails
- The protocol settings that are configured for your server.
- To indicate passive mode (for FTP and FTPS protocols), use the
PassiveIp
parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to
use the
SETSTAT
command on a file that you are uploading to an Amazon S3 bucket, use theSetStatOption
parameter. To have the Transfer Family server ignore theSETSTAT
command and upload files without needing to make any changes to your SFTP client, set the value toENABLE_NO_OP
. If you set theSetStatOption
parameter toENABLE_NO_OP
, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making aSETSTAT
call. - To determine whether your Transfer Family server resumes recent,
negotiated sessions through a unique session ID, use the
TlsSessionResumptionMode
parameter. As2Transports
indicates the transport method for the AS2 messages. Currently, only HTTP is supported.
$sel:protocols:DescribedServer'
, describedServer_protocols
- 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:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSHFTPS
(File Transfer Protocol Secure): File transfer with TLS encryptionFTP
(File Transfer Protocol): Unencrypted file transferAS2
(Applicability Statement 2): used for transporting structured business-to-business data- If you select
FTPS
, you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If
Protocol
includes eitherFTP
orFTPS
, then theEndpointType
must beVPC
and theIdentityProviderType
must beAWS_DIRECTORY_SERVICE
orAPI_GATEWAY
. - If
Protocol
includesFTP
, thenAddressAllocationIds
cannot be associated. - If
Protocol
is set only toSFTP
, theEndpointType
can be set toPUBLIC
and theIdentityProviderType
can be set toSERVICE_MANAGED
. - If
Protocol
includesAS2
, then theEndpointType
must beVPC
, and domain must be Amazon S3.
$sel:securityPolicyName:DescribedServer'
, describedServer_securityPolicyName
- Specifies the name of the security policy that is attached to the
server.
$sel:serverId:DescribedServer'
, describedServer_serverId
- Specifies the unique system-assigned identifier for a server that you
instantiate.
$sel:state:DescribedServer'
, describedServer_state
- 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.
$sel:tags:DescribedServer'
, describedServer_tags
- Specifies the key-value pairs that you can use to search for and group
servers that were assigned to the server that was described.
$sel:userCount:DescribedServer'
, describedServer_userCount
- Specifies the number of users that are assigned to a server you
specified with the ServerId
.
$sel:workflowDetails:DescribedServer'
, describedServer_workflowDetails
- Specifies the workflow ID for the workflow to assign and the execution
role that's used for executing the workflow.
In additon to a workflow to execute when a file is uploaded completely,
WorkflowDeatails
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.
$sel:arn:DescribedServer'
, describedServer_arn
- Specifies the unique Amazon Resource Name (ARN) of the server.
describedServer_certificate :: Lens' DescribedServer (Maybe Text) Source #
Specifies the ARN of the Amazon Web ServicesCertificate Manager (ACM)
certificate. Required when Protocols
is set to FTPS
.
describedServer_domain :: Lens' DescribedServer (Maybe Domain) Source #
Specifies the domain of the storage system that is used for file transfers.
describedServer_endpointDetails :: Lens' DescribedServer (Maybe EndpointDetails) Source #
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.
describedServer_endpointType :: Lens' DescribedServer (Maybe EndpointType) Source #
Defines the type of endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet.
describedServer_hostKeyFingerprint :: Lens' DescribedServer (Maybe Text) Source #
Specifies the Base64-encoded SHA256 fingerprint of the server's host
key. This value is equivalent to the output of the
ssh-keygen -l -f my-new-server-key
command.
describedServer_identityProviderDetails :: Lens' DescribedServer (Maybe IdentityProviderDetails) Source #
Specifies information to call a customer-supplied authentication API.
This field is not populated when the IdentityProviderType
of a server
is AWS_DIRECTORY_SERVICE
or SERVICE_MANAGED
.
describedServer_identityProviderType :: Lens' DescribedServer (Maybe IdentityProviderType) Source #
The mode of authentication for a server. The default value is
SERVICE_MANAGED
, which allows you to store and access user credentials
within the Transfer Family service.
Use AWS_DIRECTORY_SERVICE
to provide access to Active Directory groups
in Directory Service for Microsoft Active Directory or Microsoft Active
Directory in your on-premises environment or in Amazon Web Services
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 Lambda function as your
identity provider. If you choose this value, you must specify the ARN
for the Lambda function in the Function
parameter or the
IdentityProviderDetails
data type.
describedServer_loggingRole :: Lens' DescribedServer (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
describedServer_postAuthenticationLoginBanner :: Lens' DescribedServer (Maybe Text) Source #
Specifies a string to display when users connect to a server. This string is displayed after the user authenticates.
The SFTP protocol does not support post-authentication display banners.
describedServer_preAuthenticationLoginBanner :: Lens' DescribedServer (Maybe Text) Source #
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.
describedServer_protocolDetails :: Lens' DescribedServer (Maybe ProtocolDetails) Source #
The protocol settings that are configured for your server.
- To indicate passive mode (for FTP and FTPS protocols), use the
PassiveIp
parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to
use the
SETSTAT
command on a file that you are uploading to an Amazon S3 bucket, use theSetStatOption
parameter. To have the Transfer Family server ignore theSETSTAT
command and upload files without needing to make any changes to your SFTP client, set the value toENABLE_NO_OP
. If you set theSetStatOption
parameter toENABLE_NO_OP
, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making aSETSTAT
call. - To determine whether your Transfer Family server resumes recent,
negotiated sessions through a unique session ID, use the
TlsSessionResumptionMode
parameter. As2Transports
indicates the transport method for the AS2 messages. Currently, only HTTP is supported.
describedServer_protocols :: Lens' DescribedServer (Maybe (NonEmpty Protocol)) Source #
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:
SFTP
(Secure Shell (SSH) File Transfer Protocol): File transfer over SSHFTPS
(File Transfer Protocol Secure): File transfer with TLS encryptionFTP
(File Transfer Protocol): Unencrypted file transferAS2
(Applicability Statement 2): used for transporting structured business-to-business data- If you select
FTPS
, you must choose a certificate stored in Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. - If
Protocol
includes eitherFTP
orFTPS
, then theEndpointType
must beVPC
and theIdentityProviderType
must beAWS_DIRECTORY_SERVICE
orAPI_GATEWAY
. - If
Protocol
includesFTP
, thenAddressAllocationIds
cannot be associated. - If
Protocol
is set only toSFTP
, theEndpointType
can be set toPUBLIC
and theIdentityProviderType
can be set toSERVICE_MANAGED
. - If
Protocol
includesAS2
, then theEndpointType
must beVPC
, and domain must be Amazon S3.
describedServer_securityPolicyName :: Lens' DescribedServer (Maybe Text) Source #
Specifies the name of the security policy that is attached to the server.
describedServer_serverId :: Lens' DescribedServer (Maybe Text) Source #
Specifies the unique system-assigned identifier for a server that you instantiate.
describedServer_state :: Lens' DescribedServer (Maybe State) Source #
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.
describedServer_tags :: Lens' DescribedServer (Maybe (NonEmpty Tag)) Source #
Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.
describedServer_userCount :: Lens' DescribedServer (Maybe Int) Source #
Specifies the number of users that are assigned to a server you
specified with the ServerId
.
describedServer_workflowDetails :: Lens' DescribedServer (Maybe WorkflowDetails) Source #
Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
In additon to a workflow to execute when a file is uploaded completely,
WorkflowDeatails
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.
describedServer_arn :: Lens' DescribedServer Text Source #
Specifies the unique Amazon Resource Name (ARN) of the server.