1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. datasync
  5. getLocationObjectStorage

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.datasync.getLocationObjectStorage

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource schema for AWS::DataSync::LocationObjectStorage.

Using getLocationObjectStorage

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLocationObjectStorage(args: GetLocationObjectStorageArgs, opts?: InvokeOptions): Promise<GetLocationObjectStorageResult>
function getLocationObjectStorageOutput(args: GetLocationObjectStorageOutputArgs, opts?: InvokeOptions): Output<GetLocationObjectStorageResult>
Copy
def get_location_object_storage(location_arn: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetLocationObjectStorageResult
def get_location_object_storage_output(location_arn: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetLocationObjectStorageResult]
Copy
func LookupLocationObjectStorage(ctx *Context, args *LookupLocationObjectStorageArgs, opts ...InvokeOption) (*LookupLocationObjectStorageResult, error)
func LookupLocationObjectStorageOutput(ctx *Context, args *LookupLocationObjectStorageOutputArgs, opts ...InvokeOption) LookupLocationObjectStorageResultOutput
Copy

> Note: This function is named LookupLocationObjectStorage in the Go SDK.

public static class GetLocationObjectStorage 
{
    public static Task<GetLocationObjectStorageResult> InvokeAsync(GetLocationObjectStorageArgs args, InvokeOptions? opts = null)
    public static Output<GetLocationObjectStorageResult> Invoke(GetLocationObjectStorageInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLocationObjectStorageResult> getLocationObjectStorage(GetLocationObjectStorageArgs args, InvokeOptions options)
public static Output<GetLocationObjectStorageResult> getLocationObjectStorage(GetLocationObjectStorageArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:datasync:getLocationObjectStorage
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LocationArn This property is required. string
The Amazon Resource Name (ARN) of the location that is created.
LocationArn This property is required. string
The Amazon Resource Name (ARN) of the location that is created.
locationArn This property is required. String
The Amazon Resource Name (ARN) of the location that is created.
locationArn This property is required. string
The Amazon Resource Name (ARN) of the location that is created.
location_arn This property is required. str
The Amazon Resource Name (ARN) of the location that is created.
locationArn This property is required. String
The Amazon Resource Name (ARN) of the location that is created.

getLocationObjectStorage Result

The following output properties are available:

AccessKey string
Optional. The access key is used if credentials are required to access the self-managed object storage server.
AgentArns List<string>
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
LocationArn string
The Amazon Resource Name (ARN) of the location that is created.
LocationUri string
The URL of the object storage location that was described.
ServerCertificate string
X.509 PEM content containing a certificate authority or chain to trust.
ServerPort int
The port that your self-managed server accepts inbound network traffic on.
ServerProtocol Pulumi.AwsNative.DataSync.LocationObjectStorageServerProtocol
The protocol that the object storage server uses to communicate.
Tags List<Pulumi.AwsNative.Outputs.Tag>
An array of key-value pairs to apply to this resource.
AccessKey string
Optional. The access key is used if credentials are required to access the self-managed object storage server.
AgentArns []string
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
LocationArn string
The Amazon Resource Name (ARN) of the location that is created.
LocationUri string
The URL of the object storage location that was described.
ServerCertificate string
X.509 PEM content containing a certificate authority or chain to trust.
ServerPort int
The port that your self-managed server accepts inbound network traffic on.
ServerProtocol LocationObjectStorageServerProtocol
The protocol that the object storage server uses to communicate.
Tags Tag
An array of key-value pairs to apply to this resource.
accessKey String
Optional. The access key is used if credentials are required to access the self-managed object storage server.
agentArns List<String>
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
locationArn String
The Amazon Resource Name (ARN) of the location that is created.
locationUri String
The URL of the object storage location that was described.
serverCertificate String
X.509 PEM content containing a certificate authority or chain to trust.
serverPort Integer
The port that your self-managed server accepts inbound network traffic on.
serverProtocol LocationObjectStorageServerProtocol
The protocol that the object storage server uses to communicate.
tags List<Tag>
An array of key-value pairs to apply to this resource.
accessKey string
Optional. The access key is used if credentials are required to access the self-managed object storage server.
agentArns string[]
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
locationArn string
The Amazon Resource Name (ARN) of the location that is created.
locationUri string
The URL of the object storage location that was described.
serverCertificate string
X.509 PEM content containing a certificate authority or chain to trust.
serverPort number
The port that your self-managed server accepts inbound network traffic on.
serverProtocol LocationObjectStorageServerProtocol
The protocol that the object storage server uses to communicate.
tags Tag[]
An array of key-value pairs to apply to this resource.
access_key str
Optional. The access key is used if credentials are required to access the self-managed object storage server.
agent_arns Sequence[str]
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
location_arn str
The Amazon Resource Name (ARN) of the location that is created.
location_uri str
The URL of the object storage location that was described.
server_certificate str
X.509 PEM content containing a certificate authority or chain to trust.
server_port int
The port that your self-managed server accepts inbound network traffic on.
server_protocol LocationObjectStorageServerProtocol
The protocol that the object storage server uses to communicate.
tags Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
accessKey String
Optional. The access key is used if credentials are required to access the self-managed object storage server.
agentArns List<String>
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
locationArn String
The Amazon Resource Name (ARN) of the location that is created.
locationUri String
The URL of the object storage location that was described.
serverCertificate String
X.509 PEM content containing a certificate authority or chain to trust.
serverPort Number
The port that your self-managed server accepts inbound network traffic on.
serverProtocol "HTTPS" | "HTTP"
The protocol that the object storage server uses to communicate.
tags List<Property Map>
An array of key-value pairs to apply to this resource.

Supporting Types

LocationObjectStorageServerProtocol

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi