[][src]Struct rusoto_transfer::CreateServerRequest

pub struct CreateServerRequest {
    pub endpoint_details: Option<EndpointDetails>,
    pub endpoint_type: Option<String>,
    pub host_key: Option<String>,
    pub identity_provider_details: Option<IdentityProviderDetails>,
    pub identity_provider_type: Option<String>,
    pub logging_role: Option<String>,
    pub tags: Option<Vec<Tag>>,
}

Fields

endpoint_details: Option<EndpointDetails>

The virtual private cloud (VPC) endpoint settings that you want to configure for your SFTP server. This parameter is required when you specify a value for the EndpointType parameter.

endpoint_type: Option<String>

The type of VPC endpoint that you want your SFTP server to connect to. If you connect to a VPC endpoint, your SFTP server isn't accessible over the public internet.

host_key: Option<String>

The RSA private key as generated by the ssh-keygen -N "" -f my-new-server-key command.

If you aren't planning to migrate existing users from an existing SFTP server to a new AWS SFTP server, don't update the host key. Accidentally changing a server's host key can be disruptive.

For more information, see "https://docs.aws.amazon.com/transfer/latest/userguide/change-host-key" in the AWS SFTP User Guide.

identity_provider_details: Option<IdentityProviderDetails>

This parameter is required when the IdentityProviderType is set to API_GATEWAY. Accepts an array containing all of the information required to call a customer-supplied authentication API, including the API Gateway URL. This property is not required when the IdentityProviderType is set to SERVICE_MANAGED.

identity_provider_type: Option<String>

Specifies the mode of authentication for the SFTP server. The default value is SERVICE_MANAGED, which allows you to store and access SFTP user credentials within the AWS Transfer for SFTP service. Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

logging_role: Option<String>

A value that allows the service to write your SFTP users' activity to your Amazon CloudWatch logs for monitoring and auditing purposes.

tags: Option<Vec<Tag>>

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

Trait Implementations

impl Clone for CreateServerRequest[src]

impl Default for CreateServerRequest[src]

impl PartialEq<CreateServerRequest> for CreateServerRequest[src]

impl Debug for CreateServerRequest[src]

impl StructuralPartialEq for CreateServerRequest[src]

impl Serialize for CreateServerRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self