class Aws::DataSync::Types::CreateLocationObjectStorageRequest

CreateLocationObjectStorageRequest

@note When making an API call, you may pass CreateLocationObjectStorageRequest

data as a hash:

    {
      server_hostname: "ServerHostname", # required
      server_port: 1,
      server_protocol: "HTTPS", # accepts HTTPS, HTTP
      subdirectory: "S3Subdirectory",
      bucket_name: "ObjectStorageBucketName", # required
      access_key: "ObjectStorageAccessKey",
      secret_key: "ObjectStorageSecretKey",
      agent_arns: ["AgentArn"], # required
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue",
        },
      ],
    }

@!attribute [rw] server_hostname

The name of the self-managed object storage server. This value is
the IP address or Domain Name Service (DNS) name of the object
storage server. An agent uses this host name to mount the object
storage server in a network.
@return [String]

@!attribute [rw] server_port

The port that your self-managed object storage server accepts
inbound network traffic on. The server port is set by default to TCP
80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
self-managed object storage server requires one.
@return [Integer]

@!attribute [rw] server_protocol

The protocol that the object storage server uses to communicate.
Valid values are HTTP or HTTPS.
@return [String]

@!attribute [rw] subdirectory

The subdirectory in the self-managed object storage server that is
used to read data from.
@return [String]

@!attribute [rw] bucket_name

The bucket on the self-managed object storage server that is used to
read data from.
@return [String]

@!attribute [rw] access_key

Optional. The access key is used if credentials are required to
access the self-managed object storage server. If your object
storage requires a user name and password to authenticate, use
`AccessKey` and `SecretKey` to provide the user name and password,
respectively.
@return [String]

@!attribute [rw] secret_key

Optional. The secret key is used if credentials are required to
access the self-managed object storage server. If your object
storage requires a user name and password to authenticate, use
`AccessKey` and `SecretKey` to provide the user name and password,
respectively.
@return [String]

@!attribute [rw] agent_arns

The Amazon Resource Name (ARN) of the agents associated with the
self-managed object storage server location.
@return [Array<String>]

@!attribute [rw] tags

The key-value pair that represents the tag that you want to add to
the location. The value can be an empty string. We recommend using
tags to name your resources.
@return [Array<Types::TagListEntry>]

@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation

Constants

SENSITIVE