aws.datasync.LocationObjectStorage
Explore with Pulumi AI
Manages a Object Storage Location within AWS DataSync.
NOTE: The DataSync Agents must be available before creating this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datasync.LocationObjectStorage("example", {
agentArns: [exampleAwsDatasyncAgent.arn],
serverHostname: "example",
bucketName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.datasync.LocationObjectStorage("example",
agent_arns=[example_aws_datasync_agent["arn"]],
server_hostname="example",
bucket_name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datasync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasync.NewLocationObjectStorage(ctx, "example", &datasync.LocationObjectStorageArgs{
AgentArns: pulumi.StringArray{
exampleAwsDatasyncAgent.Arn,
},
ServerHostname: pulumi.String("example"),
BucketName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataSync.LocationObjectStorage("example", new()
{
AgentArns = new[]
{
exampleAwsDatasyncAgent.Arn,
},
ServerHostname = "example",
BucketName = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.LocationObjectStorage;
import com.pulumi.aws.datasync.LocationObjectStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LocationObjectStorage("example", LocationObjectStorageArgs.builder()
.agentArns(exampleAwsDatasyncAgent.arn())
.serverHostname("example")
.bucketName("example")
.build());
}
}
resources:
example:
type: aws:datasync:LocationObjectStorage
properties:
agentArns:
- ${exampleAwsDatasyncAgent.arn}
serverHostname: example
bucketName: example
Create LocationObjectStorage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocationObjectStorage(name: string, args: LocationObjectStorageArgs, opts?: CustomResourceOptions);
@overload
def LocationObjectStorage(resource_name: str,
args: LocationObjectStorageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocationObjectStorage(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_arns: Optional[Sequence[str]] = None,
bucket_name: Optional[str] = None,
server_hostname: Optional[str] = None,
access_key: Optional[str] = None,
secret_key: Optional[str] = None,
server_certificate: Optional[str] = None,
server_port: Optional[int] = None,
server_protocol: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLocationObjectStorage(ctx *Context, name string, args LocationObjectStorageArgs, opts ...ResourceOption) (*LocationObjectStorage, error)
public LocationObjectStorage(string name, LocationObjectStorageArgs args, CustomResourceOptions? opts = null)
public LocationObjectStorage(String name, LocationObjectStorageArgs args)
public LocationObjectStorage(String name, LocationObjectStorageArgs args, CustomResourceOptions options)
type: aws:datasync:LocationObjectStorage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LocationObjectStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LocationObjectStorageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LocationObjectStorageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocationObjectStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocationObjectStorageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var locationObjectStorageResource = new Aws.DataSync.LocationObjectStorage("locationObjectStorageResource", new()
{
AgentArns = new[]
{
"string",
},
BucketName = "string",
ServerHostname = "string",
AccessKey = "string",
SecretKey = "string",
ServerCertificate = "string",
ServerPort = 0,
ServerProtocol = "string",
Subdirectory = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := datasync.NewLocationObjectStorage(ctx, "locationObjectStorageResource", &datasync.LocationObjectStorageArgs{
AgentArns: pulumi.StringArray{
pulumi.String("string"),
},
BucketName: pulumi.String("string"),
ServerHostname: pulumi.String("string"),
AccessKey: pulumi.String("string"),
SecretKey: pulumi.String("string"),
ServerCertificate: pulumi.String("string"),
ServerPort: pulumi.Int(0),
ServerProtocol: pulumi.String("string"),
Subdirectory: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var locationObjectStorageResource = new LocationObjectStorage("locationObjectStorageResource", LocationObjectStorageArgs.builder()
.agentArns("string")
.bucketName("string")
.serverHostname("string")
.accessKey("string")
.secretKey("string")
.serverCertificate("string")
.serverPort(0)
.serverProtocol("string")
.subdirectory("string")
.tags(Map.of("string", "string"))
.build());
location_object_storage_resource = aws.datasync.LocationObjectStorage("locationObjectStorageResource",
agent_arns=["string"],
bucket_name="string",
server_hostname="string",
access_key="string",
secret_key="string",
server_certificate="string",
server_port=0,
server_protocol="string",
subdirectory="string",
tags={
"string": "string",
})
const locationObjectStorageResource = new aws.datasync.LocationObjectStorage("locationObjectStorageResource", {
agentArns: ["string"],
bucketName: "string",
serverHostname: "string",
accessKey: "string",
secretKey: "string",
serverCertificate: "string",
serverPort: 0,
serverProtocol: "string",
subdirectory: "string",
tags: {
string: "string",
},
});
type: aws:datasync:LocationObjectStorage
properties:
accessKey: string
agentArns:
- string
bucketName: string
secretKey: string
serverCertificate: string
serverHostname: string
serverPort: 0
serverProtocol: string
subdirectory: string
tags:
string: string
LocationObjectStorage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LocationObjectStorage resource accepts the following input properties:
- Agent
Arns List<string> - A list of DataSync Agent ARNs with which this location will be associated.
- Bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- 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. An agent uses this host name to mount the object storage server in a network.
- Access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- Server
Port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - Server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - Subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Agent
Arns []string - A list of DataSync Agent ARNs with which this location will be associated.
- Bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- 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. An agent uses this host name to mount the object storage server in a network.
- Access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- Server
Port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - Server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - Subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- agent
Arns List<String> - A list of DataSync Agent ARNs with which this location will be associated.
- bucket
Name String - The bucket on the self-managed object storage server that is used to read data from.
- 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. An agent uses this host name to mount the object storage server in a network.
- access
Key String - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - secret
Key String - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate String - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- server
Port Integer - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol String - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory String
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- agent
Arns string[] - A list of DataSync Agent ARNs with which this location will be associated.
- bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- 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. An agent uses this host name to mount the object storage server in a network.
- access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- server
Port number - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- agent_
arns Sequence[str] - A list of DataSync Agent ARNs with which this location will be associated.
- bucket_
name str - The bucket on the self-managed object storage server that is used to read data from.
- server_
hostname str - 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. An agent uses this host name to mount the object storage server in a network.
- access_
key str - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - secret_
key str - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server_
certificate str - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- server_
port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server_
protocol str - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory str
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- agent
Arns List<String> - A list of DataSync Agent ARNs with which this location will be associated.
- bucket
Name String - The bucket on the self-managed object storage server that is used to read data from.
- 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. An agent uses this host name to mount the object storage server in a network.
- access
Key String - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - secret
Key String - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate String - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- server
Port Number - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol String - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory String
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocationObjectStorage resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Uri string
- The URL of the Object Storage location that was described.
- Arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Uri string
- The URL of the Object Storage location that was described.
- arn String
- Amazon Resource Name (ARN) of the DataSync Location.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri String
- The URL of the Object Storage location that was described.
- arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri string
- The URL of the Object Storage location that was described.
- arn str
- Amazon Resource Name (ARN) of the DataSync Location.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri str
- The URL of the Object Storage location that was described.
- arn String
- Amazon Resource Name (ARN) of the DataSync Location.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri String
- The URL of the Object Storage location that was described.
Look up Existing LocationObjectStorage Resource
Get an existing LocationObjectStorage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LocationObjectStorageState, opts?: CustomResourceOptions): LocationObjectStorage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
agent_arns: Optional[Sequence[str]] = None,
arn: Optional[str] = None,
bucket_name: Optional[str] = None,
secret_key: Optional[str] = None,
server_certificate: Optional[str] = None,
server_hostname: Optional[str] = None,
server_port: Optional[int] = None,
server_protocol: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
uri: Optional[str] = None) -> LocationObjectStorage
func GetLocationObjectStorage(ctx *Context, name string, id IDInput, state *LocationObjectStorageState, opts ...ResourceOption) (*LocationObjectStorage, error)
public static LocationObjectStorage Get(string name, Input<string> id, LocationObjectStorageState? state, CustomResourceOptions? opts = null)
public static LocationObjectStorage get(String name, Output<String> id, LocationObjectStorageState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Agent
Arns List<string> - A list of DataSync Agent ARNs with which this location will be associated.
- Arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- Bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- Secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- 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. An agent uses this host name to mount the object storage server in a network.
- Server
Port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - Server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - Subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Uri string
- The URL of the Object Storage location that was described.
- Access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Agent
Arns []string - A list of DataSync Agent ARNs with which this location will be associated.
- Arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- Bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- Secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - Server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- 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. An agent uses this host name to mount the object storage server in a network.
- Server
Port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - Server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - Subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Uri string
- The URL of the Object Storage location that was described.
- access
Key String - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - agent
Arns List<String> - A list of DataSync Agent ARNs with which this location will be associated.
- arn String
- Amazon Resource Name (ARN) of the DataSync Location.
- bucket
Name String - The bucket on the self-managed object storage server that is used to read data from.
- secret
Key String - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate String - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- 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. An agent uses this host name to mount the object storage server in a network.
- server
Port Integer - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol String - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory String
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri String
- The URL of the Object Storage location that was described.
- access
Key string - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - agent
Arns string[] - A list of DataSync Agent ARNs with which this location will be associated.
- arn string
- Amazon Resource Name (ARN) of the DataSync Location.
- bucket
Name string - The bucket on the self-managed object storage server that is used to read data from.
- secret
Key string - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate string - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- 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. An agent uses this host name to mount the object storage server in a network.
- server
Port number - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol string - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory string
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri string
- The URL of the Object Storage location that was described.
- access_
key str - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - agent_
arns Sequence[str] - A list of DataSync Agent ARNs with which this location will be associated.
- arn str
- Amazon Resource Name (ARN) of the DataSync Location.
- bucket_
name str - The bucket on the self-managed object storage server that is used to read data from.
- secret_
key str - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server_
certificate str - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- server_
hostname str - 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. An agent uses this host name to mount the object storage server in a network.
- server_
port int - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server_
protocol str - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory str
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri str
- The URL of the Object Storage location that was described.
- access
Key String - The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - agent
Arns List<String> - A list of DataSync Agent ARNs with which this location will be associated.
- arn String
- Amazon Resource Name (ARN) of the DataSync Location.
- bucket
Name String - The bucket on the self-managed object storage server that is used to read data from.
- secret
Key String - The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use
access_key
andsecret_key
to provide the user name and password, respectively. - server
Certificate String - Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem string. The certificate can be up to 32768 bytes (before Base64 encoding).
- 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. An agent uses this host name to mount the object storage server in a network.
- server
Port Number - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (
HTTP
) or TCP 443 (HTTPS
). You can specify a custom port if your self-managed object storage server requires one. - server
Protocol String - The protocol that the object storage server uses to communicate. Valid values are
HTTP
orHTTPS
. - subdirectory String
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - uri String
- The URL of the Object Storage location that was described.
Import
Using pulumi import
, import aws_datasync_location_object_storage
using the Amazon Resource Name (ARN). For example:
$ pulumi import aws:datasync/locationObjectStorage:LocationObjectStorage example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.