---
type: resource-type
title: LocationObjectStorage
description: aws resource type AWS::DataSync::LocationObjectStorage
name: LocationObjectStorage
lexicon: aws
resource_type: AWS::DataSync::LocationObjectStorage
---
`AWS::DataSync::LocationObjectStorage`, a resource type of the aws lexicon.

## Properties

- `AccessKey` (`string`, optional): Optional. The access key is used if credentials are required to access the self-managed object storage server.
- `AgentArns` (`string[]`, optional): Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can connect with your object storage system. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.
- `BucketName` (`string`, optional): The name of the bucket on the self-managed object storage server.
- `CmkSecretConfig` (`LocationObjectStorage_CmkSecretConfig`, optional)
- `CustomSecretConfig` (`LocationObjectStorage_CustomSecretConfig`, optional)
- `LocationArn` (`string`, optional): The Amazon Resource Name (ARN) of the location that is created.
- `LocationUri` (`string`, optional): The URL of the object storage location that was described.
- `ManagedSecretConfig` (`LocationObjectStorage_ManagedSecretConfig`, optional)
- `SecretKey` (`string`, optional): Optional. The secret key is used if credentials are required to access the self-managed object storage server.
- `ServerCertificate` (`string`, optional): X.509 PEM content containing a certificate authority or chain to trust.
- `ServerHostname` (`string`, optional): 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.
- `ServerPort` (`number`, optional): The port that your self-managed server accepts inbound network traffic on.
- `ServerProtocol` (`"HTTP" | "HTTPS"`, optional): The protocol that the object storage server uses to communicate.
- `Subdirectory` (`string`, optional): The subdirectory in the self-managed object storage server that is used to read data from.
- `Tags` (`LocationObjectStorage_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `CmkSecretConfig.SecretArn`
- `LocationArn`
- `LocationUri`
- `ManagedSecretConfig`
