AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateServerInput

import "github.com/aws/aws-sdk-go/service/transfer"

type CreateServerInput struct { IdentityProviderDetails *IdentityProviderDetails `type:"structure"` IdentityProviderType *string `type:"string" enum:"IdentityProviderType"` LoggingRole *string `type:"string"` Tags []*Tag `min:"1" type:"list"` }

IdentityProviderDetails

Returns information related to the type of user authentication that is in use for a server's users. A server can only have one method of authentication.

IdentityProviderType

Type: *string

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.

LoggingRole

Type: *string

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

Tags

Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to servers, users, and roles. A tag key can take more than one value. For example, to group servers for accounting purposes, you might create a tag called Group and assign the values Research and Accounting to that group.

Method

GoString

func (s CreateServerInput) GoString() string

GoString returns the string representation

SetIdentityProviderDetails

func (s *CreateServerInput) SetIdentityProviderDetails(v *IdentityProviderDetails) *CreateServerInput

SetIdentityProviderDetails sets the IdentityProviderDetails field's value.

SetIdentityProviderType

func (s *CreateServerInput) SetIdentityProviderType(v string) *CreateServerInput

SetIdentityProviderType sets the IdentityProviderType field's value.

SetLoggingRole

func (s *CreateServerInput) SetLoggingRole(v string) *CreateServerInput

SetLoggingRole sets the LoggingRole field's value.

SetTags

func (s *CreateServerInput) SetTags(v []*Tag) *CreateServerInput

SetTags sets the Tags field's value.

String

func (s CreateServerInput) String() string

String returns the string representation

Validate

func (s *CreateServerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: