location_object_storage
Gets an individual location_object_storage
resource
Overview
Name | location_object_storage |
Type | Resource |
Description | location_object_storage |
Id | awscc.datasync.location_object_storage |
Fields
Name | Datatype | Description |
---|---|---|
access_key | string | Optional. The access key is used if credentials are required to access the self-managed object storage server. |
agent_arns | array | The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location. |
bucket_name | string | The name of the bucket on the self-managed object storage server. |
secret_key | string | Optional. The secret key is used if credentials are required to access the self-managed object storage server. |
server_certificate | string | X.509 PEM content containing a certificate authority or chain to trust. |
server_hostname | string | 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. |
server_port | integer | The port that your self-managed server accepts inbound network traffic on. |
server_protocol | string | The protocol that the object storage server uses to communicate. |
subdirectory | string | The subdirectory in the self-managed object storage server that is used to read data from. |
tags | array | An array of key-value pairs to apply to this resource. |
location_arn | string | The Amazon Resource Name (ARN) of the location that is created. |
location_uri | string | The URL of the object storage location that was described. |
region | string | AWS 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