Class: Aws::DataSync::Types::CreateLocationObjectStorageRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb

Overview

CreateLocationObjectStorageRequest

Constant Summary collapse

SENSITIVE =
[:secret_key]

Instance Attribute Summary collapse

Instance Attribute Details

#access_keyString

Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#agent_arnsArray<String>

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.

Returns:

  • (Array<String>)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#bucket_nameString

Specifies the name of the object storage bucket involved in the transfer.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#secret_keyString

Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_certificateString

Specifies a file with the certificates that are used to sign the object storage server's certificate (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The file you specify must include the following:

  • The certificate of the signing certificate authority (CA)

  • Any intermediate certificates

  • base64 encoding

  • A .pem extension

The file can be up to 32768 bytes (before base64 encoding).

To use this parameter, configure ServerProtocol to HTTPS.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_hostnameString

Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_portInteger

Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).

Returns:

  • (Integer)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_protocolString

Specifies the protocol that your object storage server uses to communicate.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#subdirectoryString

Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.

Returns:

  • (String)


1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#tagsArray<Types::TagListEntry>

Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.

Returns:



1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1006

class CreateLocationObjectStorageRequest < Struct.new(
  :server_hostname,
  :server_port,
  :server_protocol,
  :subdirectory,
  :bucket_name,
  :access_key,
  :secret_key,
  :agent_arns,
  :tags,
  :server_certificate)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end