Skip to main content

location_object_storage

Gets an individual location_object_storage resource

Overview

Namelocation_object_storage
TypeResource
Descriptionlocation_object_storage
Idawscc.datasync.location_object_storage

Fields

NameDatatypeDescription
access_keystringOptional. The access key is used if credentials are required to access the self-managed object storage server.
agent_arnsarrayThe Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
bucket_namestringThe name of the bucket on the self-managed object storage server.
secret_keystringOptional. The secret key is used if credentials are required to access the self-managed object storage server.
server_certificatestringX.509 PEM content containing a certificate authority or chain to trust.
server_hostnamestringThe 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.
server_portintegerThe port that your self-managed server accepts inbound network traffic on.
server_protocolstringThe protocol that the object storage server uses to communicate.
subdirectorystringThe subdirectory in the self-managed object storage server that is used to read data from.
tagsarrayAn array of key-value pairs to apply to this resource.
location_arnstringThe Amazon Resource Name (ARN) of the location that is created.
location_uristringThe URL of the object storage location that was described.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
access_key,
agent_arns,
bucket_name,
secret_key,
server_certificate,
server_hostname,
server_port,
server_protocol,
subdirectory,
tags,
location_arn,
location_uri
FROM awscc.datasync.location_object_storage
WHERE data__Identifier = '<LocationArn>';

Permissions

To operate on the location_object_storage resource, the following permissions are required:

Read

datasync:DescribeLocationObjectStorage,
datasync:ListTagsForResource

Update

datasync:DescribeLocationObjectStorage,
datasync:ListTagsForResource,
datasync:TagResource,
datasync:UntagResource,
datasync:UpdateLocationObjectStorage

Delete

datasync:DeleteLocation