CmdID / aws / aws datasync
aws datasync create-location-object-storage
Creates a transfer location for an object storage system. AWS CLI reference
13 options Its page in the AWS CLI reference
Options
--access-keySpecifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.--agent-arns(Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can connect with your object storage system.--bucket-nameSpecifies the name of the object storage bucket involved in the transfer.--cmk-secret-configSpecifies configuration information for a DataSync-managed secret, which includes the SecretKey that DataSync uses to access a specific object storage location, with a customer-managed KMS key.--custom-secret-configSpecifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text, in Secrets Manager.--federated-identitySpecifies the federated identity configuration that allows DataSync to access your object storage using an OpenID Connect (OIDC) token instead of a long-term access key and secret key.--secret-keySpecifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.--server-certificateSpecifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).--server-hostnameSpecifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.--server-portSpecifies the port that your object storage server accepts inbound network traffic on (for example, port 443).--server-protocolSpecifies the protocol that your object storage server uses to communicate.--subdirectorySpecifies the object prefix for your object storage server.--tagsSpecifies the key-value pair that represents a tag that you want to add to the resource.