Paws::Transfer::CreateServer - Arguments for method CreateServer on Paws::Transfer


This class represents the parameters used for calling the method CreateServer on the AWS Transfer for SFTP service. Use the attributes of this class as arguments to method CreateServer.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateServer.


    my $transfer = Paws->service('Transfer');
    my $CreateServerResponse = $transfer->CreateServer(
      IdentityProviderDetails => {
        InvocationRole => 'MyRole',    # OPTIONAL
        Url            => 'MyUrl',     # OPTIONAL
      },    # OPTIONAL
      IdentityProviderType => 'SERVICE_MANAGED',    # OPTIONAL
      LoggingRole          => 'MyRole',             # OPTIONAL
      Tags                 => [
          Key   => 'MyTagKey',
          Value => 'MyTagValue',

      ],                                            # OPTIONAL

    # Results:
    my $ServerId = $CreateServerResponse->ServerId;

    # Returns a L<Paws::Transfer::CreateServerResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


IdentityProviderDetails => Paws::Transfer::IdentityProviderDetails

An array containing all of the information required to call a customer-supplied authentication API. This parameter is not required when the IdentityProviderType value of server that is created uses the SERVICE_MANAGED authentication method.

IdentityProviderType => Str

The mode of authentication enabled for this service. The default value is SERVICE_MANAGED, which allows you to store and access SFTP user credentials within the service. An IdentityProviderType value of API_GATEWAY indicates that user authentication requires a call to an API Gateway endpoint URL provided by you to integrate an identity provider of your choice.

Valid values are: "SERVICE_MANAGED", "API_GATEWAY"

LoggingRole => Str

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

Tags => ArrayRef[Paws::Transfer::Tag]

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


This class forms part of Paws, documenting arguments for method CreateServer in Paws::Transfer


The source code is located here:

Please report bugs to: