We recommend new projects start with resources from the AWS provider.
aws-native.datasync.getLocationObjectStorage
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition 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>
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]
func LookupLocationObjectStorage(ctx *Context, args *LookupLocationObjectStorageArgs, opts ...InvokeOption) (*LookupLocationObjectStorageResult, error)
func LookupLocationObjectStorageOutput(ctx *Context, args *LookupLocationObjectStorageOutputArgs, opts ...InvokeOption) LookupLocationObjectStorageResultOutput
> 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)
}
public static CompletableFuture<GetLocationObjectStorageResult> getLocationObjectStorage(GetLocationObjectStorageArgs args, InvokeOptions options)
public static Output<GetLocationObjectStorageResult> getLocationObjectStorage(GetLocationObjectStorageArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:datasync:getLocationObjectStorage
arguments:
# arguments dictionary
The following arguments are supported:
- Location
Arn string - The Amazon Resource Name (ARN) of the location that is created.
- Location
Arn string - The Amazon Resource Name (ARN) of the location that is created.
- location
Arn String - The Amazon Resource Name (ARN) of the location that is created.
- location
Arn string - The Amazon Resource Name (ARN) of the location that is created.
- location_
arn str - The Amazon Resource Name (ARN) of the location that is created.
- location
Arn String - The Amazon Resource Name (ARN) of the location that is created.
getLocationObjectStorage Result
The following output properties are available:
- Access
Key string - Optional. The access key is used if credentials are required to access the self-managed object storage server.
- Agent
Arns List<string> - 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.
- Cmk
Secret Pulumi.Config Aws Native. Data Sync. Outputs. Location Object Storage Cmk Secret Config Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- Custom
Secret Pulumi.Config Aws Native. Data Sync. Outputs. Location Object Storage Custom Secret Config Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- Managed
Secret Pulumi.Config Aws Native. Data Sync. Outputs. Location Object Storage Managed Secret Config - Server
Certificate string - 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 Pulumi.Aws Native. Data Sync. Location Object Storage Server Protocol - The protocol that the object storage server uses to communicate.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Access
Key string - Optional. The access key is used if credentials are required to access the self-managed object storage server.
- Agent
Arns []string - 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.
- Cmk
Secret LocationConfig Object Storage Cmk Secret Config Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- Custom
Secret LocationConfig Object Storage Custom Secret Config Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- Managed
Secret LocationConfig Object Storage Managed Secret Config - Server
Certificate string - 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 LocationObject Storage Server Protocol - The protocol that the object storage server uses to communicate.
- Tag
- An array of key-value pairs to apply to this resource.
- access
Key String - Optional. The access key is used if credentials are required to access the self-managed object storage server.
- agent
Arns List<String> - 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.
- cmk
Secret LocationConfig Object Storage Cmk Secret Config Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- custom
Secret LocationConfig Object Storage Custom Secret Config Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- managed
Secret LocationConfig Object Storage Managed Secret Config - server
Certificate String - X.509 PEM content containing a certificate authority or chain to trust.
- server
Port Integer - The port that your self-managed server accepts inbound network traffic on.
- server
Protocol LocationObject Storage Server Protocol - The protocol that the object storage server uses to communicate.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- access
Key string - Optional. The access key is used if credentials are required to access the self-managed object storage server.
- agent
Arns string[] - 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.
- cmk
Secret LocationConfig Object Storage Cmk Secret Config Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- custom
Secret LocationConfig Object Storage Custom Secret Config Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- managed
Secret LocationConfig Object Storage Managed Secret Config - server
Certificate string - X.509 PEM content containing a certificate authority or chain to trust.
- server
Port number - The port that your self-managed server accepts inbound network traffic on.
- server
Protocol LocationObject Storage Server Protocol - The protocol that the object storage server uses to communicate.
- 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] - 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.
- cmk_
secret_ Locationconfig Object Storage Cmk Secret Config Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- custom_
secret_ Locationconfig Object Storage Custom Secret Config Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- managed_
secret_ Locationconfig Object Storage Managed Secret Config - 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 LocationObject Storage Server Protocol - The protocol that the object storage server uses to communicate.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- access
Key String - Optional. The access key is used if credentials are required to access the self-managed object storage server.
- agent
Arns List<String> - 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.
- cmk
Secret Property MapConfig Specifies 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 AWS KMS key .When you include this paramater as part of a
CreateLocationObjectStorage
request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for theSecretKey
parameter to create a DataSync-managed secret to store the location access credentials.Make sure the DataSync has permission to access the KMS key that you specify.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- custom
Secret Property MapConfig Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
You can use either
CmkSecretConfig
(withSecretKey
) orCustomSecretConfig
(withoutSecretKey
) to provide credentials for aCreateLocationObjectStorage
request. Do not provide both parameters for the same request.- 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.
- managed
Secret Property MapConfig - server
Certificate String - X.509 PEM content containing a certificate authority or chain to trust.
- server
Port Number - The port that your self-managed server accepts inbound network traffic on.
- server
Protocol "HTTPS" | "HTTP" - The protocol that the object storage server uses to communicate.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
LocationObjectStorageCmkSecretConfig
- kms_
key_ strarn - Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn. DataSync provides this key to AWS Secrets Manager.
- secret_
arn str - Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
LocationObjectStorageCustomSecretConfig
- Secret
Access stringRole Arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- Secret
Arn string - Specifies the ARN for a customer created AWS Secrets Manager secret.
- Secret
Access stringRole Arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- Secret
Arn string - Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret
Access StringRole Arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret
Arn String - Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret
Access stringRole Arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret
Arn string - Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret_
access_ strrole_ arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret_
arn str - Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret
Access StringRole Arn - Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret
Arn String - Specifies the ARN for a customer created AWS Secrets Manager secret.
LocationObjectStorageManagedSecretConfig
- Secret
Arn string - Specifies the ARN for an AWS Secrets Manager secret.
- Secret
Arn string - Specifies the ARN for an AWS Secrets Manager secret.
- secret
Arn String - Specifies the ARN for an AWS Secrets Manager secret.
- secret
Arn string - Specifies the ARN for an AWS Secrets Manager secret.
- secret_
arn str - Specifies the ARN for an AWS Secrets Manager secret.
- secret
Arn String - Specifies the ARN for an AWS Secrets Manager secret.
LocationObjectStorageServerProtocol
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.