datasync

package
v6.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	pulumi.CustomResourceState

	// DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.
	ActivationKey pulumi.StringOutput `pulumi:"activationKey"`
	// Amazon Resource Name (ARN) of the DataSync Agent.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Name of the DataSync Agent.
	Name pulumi.StringOutput `pulumi:"name"`
	// The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activationKey`.
	PrivateLinkEndpoint pulumi.StringOutput `pulumi:"privateLinkEndpoint"`
	// The ARNs of the security groups used to protect your data transfer task subnets.
	SecurityGroupArns pulumi.StringArrayOutput `pulumi:"securityGroupArns"`
	// The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
	SubnetArns pulumi.StringArrayOutput `pulumi:"subnetArns"`
	// Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
	VpcEndpointId pulumi.StringPtrOutput `pulumi:"vpcEndpointId"`
}

Manages an AWS DataSync Agent deployed on premises.

> **NOTE:** One of `activationKey` or `ipAddress` must be provided for resource creation (agent activation). Neither is required for resource import. If using `ipAddress`, this provider must be able to make an HTTP (port 80) GET request to the specified IP address from where it is running. The agent will turn off that HTTP server after activation.

## Example Usage

```go 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.NewAgent(ctx, "example", &datasync.AgentArgs{
			IpAddress: pulumi.String("1.2.3.4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_agent` using the DataSync Agent Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/agent:Agent example arn:aws:datasync:us-east-1:123456789012:agent/agent-12345678901234567

```

func GetAgent

func GetAgent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AgentState, opts ...pulumi.ResourceOption) (*Agent, error)

GetAgent gets an existing Agent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAgent

func NewAgent(ctx *pulumi.Context,
	name string, args *AgentArgs, opts ...pulumi.ResourceOption) (*Agent, error)

NewAgent registers a new resource with the given unique name, arguments, and options.

func (*Agent) ElementType

func (*Agent) ElementType() reflect.Type

func (*Agent) ToAgentOutput

func (i *Agent) ToAgentOutput() AgentOutput

func (*Agent) ToAgentOutputWithContext

func (i *Agent) ToAgentOutputWithContext(ctx context.Context) AgentOutput

func (*Agent) ToOutput added in v6.1.0

func (i *Agent) ToOutput(ctx context.Context) pulumix.Output[*Agent]

type AgentArgs

type AgentArgs struct {
	// DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.
	ActivationKey pulumi.StringPtrInput
	// DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.
	IpAddress pulumi.StringPtrInput
	// Name of the DataSync Agent.
	Name pulumi.StringPtrInput
	// The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activationKey`.
	PrivateLinkEndpoint pulumi.StringPtrInput
	// The ARNs of the security groups used to protect your data transfer task subnets.
	SecurityGroupArns pulumi.StringArrayInput
	// The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
	SubnetArns pulumi.StringArrayInput
	// Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
	VpcEndpointId pulumi.StringPtrInput
}

The set of arguments for constructing a Agent resource.

func (AgentArgs) ElementType

func (AgentArgs) ElementType() reflect.Type

type AgentArray

type AgentArray []AgentInput

func (AgentArray) ElementType

func (AgentArray) ElementType() reflect.Type

func (AgentArray) ToAgentArrayOutput

func (i AgentArray) ToAgentArrayOutput() AgentArrayOutput

func (AgentArray) ToAgentArrayOutputWithContext

func (i AgentArray) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput

func (AgentArray) ToOutput added in v6.1.0

func (i AgentArray) ToOutput(ctx context.Context) pulumix.Output[[]*Agent]

type AgentArrayInput

type AgentArrayInput interface {
	pulumi.Input

	ToAgentArrayOutput() AgentArrayOutput
	ToAgentArrayOutputWithContext(context.Context) AgentArrayOutput
}

AgentArrayInput is an input type that accepts AgentArray and AgentArrayOutput values. You can construct a concrete instance of `AgentArrayInput` via:

AgentArray{ AgentArgs{...} }

type AgentArrayOutput

type AgentArrayOutput struct{ *pulumi.OutputState }

func (AgentArrayOutput) ElementType

func (AgentArrayOutput) ElementType() reflect.Type

func (AgentArrayOutput) Index

func (AgentArrayOutput) ToAgentArrayOutput

func (o AgentArrayOutput) ToAgentArrayOutput() AgentArrayOutput

func (AgentArrayOutput) ToAgentArrayOutputWithContext

func (o AgentArrayOutput) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput

func (AgentArrayOutput) ToOutput added in v6.1.0

func (o AgentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Agent]

type AgentInput

type AgentInput interface {
	pulumi.Input

	ToAgentOutput() AgentOutput
	ToAgentOutputWithContext(ctx context.Context) AgentOutput
}

type AgentMap

type AgentMap map[string]AgentInput

func (AgentMap) ElementType

func (AgentMap) ElementType() reflect.Type

func (AgentMap) ToAgentMapOutput

func (i AgentMap) ToAgentMapOutput() AgentMapOutput

func (AgentMap) ToAgentMapOutputWithContext

func (i AgentMap) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput

func (AgentMap) ToOutput added in v6.1.0

func (i AgentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Agent]

type AgentMapInput

type AgentMapInput interface {
	pulumi.Input

	ToAgentMapOutput() AgentMapOutput
	ToAgentMapOutputWithContext(context.Context) AgentMapOutput
}

AgentMapInput is an input type that accepts AgentMap and AgentMapOutput values. You can construct a concrete instance of `AgentMapInput` via:

AgentMap{ "key": AgentArgs{...} }

type AgentMapOutput

type AgentMapOutput struct{ *pulumi.OutputState }

func (AgentMapOutput) ElementType

func (AgentMapOutput) ElementType() reflect.Type

func (AgentMapOutput) MapIndex

func (AgentMapOutput) ToAgentMapOutput

func (o AgentMapOutput) ToAgentMapOutput() AgentMapOutput

func (AgentMapOutput) ToAgentMapOutputWithContext

func (o AgentMapOutput) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput

func (AgentMapOutput) ToOutput added in v6.1.0

func (o AgentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Agent]

type AgentOutput

type AgentOutput struct{ *pulumi.OutputState }

func (AgentOutput) ActivationKey

func (o AgentOutput) ActivationKey() pulumi.StringOutput

DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.

func (AgentOutput) Arn

Amazon Resource Name (ARN) of the DataSync Agent.

func (AgentOutput) ElementType

func (AgentOutput) ElementType() reflect.Type

func (AgentOutput) IpAddress

func (o AgentOutput) IpAddress() pulumi.StringOutput

DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.

func (AgentOutput) Name

func (o AgentOutput) Name() pulumi.StringOutput

Name of the DataSync Agent.

func (AgentOutput) PrivateLinkEndpoint

func (o AgentOutput) PrivateLinkEndpoint() pulumi.StringOutput

The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activationKey`.

func (AgentOutput) SecurityGroupArns

func (o AgentOutput) SecurityGroupArns() pulumi.StringArrayOutput

The ARNs of the security groups used to protect your data transfer task subnets.

func (AgentOutput) SubnetArns

func (o AgentOutput) SubnetArns() pulumi.StringArrayOutput

The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.

func (AgentOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (AgentOutput) TagsAll deprecated

func (o AgentOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (AgentOutput) ToAgentOutput

func (o AgentOutput) ToAgentOutput() AgentOutput

func (AgentOutput) ToAgentOutputWithContext

func (o AgentOutput) ToAgentOutputWithContext(ctx context.Context) AgentOutput

func (AgentOutput) ToOutput added in v6.1.0

func (o AgentOutput) ToOutput(ctx context.Context) pulumix.Output[*Agent]

func (AgentOutput) VpcEndpointId

func (o AgentOutput) VpcEndpointId() pulumi.StringPtrOutput

The ID of the VPC (virtual private cloud) endpoint that the agent has access to.

type AgentState

type AgentState struct {
	// DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation.
	ActivationKey pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the DataSync Agent.
	Arn pulumi.StringPtrInput
	// DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running.
	IpAddress pulumi.StringPtrInput
	// Name of the DataSync Agent.
	Name pulumi.StringPtrInput
	// The IP address of the VPC endpoint the agent should connect to when retrieving an activation key during resource creation. Conflicts with `activationKey`.
	PrivateLinkEndpoint pulumi.StringPtrInput
	// The ARNs of the security groups used to protect your data transfer task subnets.
	SecurityGroupArns pulumi.StringArrayInput
	// The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
	SubnetArns pulumi.StringArrayInput
	// Key-value pairs of resource tags to assign to the DataSync Agent. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The ID of the VPC (virtual private cloud) endpoint that the agent has access to.
	VpcEndpointId pulumi.StringPtrInput
}

func (AgentState) ElementType

func (AgentState) ElementType() reflect.Type

type EfsLocation

type EfsLocation struct {
	pulumi.CustomResourceState

	// Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
	AccessPointArn pulumi.StringPtrOutput `pulumi:"accessPointArn"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block containing EC2 configurations for connecting to the EFS File System.
	Ec2Config EfsLocationEc2ConfigOutput `pulumi:"ec2Config"`
	// Amazon Resource Name (ARN) of EFS File System.
	EfsFileSystemArn pulumi.StringOutput `pulumi:"efsFileSystemArn"`
	// Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
	FileSystemAccessRoleArn pulumi.StringPtrOutput `pulumi:"fileSystemAccessRoleArn"`
	// Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
	InTransitEncryption pulumi.StringPtrOutput `pulumi:"inTransitEncryption"`
	// Subdirectory to perform actions as source or destination. Default `/`.
	Subdirectory pulumi.StringPtrOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
}

Manages an AWS DataSync EFS Location.

> **NOTE:** The EFS File System must have a mounted EFS Mount Target before creating this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"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.NewEfsLocation(ctx, "example", &datasync.EfsLocationArgs{
			EfsFileSystemArn: pulumi.Any(aws_efs_mount_target.Example.File_system_arn),
			Ec2Config: &datasync.EfsLocationEc2ConfigArgs{
				SecurityGroupArns: pulumi.StringArray{
					aws_security_group.Example.Arn,
				},
				SubnetArn: pulumi.Any(aws_subnet.Example.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_efs` using the DataSync Task Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/efsLocation:EfsLocation example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetEfsLocation

func GetEfsLocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EfsLocationState, opts ...pulumi.ResourceOption) (*EfsLocation, error)

GetEfsLocation gets an existing EfsLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEfsLocation

func NewEfsLocation(ctx *pulumi.Context,
	name string, args *EfsLocationArgs, opts ...pulumi.ResourceOption) (*EfsLocation, error)

NewEfsLocation registers a new resource with the given unique name, arguments, and options.

func (*EfsLocation) ElementType

func (*EfsLocation) ElementType() reflect.Type

func (*EfsLocation) ToEfsLocationOutput

func (i *EfsLocation) ToEfsLocationOutput() EfsLocationOutput

func (*EfsLocation) ToEfsLocationOutputWithContext

func (i *EfsLocation) ToEfsLocationOutputWithContext(ctx context.Context) EfsLocationOutput

func (*EfsLocation) ToOutput added in v6.1.0

func (i *EfsLocation) ToOutput(ctx context.Context) pulumix.Output[*EfsLocation]

type EfsLocationArgs

type EfsLocationArgs struct {
	// Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
	AccessPointArn pulumi.StringPtrInput
	// Configuration block containing EC2 configurations for connecting to the EFS File System.
	Ec2Config EfsLocationEc2ConfigInput
	// Amazon Resource Name (ARN) of EFS File System.
	EfsFileSystemArn pulumi.StringInput
	// Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
	FileSystemAccessRoleArn pulumi.StringPtrInput
	// Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
	InTransitEncryption pulumi.StringPtrInput
	// Subdirectory to perform actions as source or destination. Default `/`.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a EfsLocation resource.

func (EfsLocationArgs) ElementType

func (EfsLocationArgs) ElementType() reflect.Type

type EfsLocationArray

type EfsLocationArray []EfsLocationInput

func (EfsLocationArray) ElementType

func (EfsLocationArray) ElementType() reflect.Type

func (EfsLocationArray) ToEfsLocationArrayOutput

func (i EfsLocationArray) ToEfsLocationArrayOutput() EfsLocationArrayOutput

func (EfsLocationArray) ToEfsLocationArrayOutputWithContext

func (i EfsLocationArray) ToEfsLocationArrayOutputWithContext(ctx context.Context) EfsLocationArrayOutput

func (EfsLocationArray) ToOutput added in v6.1.0

type EfsLocationArrayInput

type EfsLocationArrayInput interface {
	pulumi.Input

	ToEfsLocationArrayOutput() EfsLocationArrayOutput
	ToEfsLocationArrayOutputWithContext(context.Context) EfsLocationArrayOutput
}

EfsLocationArrayInput is an input type that accepts EfsLocationArray and EfsLocationArrayOutput values. You can construct a concrete instance of `EfsLocationArrayInput` via:

EfsLocationArray{ EfsLocationArgs{...} }

type EfsLocationArrayOutput

type EfsLocationArrayOutput struct{ *pulumi.OutputState }

func (EfsLocationArrayOutput) ElementType

func (EfsLocationArrayOutput) ElementType() reflect.Type

func (EfsLocationArrayOutput) Index

func (EfsLocationArrayOutput) ToEfsLocationArrayOutput

func (o EfsLocationArrayOutput) ToEfsLocationArrayOutput() EfsLocationArrayOutput

func (EfsLocationArrayOutput) ToEfsLocationArrayOutputWithContext

func (o EfsLocationArrayOutput) ToEfsLocationArrayOutputWithContext(ctx context.Context) EfsLocationArrayOutput

func (EfsLocationArrayOutput) ToOutput added in v6.1.0

type EfsLocationEc2Config

type EfsLocationEc2Config struct {
	// List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
	SecurityGroupArns []string `pulumi:"securityGroupArns"`
	// Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.
	SubnetArn string `pulumi:"subnetArn"`
}

type EfsLocationEc2ConfigArgs

type EfsLocationEc2ConfigArgs struct {
	// List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
	SecurityGroupArns pulumi.StringArrayInput `pulumi:"securityGroupArns"`
	// Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.
	SubnetArn pulumi.StringInput `pulumi:"subnetArn"`
}

func (EfsLocationEc2ConfigArgs) ElementType

func (EfsLocationEc2ConfigArgs) ElementType() reflect.Type

func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutput

func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput

func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutputWithContext

func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput

func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutput

func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutputWithContext

func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigArgs) ToOutput added in v6.1.0

type EfsLocationEc2ConfigInput

type EfsLocationEc2ConfigInput interface {
	pulumi.Input

	ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput
	ToEfsLocationEc2ConfigOutputWithContext(context.Context) EfsLocationEc2ConfigOutput
}

EfsLocationEc2ConfigInput is an input type that accepts EfsLocationEc2ConfigArgs and EfsLocationEc2ConfigOutput values. You can construct a concrete instance of `EfsLocationEc2ConfigInput` via:

EfsLocationEc2ConfigArgs{...}

type EfsLocationEc2ConfigOutput

type EfsLocationEc2ConfigOutput struct{ *pulumi.OutputState }

func (EfsLocationEc2ConfigOutput) ElementType

func (EfsLocationEc2ConfigOutput) ElementType() reflect.Type

func (EfsLocationEc2ConfigOutput) SecurityGroupArns

func (o EfsLocationEc2ConfigOutput) SecurityGroupArns() pulumi.StringArrayOutput

List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.

func (EfsLocationEc2ConfigOutput) SubnetArn

Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.

func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutput

func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput

func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutputWithContext

func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput

func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutput

func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutputWithContext

func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigOutput) ToOutput added in v6.1.0

type EfsLocationEc2ConfigPtrInput

type EfsLocationEc2ConfigPtrInput interface {
	pulumi.Input

	ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
	ToEfsLocationEc2ConfigPtrOutputWithContext(context.Context) EfsLocationEc2ConfigPtrOutput
}

EfsLocationEc2ConfigPtrInput is an input type that accepts EfsLocationEc2ConfigArgs, EfsLocationEc2ConfigPtr and EfsLocationEc2ConfigPtrOutput values. You can construct a concrete instance of `EfsLocationEc2ConfigPtrInput` via:

        EfsLocationEc2ConfigArgs{...}

or:

        nil

type EfsLocationEc2ConfigPtrOutput

type EfsLocationEc2ConfigPtrOutput struct{ *pulumi.OutputState }

func (EfsLocationEc2ConfigPtrOutput) Elem

func (EfsLocationEc2ConfigPtrOutput) ElementType

func (EfsLocationEc2ConfigPtrOutput) SecurityGroupArns

List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.

func (EfsLocationEc2ConfigPtrOutput) SubnetArn

Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.

func (EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutput

func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutputWithContext

func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput

func (EfsLocationEc2ConfigPtrOutput) ToOutput added in v6.1.0

type EfsLocationInput

type EfsLocationInput interface {
	pulumi.Input

	ToEfsLocationOutput() EfsLocationOutput
	ToEfsLocationOutputWithContext(ctx context.Context) EfsLocationOutput
}

type EfsLocationMap

type EfsLocationMap map[string]EfsLocationInput

func (EfsLocationMap) ElementType

func (EfsLocationMap) ElementType() reflect.Type

func (EfsLocationMap) ToEfsLocationMapOutput

func (i EfsLocationMap) ToEfsLocationMapOutput() EfsLocationMapOutput

func (EfsLocationMap) ToEfsLocationMapOutputWithContext

func (i EfsLocationMap) ToEfsLocationMapOutputWithContext(ctx context.Context) EfsLocationMapOutput

func (EfsLocationMap) ToOutput added in v6.1.0

type EfsLocationMapInput

type EfsLocationMapInput interface {
	pulumi.Input

	ToEfsLocationMapOutput() EfsLocationMapOutput
	ToEfsLocationMapOutputWithContext(context.Context) EfsLocationMapOutput
}

EfsLocationMapInput is an input type that accepts EfsLocationMap and EfsLocationMapOutput values. You can construct a concrete instance of `EfsLocationMapInput` via:

EfsLocationMap{ "key": EfsLocationArgs{...} }

type EfsLocationMapOutput

type EfsLocationMapOutput struct{ *pulumi.OutputState }

func (EfsLocationMapOutput) ElementType

func (EfsLocationMapOutput) ElementType() reflect.Type

func (EfsLocationMapOutput) MapIndex

func (EfsLocationMapOutput) ToEfsLocationMapOutput

func (o EfsLocationMapOutput) ToEfsLocationMapOutput() EfsLocationMapOutput

func (EfsLocationMapOutput) ToEfsLocationMapOutputWithContext

func (o EfsLocationMapOutput) ToEfsLocationMapOutputWithContext(ctx context.Context) EfsLocationMapOutput

func (EfsLocationMapOutput) ToOutput added in v6.1.0

type EfsLocationOutput

type EfsLocationOutput struct{ *pulumi.OutputState }

func (EfsLocationOutput) AccessPointArn

func (o EfsLocationOutput) AccessPointArn() pulumi.StringPtrOutput

Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

func (EfsLocationOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (EfsLocationOutput) Ec2Config

Configuration block containing EC2 configurations for connecting to the EFS File System.

func (EfsLocationOutput) EfsFileSystemArn

func (o EfsLocationOutput) EfsFileSystemArn() pulumi.StringOutput

Amazon Resource Name (ARN) of EFS File System.

func (EfsLocationOutput) ElementType

func (EfsLocationOutput) ElementType() reflect.Type

func (EfsLocationOutput) FileSystemAccessRoleArn

func (o EfsLocationOutput) FileSystemAccessRoleArn() pulumi.StringPtrOutput

Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

func (EfsLocationOutput) InTransitEncryption

func (o EfsLocationOutput) InTransitEncryption() pulumi.StringPtrOutput

Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.

func (EfsLocationOutput) Subdirectory

func (o EfsLocationOutput) Subdirectory() pulumi.StringPtrOutput

Subdirectory to perform actions as source or destination. Default `/`.

func (EfsLocationOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EfsLocationOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (EfsLocationOutput) ToEfsLocationOutput

func (o EfsLocationOutput) ToEfsLocationOutput() EfsLocationOutput

func (EfsLocationOutput) ToEfsLocationOutputWithContext

func (o EfsLocationOutput) ToEfsLocationOutputWithContext(ctx context.Context) EfsLocationOutput

func (EfsLocationOutput) ToOutput added in v6.1.0

func (EfsLocationOutput) Uri

type EfsLocationState

type EfsLocationState struct {
	// Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
	AccessPointArn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// Configuration block containing EC2 configurations for connecting to the EFS File System.
	Ec2Config EfsLocationEc2ConfigPtrInput
	// Amazon Resource Name (ARN) of EFS File System.
	EfsFileSystemArn pulumi.StringPtrInput
	// Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
	FileSystemAccessRoleArn pulumi.StringPtrInput
	// Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system. Valid values are `NONE` and `TLS1_2`.
	InTransitEncryption pulumi.StringPtrInput
	// Subdirectory to perform actions as source or destination. Default `/`.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
}

func (EfsLocationState) ElementType

func (EfsLocationState) ElementType() reflect.Type

type FsxOpenZfsFileSystem

type FsxOpenZfsFileSystem struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The time that the FSx for openzfs location was created.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
	FsxFilesystemArn pulumi.StringOutput `pulumi:"fsxFilesystemArn"`
	// The type of protocol that DataSync uses to access your file system. See below.
	Protocol FsxOpenZfsFileSystemProtocolOutput `pulumi:"protocol"`
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
	SecurityGroupArns pulumi.StringArrayOutput `pulumi:"securityGroupArns"`
	// Subdirectory to perform actions as source or destination. Must start with `/fsx`.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The URL of the FSx for openzfs location that was described.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an AWS DataSync FSx OpenZfs Location.

## Example Usage

```go 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.NewFsxOpenZfsFileSystem(ctx, "example", &datasync.FsxOpenZfsFileSystemArgs{
			FsxFilesystemArn: pulumi.Any(aws_fsx_openzfs_file_system.Example.Arn),
			SecurityGroupArns: pulumi.StringArray{
				aws_security_group.Example.Arn,
			},
			Protocol: &datasync.FsxOpenZfsFileSystemProtocolArgs{
				Nfs: &datasync.FsxOpenZfsFileSystemProtocolNfsArgs{
					MountOptions: &datasync.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs{
						Version: pulumi.String("AUTOMATIC"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_fsx_openzfs_file_system` using the `DataSync-ARN#FSx-openzfs-ARN`. For example:

```sh

$ pulumi import aws:datasync/fsxOpenZfsFileSystem:FsxOpenZfsFileSystem example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:file-system/fs-08e04cd442c1bb94a

```

func GetFsxOpenZfsFileSystem

func GetFsxOpenZfsFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FsxOpenZfsFileSystemState, opts ...pulumi.ResourceOption) (*FsxOpenZfsFileSystem, error)

GetFsxOpenZfsFileSystem gets an existing FsxOpenZfsFileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFsxOpenZfsFileSystem

func NewFsxOpenZfsFileSystem(ctx *pulumi.Context,
	name string, args *FsxOpenZfsFileSystemArgs, opts ...pulumi.ResourceOption) (*FsxOpenZfsFileSystem, error)

NewFsxOpenZfsFileSystem registers a new resource with the given unique name, arguments, and options.

func (*FsxOpenZfsFileSystem) ElementType

func (*FsxOpenZfsFileSystem) ElementType() reflect.Type

func (*FsxOpenZfsFileSystem) ToFsxOpenZfsFileSystemOutput

func (i *FsxOpenZfsFileSystem) ToFsxOpenZfsFileSystemOutput() FsxOpenZfsFileSystemOutput

func (*FsxOpenZfsFileSystem) ToFsxOpenZfsFileSystemOutputWithContext

func (i *FsxOpenZfsFileSystem) ToFsxOpenZfsFileSystemOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemOutput

func (*FsxOpenZfsFileSystem) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemArgs

type FsxOpenZfsFileSystemArgs struct {
	// The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
	FsxFilesystemArn pulumi.StringInput
	// The type of protocol that DataSync uses to access your file system. See below.
	Protocol FsxOpenZfsFileSystemProtocolInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination. Must start with `/fsx`.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a FsxOpenZfsFileSystem resource.

func (FsxOpenZfsFileSystemArgs) ElementType

func (FsxOpenZfsFileSystemArgs) ElementType() reflect.Type

type FsxOpenZfsFileSystemArray

type FsxOpenZfsFileSystemArray []FsxOpenZfsFileSystemInput

func (FsxOpenZfsFileSystemArray) ElementType

func (FsxOpenZfsFileSystemArray) ElementType() reflect.Type

func (FsxOpenZfsFileSystemArray) ToFsxOpenZfsFileSystemArrayOutput

func (i FsxOpenZfsFileSystemArray) ToFsxOpenZfsFileSystemArrayOutput() FsxOpenZfsFileSystemArrayOutput

func (FsxOpenZfsFileSystemArray) ToFsxOpenZfsFileSystemArrayOutputWithContext

func (i FsxOpenZfsFileSystemArray) ToFsxOpenZfsFileSystemArrayOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemArrayOutput

func (FsxOpenZfsFileSystemArray) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemArrayInput

type FsxOpenZfsFileSystemArrayInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemArrayOutput() FsxOpenZfsFileSystemArrayOutput
	ToFsxOpenZfsFileSystemArrayOutputWithContext(context.Context) FsxOpenZfsFileSystemArrayOutput
}

FsxOpenZfsFileSystemArrayInput is an input type that accepts FsxOpenZfsFileSystemArray and FsxOpenZfsFileSystemArrayOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemArrayInput` via:

FsxOpenZfsFileSystemArray{ FsxOpenZfsFileSystemArgs{...} }

type FsxOpenZfsFileSystemArrayOutput

type FsxOpenZfsFileSystemArrayOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemArrayOutput) ElementType

func (FsxOpenZfsFileSystemArrayOutput) Index

func (FsxOpenZfsFileSystemArrayOutput) ToFsxOpenZfsFileSystemArrayOutput

func (o FsxOpenZfsFileSystemArrayOutput) ToFsxOpenZfsFileSystemArrayOutput() FsxOpenZfsFileSystemArrayOutput

func (FsxOpenZfsFileSystemArrayOutput) ToFsxOpenZfsFileSystemArrayOutputWithContext

func (o FsxOpenZfsFileSystemArrayOutput) ToFsxOpenZfsFileSystemArrayOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemArrayOutput

func (FsxOpenZfsFileSystemArrayOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemInput

type FsxOpenZfsFileSystemInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemOutput() FsxOpenZfsFileSystemOutput
	ToFsxOpenZfsFileSystemOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemOutput
}

type FsxOpenZfsFileSystemMap

type FsxOpenZfsFileSystemMap map[string]FsxOpenZfsFileSystemInput

func (FsxOpenZfsFileSystemMap) ElementType

func (FsxOpenZfsFileSystemMap) ElementType() reflect.Type

func (FsxOpenZfsFileSystemMap) ToFsxOpenZfsFileSystemMapOutput

func (i FsxOpenZfsFileSystemMap) ToFsxOpenZfsFileSystemMapOutput() FsxOpenZfsFileSystemMapOutput

func (FsxOpenZfsFileSystemMap) ToFsxOpenZfsFileSystemMapOutputWithContext

func (i FsxOpenZfsFileSystemMap) ToFsxOpenZfsFileSystemMapOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemMapOutput

func (FsxOpenZfsFileSystemMap) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemMapInput

type FsxOpenZfsFileSystemMapInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemMapOutput() FsxOpenZfsFileSystemMapOutput
	ToFsxOpenZfsFileSystemMapOutputWithContext(context.Context) FsxOpenZfsFileSystemMapOutput
}

FsxOpenZfsFileSystemMapInput is an input type that accepts FsxOpenZfsFileSystemMap and FsxOpenZfsFileSystemMapOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemMapInput` via:

FsxOpenZfsFileSystemMap{ "key": FsxOpenZfsFileSystemArgs{...} }

type FsxOpenZfsFileSystemMapOutput

type FsxOpenZfsFileSystemMapOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemMapOutput) ElementType

func (FsxOpenZfsFileSystemMapOutput) MapIndex

func (FsxOpenZfsFileSystemMapOutput) ToFsxOpenZfsFileSystemMapOutput

func (o FsxOpenZfsFileSystemMapOutput) ToFsxOpenZfsFileSystemMapOutput() FsxOpenZfsFileSystemMapOutput

func (FsxOpenZfsFileSystemMapOutput) ToFsxOpenZfsFileSystemMapOutputWithContext

func (o FsxOpenZfsFileSystemMapOutput) ToFsxOpenZfsFileSystemMapOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemMapOutput

func (FsxOpenZfsFileSystemMapOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemOutput

type FsxOpenZfsFileSystemOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (FsxOpenZfsFileSystemOutput) CreationTime

The time that the FSx for openzfs location was created.

func (FsxOpenZfsFileSystemOutput) ElementType

func (FsxOpenZfsFileSystemOutput) ElementType() reflect.Type

func (FsxOpenZfsFileSystemOutput) FsxFilesystemArn

func (o FsxOpenZfsFileSystemOutput) FsxFilesystemArn() pulumi.StringOutput

The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.

func (FsxOpenZfsFileSystemOutput) Protocol

The type of protocol that DataSync uses to access your file system. See below.

func (FsxOpenZfsFileSystemOutput) SecurityGroupArns

func (o FsxOpenZfsFileSystemOutput) SecurityGroupArns() pulumi.StringArrayOutput

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.

func (FsxOpenZfsFileSystemOutput) Subdirectory

Subdirectory to perform actions as source or destination. Must start with `/fsx`.

func (FsxOpenZfsFileSystemOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (FsxOpenZfsFileSystemOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (FsxOpenZfsFileSystemOutput) ToFsxOpenZfsFileSystemOutput

func (o FsxOpenZfsFileSystemOutput) ToFsxOpenZfsFileSystemOutput() FsxOpenZfsFileSystemOutput

func (FsxOpenZfsFileSystemOutput) ToFsxOpenZfsFileSystemOutputWithContext

func (o FsxOpenZfsFileSystemOutput) ToFsxOpenZfsFileSystemOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemOutput

func (FsxOpenZfsFileSystemOutput) ToOutput added in v6.1.0

func (FsxOpenZfsFileSystemOutput) Uri

The URL of the FSx for openzfs location that was described.

type FsxOpenZfsFileSystemProtocol

type FsxOpenZfsFileSystemProtocol struct {
	// Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
	Nfs FsxOpenZfsFileSystemProtocolNfs `pulumi:"nfs"`
}

type FsxOpenZfsFileSystemProtocolArgs

type FsxOpenZfsFileSystemProtocolArgs struct {
	// Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
	Nfs FsxOpenZfsFileSystemProtocolNfsInput `pulumi:"nfs"`
}

func (FsxOpenZfsFileSystemProtocolArgs) ElementType

func (FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolOutput

func (i FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolOutput() FsxOpenZfsFileSystemProtocolOutput

func (FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolOutputWithContext

func (i FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolOutput

func (FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolPtrOutput

func (i FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolPtrOutput() FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext

func (i FsxOpenZfsFileSystemProtocolArgs) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolArgs) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolInput

type FsxOpenZfsFileSystemProtocolInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolOutput() FsxOpenZfsFileSystemProtocolOutput
	ToFsxOpenZfsFileSystemProtocolOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolOutput
}

FsxOpenZfsFileSystemProtocolInput is an input type that accepts FsxOpenZfsFileSystemProtocolArgs and FsxOpenZfsFileSystemProtocolOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolInput` via:

FsxOpenZfsFileSystemProtocolArgs{...}

type FsxOpenZfsFileSystemProtocolNfs

type FsxOpenZfsFileSystemProtocolNfs struct {
	// Represents the mount options that are available for DataSync to access an NFS location. See below.
	MountOptions FsxOpenZfsFileSystemProtocolNfsMountOptions `pulumi:"mountOptions"`
}

type FsxOpenZfsFileSystemProtocolNfsArgs

type FsxOpenZfsFileSystemProtocolNfsArgs struct {
	// Represents the mount options that are available for DataSync to access an NFS location. See below.
	MountOptions FsxOpenZfsFileSystemProtocolNfsMountOptionsInput `pulumi:"mountOptions"`
}

func (FsxOpenZfsFileSystemProtocolNfsArgs) ElementType

func (FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsOutput

func (i FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsOutput() FsxOpenZfsFileSystemProtocolNfsOutput

func (FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsOutputWithContext

func (i FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsOutput

func (FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput

func (i FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput() FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext

func (i FsxOpenZfsFileSystemProtocolNfsArgs) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsArgs) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolNfsInput

type FsxOpenZfsFileSystemProtocolNfsInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolNfsOutput() FsxOpenZfsFileSystemProtocolNfsOutput
	ToFsxOpenZfsFileSystemProtocolNfsOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolNfsOutput
}

FsxOpenZfsFileSystemProtocolNfsInput is an input type that accepts FsxOpenZfsFileSystemProtocolNfsArgs and FsxOpenZfsFileSystemProtocolNfsOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolNfsInput` via:

FsxOpenZfsFileSystemProtocolNfsArgs{...}

type FsxOpenZfsFileSystemProtocolNfsMountOptions

type FsxOpenZfsFileSystemProtocolNfsMountOptions struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`
	Version *string `pulumi:"version"`
}

type FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs

type FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ElementType

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (i FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutputWithContext

func (i FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (i FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext

func (i FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolNfsMountOptionsInput

type FsxOpenZfsFileSystemProtocolNfsMountOptionsInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput
	ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput
}

FsxOpenZfsFileSystemProtocolNfsMountOptionsInput is an input type that accepts FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs and FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolNfsMountOptionsInput` via:

FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs{...}

type FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

type FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ElementType

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (o FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (o FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) ToOutput added in v6.1.0

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsOutput) Version

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`

type FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrInput

type FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput() FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput
	ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput
}

FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrInput is an input type that accepts FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs, FsxOpenZfsFileSystemProtocolNfsMountOptionsPtr and FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrInput` via:

        FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs{...}

or:

        nil

type FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

type FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) Elem

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) ElementType

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) ToOutput added in v6.1.0

func (FsxOpenZfsFileSystemProtocolNfsMountOptionsPtrOutput) Version

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`

type FsxOpenZfsFileSystemProtocolNfsOutput

type FsxOpenZfsFileSystemProtocolNfsOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolNfsOutput) ElementType

func (FsxOpenZfsFileSystemProtocolNfsOutput) MountOptions

Represents the mount options that are available for DataSync to access an NFS location. See below.

func (FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsOutput

func (o FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsOutput() FsxOpenZfsFileSystemProtocolNfsOutput

func (FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsOutput

func (FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput

func (o FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput() FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolNfsPtrInput

type FsxOpenZfsFileSystemProtocolNfsPtrInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolNfsPtrOutput() FsxOpenZfsFileSystemProtocolNfsPtrOutput
	ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolNfsPtrOutput
}

FsxOpenZfsFileSystemProtocolNfsPtrInput is an input type that accepts FsxOpenZfsFileSystemProtocolNfsArgs, FsxOpenZfsFileSystemProtocolNfsPtr and FsxOpenZfsFileSystemProtocolNfsPtrOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolNfsPtrInput` via:

        FsxOpenZfsFileSystemProtocolNfsArgs{...}

or:

        nil

type FsxOpenZfsFileSystemProtocolNfsPtrOutput

type FsxOpenZfsFileSystemProtocolNfsPtrOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) Elem

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) ElementType

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) MountOptions

Represents the mount options that are available for DataSync to access an NFS location. See below.

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput

func (o FsxOpenZfsFileSystemProtocolNfsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutput() FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolNfsPtrOutput) ToFsxOpenZfsFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolNfsPtrOutput

func (FsxOpenZfsFileSystemProtocolNfsPtrOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolOutput

type FsxOpenZfsFileSystemProtocolOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolOutput) ElementType

func (FsxOpenZfsFileSystemProtocolOutput) Nfs

Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.

func (FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolOutput

func (o FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolOutput() FsxOpenZfsFileSystemProtocolOutput

func (FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolOutputWithContext

func (o FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolOutput

func (FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolPtrOutput

func (o FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolPtrOutput() FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolOutput) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemProtocolPtrInput

type FsxOpenZfsFileSystemProtocolPtrInput interface {
	pulumi.Input

	ToFsxOpenZfsFileSystemProtocolPtrOutput() FsxOpenZfsFileSystemProtocolPtrOutput
	ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext(context.Context) FsxOpenZfsFileSystemProtocolPtrOutput
}

FsxOpenZfsFileSystemProtocolPtrInput is an input type that accepts FsxOpenZfsFileSystemProtocolArgs, FsxOpenZfsFileSystemProtocolPtr and FsxOpenZfsFileSystemProtocolPtrOutput values. You can construct a concrete instance of `FsxOpenZfsFileSystemProtocolPtrInput` via:

        FsxOpenZfsFileSystemProtocolArgs{...}

or:

        nil

type FsxOpenZfsFileSystemProtocolPtrOutput

type FsxOpenZfsFileSystemProtocolPtrOutput struct{ *pulumi.OutputState }

func (FsxOpenZfsFileSystemProtocolPtrOutput) Elem

func (FsxOpenZfsFileSystemProtocolPtrOutput) ElementType

func (FsxOpenZfsFileSystemProtocolPtrOutput) Nfs

Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.

func (FsxOpenZfsFileSystemProtocolPtrOutput) ToFsxOpenZfsFileSystemProtocolPtrOutput

func (o FsxOpenZfsFileSystemProtocolPtrOutput) ToFsxOpenZfsFileSystemProtocolPtrOutput() FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolPtrOutput) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext

func (o FsxOpenZfsFileSystemProtocolPtrOutput) ToFsxOpenZfsFileSystemProtocolPtrOutputWithContext(ctx context.Context) FsxOpenZfsFileSystemProtocolPtrOutput

func (FsxOpenZfsFileSystemProtocolPtrOutput) ToOutput added in v6.1.0

type FsxOpenZfsFileSystemState

type FsxOpenZfsFileSystemState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The time that the FSx for openzfs location was created.
	CreationTime pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
	FsxFilesystemArn pulumi.StringPtrInput
	// The type of protocol that DataSync uses to access your file system. See below.
	Protocol FsxOpenZfsFileSystemProtocolPtrInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination. Must start with `/fsx`.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The URL of the FSx for openzfs location that was described.
	Uri pulumi.StringPtrInput
}

func (FsxOpenZfsFileSystemState) ElementType

func (FsxOpenZfsFileSystemState) ElementType() reflect.Type

type LocationAzureBlob added in v6.1.0

type LocationAzureBlob struct {
	pulumi.CustomResourceState

	// The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
	AccessTier pulumi.StringPtrOutput `pulumi:"accessTier"`
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
	AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"`
	// The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
	BlobType pulumi.StringPtrOutput `pulumi:"blobType"`
	// The URL of the Azure Blob Storage container involved in your transfer.
	ContainerUrl pulumi.StringOutput `pulumi:"containerUrl"`
	// The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
	SasConfiguration LocationAzureBlobSasConfigurationPtrOutput `pulumi:"sasConfiguration"`
	// Path segments if you want to limit your transfer to a virtual directory in the container.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
}

Manages a Microsoft Azure Blob Storage Location within AWS DataSync.

> **NOTE:** The DataSync Agents must be available before creating this resource.

## Example Usage

```go 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.NewLocationAzureBlob(ctx, "example", &datasync.LocationAzureBlobArgs{
			AgentArns: pulumi.StringArray{
				aws_datasync_agent.Example.Arn,
			},
			AuthenticationType: pulumi.String("SAS"),
			ContainerUrl:       pulumi.String("https://example.com/path"),
			SasConfiguration: &datasync.LocationAzureBlobSasConfigurationArgs{
				Token: pulumi.String("sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

In TODO v1.5.0 and later, use an `import` block to import `aws_datasync_location_azure_blob` using the Amazon Resource Name (ARN). For exampleterraform import {

to = aws_datasync_location_azure_blob.example

id = "arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567" } Using `TODO import`, import `aws_datasync_location_azure_blob` using the Amazon Resource Name (ARN). For exampleconsole % TODO import aws_datasync_location_azure_blob.example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

func GetLocationAzureBlob added in v6.1.0

func GetLocationAzureBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationAzureBlobState, opts ...pulumi.ResourceOption) (*LocationAzureBlob, error)

GetLocationAzureBlob gets an existing LocationAzureBlob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationAzureBlob added in v6.1.0

func NewLocationAzureBlob(ctx *pulumi.Context,
	name string, args *LocationAzureBlobArgs, opts ...pulumi.ResourceOption) (*LocationAzureBlob, error)

NewLocationAzureBlob registers a new resource with the given unique name, arguments, and options.

func (*LocationAzureBlob) ElementType added in v6.1.0

func (*LocationAzureBlob) ElementType() reflect.Type

func (*LocationAzureBlob) ToLocationAzureBlobOutput added in v6.1.0

func (i *LocationAzureBlob) ToLocationAzureBlobOutput() LocationAzureBlobOutput

func (*LocationAzureBlob) ToLocationAzureBlobOutputWithContext added in v6.1.0

func (i *LocationAzureBlob) ToLocationAzureBlobOutputWithContext(ctx context.Context) LocationAzureBlobOutput

func (*LocationAzureBlob) ToOutput added in v6.1.0

type LocationAzureBlobArgs added in v6.1.0

type LocationAzureBlobArgs struct {
	// The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
	AccessTier pulumi.StringPtrInput
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
	AuthenticationType pulumi.StringInput
	// The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
	BlobType pulumi.StringPtrInput
	// The URL of the Azure Blob Storage container involved in your transfer.
	ContainerUrl pulumi.StringInput
	// The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
	SasConfiguration LocationAzureBlobSasConfigurationPtrInput
	// Path segments if you want to limit your transfer to a virtual directory in the container.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LocationAzureBlob resource.

func (LocationAzureBlobArgs) ElementType added in v6.1.0

func (LocationAzureBlobArgs) ElementType() reflect.Type

type LocationAzureBlobArray added in v6.1.0

type LocationAzureBlobArray []LocationAzureBlobInput

func (LocationAzureBlobArray) ElementType added in v6.1.0

func (LocationAzureBlobArray) ElementType() reflect.Type

func (LocationAzureBlobArray) ToLocationAzureBlobArrayOutput added in v6.1.0

func (i LocationAzureBlobArray) ToLocationAzureBlobArrayOutput() LocationAzureBlobArrayOutput

func (LocationAzureBlobArray) ToLocationAzureBlobArrayOutputWithContext added in v6.1.0

func (i LocationAzureBlobArray) ToLocationAzureBlobArrayOutputWithContext(ctx context.Context) LocationAzureBlobArrayOutput

func (LocationAzureBlobArray) ToOutput added in v6.1.0

type LocationAzureBlobArrayInput added in v6.1.0

type LocationAzureBlobArrayInput interface {
	pulumi.Input

	ToLocationAzureBlobArrayOutput() LocationAzureBlobArrayOutput
	ToLocationAzureBlobArrayOutputWithContext(context.Context) LocationAzureBlobArrayOutput
}

LocationAzureBlobArrayInput is an input type that accepts LocationAzureBlobArray and LocationAzureBlobArrayOutput values. You can construct a concrete instance of `LocationAzureBlobArrayInput` via:

LocationAzureBlobArray{ LocationAzureBlobArgs{...} }

type LocationAzureBlobArrayOutput added in v6.1.0

type LocationAzureBlobArrayOutput struct{ *pulumi.OutputState }

func (LocationAzureBlobArrayOutput) ElementType added in v6.1.0

func (LocationAzureBlobArrayOutput) Index added in v6.1.0

func (LocationAzureBlobArrayOutput) ToLocationAzureBlobArrayOutput added in v6.1.0

func (o LocationAzureBlobArrayOutput) ToLocationAzureBlobArrayOutput() LocationAzureBlobArrayOutput

func (LocationAzureBlobArrayOutput) ToLocationAzureBlobArrayOutputWithContext added in v6.1.0

func (o LocationAzureBlobArrayOutput) ToLocationAzureBlobArrayOutputWithContext(ctx context.Context) LocationAzureBlobArrayOutput

func (LocationAzureBlobArrayOutput) ToOutput added in v6.1.0

type LocationAzureBlobInput added in v6.1.0

type LocationAzureBlobInput interface {
	pulumi.Input

	ToLocationAzureBlobOutput() LocationAzureBlobOutput
	ToLocationAzureBlobOutputWithContext(ctx context.Context) LocationAzureBlobOutput
}

type LocationAzureBlobMap added in v6.1.0

type LocationAzureBlobMap map[string]LocationAzureBlobInput

func (LocationAzureBlobMap) ElementType added in v6.1.0

func (LocationAzureBlobMap) ElementType() reflect.Type

func (LocationAzureBlobMap) ToLocationAzureBlobMapOutput added in v6.1.0

func (i LocationAzureBlobMap) ToLocationAzureBlobMapOutput() LocationAzureBlobMapOutput

func (LocationAzureBlobMap) ToLocationAzureBlobMapOutputWithContext added in v6.1.0

func (i LocationAzureBlobMap) ToLocationAzureBlobMapOutputWithContext(ctx context.Context) LocationAzureBlobMapOutput

func (LocationAzureBlobMap) ToOutput added in v6.1.0

type LocationAzureBlobMapInput added in v6.1.0

type LocationAzureBlobMapInput interface {
	pulumi.Input

	ToLocationAzureBlobMapOutput() LocationAzureBlobMapOutput
	ToLocationAzureBlobMapOutputWithContext(context.Context) LocationAzureBlobMapOutput
}

LocationAzureBlobMapInput is an input type that accepts LocationAzureBlobMap and LocationAzureBlobMapOutput values. You can construct a concrete instance of `LocationAzureBlobMapInput` via:

LocationAzureBlobMap{ "key": LocationAzureBlobArgs{...} }

type LocationAzureBlobMapOutput added in v6.1.0

type LocationAzureBlobMapOutput struct{ *pulumi.OutputState }

func (LocationAzureBlobMapOutput) ElementType added in v6.1.0

func (LocationAzureBlobMapOutput) ElementType() reflect.Type

func (LocationAzureBlobMapOutput) MapIndex added in v6.1.0

func (LocationAzureBlobMapOutput) ToLocationAzureBlobMapOutput added in v6.1.0

func (o LocationAzureBlobMapOutput) ToLocationAzureBlobMapOutput() LocationAzureBlobMapOutput

func (LocationAzureBlobMapOutput) ToLocationAzureBlobMapOutputWithContext added in v6.1.0

func (o LocationAzureBlobMapOutput) ToLocationAzureBlobMapOutputWithContext(ctx context.Context) LocationAzureBlobMapOutput

func (LocationAzureBlobMapOutput) ToOutput added in v6.1.0

type LocationAzureBlobOutput added in v6.1.0

type LocationAzureBlobOutput struct{ *pulumi.OutputState }

func (LocationAzureBlobOutput) AccessTier added in v6.1.0

The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.

func (LocationAzureBlobOutput) AgentArns added in v6.1.0

A list of DataSync Agent ARNs with which this location will be associated.

func (LocationAzureBlobOutput) Arn added in v6.1.0

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationAzureBlobOutput) AuthenticationType added in v6.1.0

func (o LocationAzureBlobOutput) AuthenticationType() pulumi.StringOutput

The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.

func (LocationAzureBlobOutput) BlobType added in v6.1.0

The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.

func (LocationAzureBlobOutput) ContainerUrl added in v6.1.0

func (o LocationAzureBlobOutput) ContainerUrl() pulumi.StringOutput

The URL of the Azure Blob Storage container involved in your transfer.

func (LocationAzureBlobOutput) ElementType added in v6.1.0

func (LocationAzureBlobOutput) ElementType() reflect.Type

func (LocationAzureBlobOutput) SasConfiguration added in v6.1.0

The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.

func (LocationAzureBlobOutput) Subdirectory added in v6.1.0

func (o LocationAzureBlobOutput) Subdirectory() pulumi.StringOutput

Path segments if you want to limit your transfer to a virtual directory in the container.

func (LocationAzureBlobOutput) Tags added in v6.1.0

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationAzureBlobOutput) TagsAll deprecated added in v6.1.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationAzureBlobOutput) ToLocationAzureBlobOutput added in v6.1.0

func (o LocationAzureBlobOutput) ToLocationAzureBlobOutput() LocationAzureBlobOutput

func (LocationAzureBlobOutput) ToLocationAzureBlobOutputWithContext added in v6.1.0

func (o LocationAzureBlobOutput) ToLocationAzureBlobOutputWithContext(ctx context.Context) LocationAzureBlobOutput

func (LocationAzureBlobOutput) ToOutput added in v6.1.0

func (LocationAzureBlobOutput) Uri added in v6.1.0

type LocationAzureBlobSasConfiguration added in v6.1.0

type LocationAzureBlobSasConfiguration struct {
	// A SAS token that provides permissions to access your Azure Blob Storage.
	Token string `pulumi:"token"`
}

type LocationAzureBlobSasConfigurationArgs added in v6.1.0

type LocationAzureBlobSasConfigurationArgs struct {
	// A SAS token that provides permissions to access your Azure Blob Storage.
	Token pulumi.StringInput `pulumi:"token"`
}

func (LocationAzureBlobSasConfigurationArgs) ElementType added in v6.1.0

func (LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationOutput added in v6.1.0

func (i LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationOutput() LocationAzureBlobSasConfigurationOutput

func (LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationOutputWithContext added in v6.1.0

func (i LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationOutputWithContext(ctx context.Context) LocationAzureBlobSasConfigurationOutput

func (LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationPtrOutput added in v6.1.0

func (i LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationPtrOutput() LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationPtrOutputWithContext added in v6.1.0

func (i LocationAzureBlobSasConfigurationArgs) ToLocationAzureBlobSasConfigurationPtrOutputWithContext(ctx context.Context) LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationArgs) ToOutput added in v6.1.0

type LocationAzureBlobSasConfigurationInput added in v6.1.0

type LocationAzureBlobSasConfigurationInput interface {
	pulumi.Input

	ToLocationAzureBlobSasConfigurationOutput() LocationAzureBlobSasConfigurationOutput
	ToLocationAzureBlobSasConfigurationOutputWithContext(context.Context) LocationAzureBlobSasConfigurationOutput
}

LocationAzureBlobSasConfigurationInput is an input type that accepts LocationAzureBlobSasConfigurationArgs and LocationAzureBlobSasConfigurationOutput values. You can construct a concrete instance of `LocationAzureBlobSasConfigurationInput` via:

LocationAzureBlobSasConfigurationArgs{...}

type LocationAzureBlobSasConfigurationOutput added in v6.1.0

type LocationAzureBlobSasConfigurationOutput struct{ *pulumi.OutputState }

func (LocationAzureBlobSasConfigurationOutput) ElementType added in v6.1.0

func (LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationOutput added in v6.1.0

func (o LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationOutput() LocationAzureBlobSasConfigurationOutput

func (LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationOutputWithContext added in v6.1.0

func (o LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationOutputWithContext(ctx context.Context) LocationAzureBlobSasConfigurationOutput

func (LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationPtrOutput added in v6.1.0

func (o LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationPtrOutput() LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationPtrOutputWithContext added in v6.1.0

func (o LocationAzureBlobSasConfigurationOutput) ToLocationAzureBlobSasConfigurationPtrOutputWithContext(ctx context.Context) LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationOutput) ToOutput added in v6.1.0

func (LocationAzureBlobSasConfigurationOutput) Token added in v6.1.0

A SAS token that provides permissions to access your Azure Blob Storage.

type LocationAzureBlobSasConfigurationPtrInput added in v6.1.0

type LocationAzureBlobSasConfigurationPtrInput interface {
	pulumi.Input

	ToLocationAzureBlobSasConfigurationPtrOutput() LocationAzureBlobSasConfigurationPtrOutput
	ToLocationAzureBlobSasConfigurationPtrOutputWithContext(context.Context) LocationAzureBlobSasConfigurationPtrOutput
}

LocationAzureBlobSasConfigurationPtrInput is an input type that accepts LocationAzureBlobSasConfigurationArgs, LocationAzureBlobSasConfigurationPtr and LocationAzureBlobSasConfigurationPtrOutput values. You can construct a concrete instance of `LocationAzureBlobSasConfigurationPtrInput` via:

        LocationAzureBlobSasConfigurationArgs{...}

or:

        nil

type LocationAzureBlobSasConfigurationPtrOutput added in v6.1.0

type LocationAzureBlobSasConfigurationPtrOutput struct{ *pulumi.OutputState }

func (LocationAzureBlobSasConfigurationPtrOutput) Elem added in v6.1.0

func (LocationAzureBlobSasConfigurationPtrOutput) ElementType added in v6.1.0

func (LocationAzureBlobSasConfigurationPtrOutput) ToLocationAzureBlobSasConfigurationPtrOutput added in v6.1.0

func (o LocationAzureBlobSasConfigurationPtrOutput) ToLocationAzureBlobSasConfigurationPtrOutput() LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationPtrOutput) ToLocationAzureBlobSasConfigurationPtrOutputWithContext added in v6.1.0

func (o LocationAzureBlobSasConfigurationPtrOutput) ToLocationAzureBlobSasConfigurationPtrOutputWithContext(ctx context.Context) LocationAzureBlobSasConfigurationPtrOutput

func (LocationAzureBlobSasConfigurationPtrOutput) ToOutput added in v6.1.0

func (LocationAzureBlobSasConfigurationPtrOutput) Token added in v6.1.0

A SAS token that provides permissions to access your Azure Blob Storage.

type LocationAzureBlobState added in v6.1.0

type LocationAzureBlobState struct {
	// The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
	AccessTier pulumi.StringPtrInput
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
	AuthenticationType pulumi.StringPtrInput
	// The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
	BlobType pulumi.StringPtrInput
	// The URL of the Azure Blob Storage container involved in your transfer.
	ContainerUrl pulumi.StringPtrInput
	// The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
	SasConfiguration LocationAzureBlobSasConfigurationPtrInput
	// Path segments if you want to limit your transfer to a virtual directory in the container.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
}

func (LocationAzureBlobState) ElementType added in v6.1.0

func (LocationAzureBlobState) ElementType() reflect.Type

type LocationFsxLustre

type LocationFsxLustre struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The time that the FSx for Lustre location was created.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The Amazon Resource Name (ARN) for the FSx for Lustre file system.
	FsxFilesystemArn pulumi.StringOutput `pulumi:"fsxFilesystemArn"`
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
	SecurityGroupArns pulumi.StringArrayOutput `pulumi:"securityGroupArns"`
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The URL of the FSx for Lustre location that was described.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an AWS DataSync FSx Lustre Location.

## Example Usage

```go 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.NewLocationFsxLustre(ctx, "example", &datasync.LocationFsxLustreArgs{
			FsxFilesystemArn: pulumi.Any(aws_fsx_lustre_file_system.Example.Arn),
			SecurityGroupArns: pulumi.StringArray{
				aws_security_group.Example.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_fsx_lustre_file_system` using the `DataSync-ARN#FSx-Lustre-ARN`. For example:

```sh

$ pulumi import aws:datasync/locationFsxLustre:LocationFsxLustre example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a

```

func GetLocationFsxLustre

func GetLocationFsxLustre(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationFsxLustreState, opts ...pulumi.ResourceOption) (*LocationFsxLustre, error)

GetLocationFsxLustre gets an existing LocationFsxLustre resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationFsxLustre

func NewLocationFsxLustre(ctx *pulumi.Context,
	name string, args *LocationFsxLustreArgs, opts ...pulumi.ResourceOption) (*LocationFsxLustre, error)

NewLocationFsxLustre registers a new resource with the given unique name, arguments, and options.

func (*LocationFsxLustre) ElementType

func (*LocationFsxLustre) ElementType() reflect.Type

func (*LocationFsxLustre) ToLocationFsxLustreOutput

func (i *LocationFsxLustre) ToLocationFsxLustreOutput() LocationFsxLustreOutput

func (*LocationFsxLustre) ToLocationFsxLustreOutputWithContext

func (i *LocationFsxLustre) ToLocationFsxLustreOutputWithContext(ctx context.Context) LocationFsxLustreOutput

func (*LocationFsxLustre) ToOutput added in v6.1.0

type LocationFsxLustreArgs

type LocationFsxLustreArgs struct {
	// The Amazon Resource Name (ARN) for the FSx for Lustre file system.
	FsxFilesystemArn pulumi.StringInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LocationFsxLustre resource.

func (LocationFsxLustreArgs) ElementType

func (LocationFsxLustreArgs) ElementType() reflect.Type

type LocationFsxLustreArray

type LocationFsxLustreArray []LocationFsxLustreInput

func (LocationFsxLustreArray) ElementType

func (LocationFsxLustreArray) ElementType() reflect.Type

func (LocationFsxLustreArray) ToLocationFsxLustreArrayOutput

func (i LocationFsxLustreArray) ToLocationFsxLustreArrayOutput() LocationFsxLustreArrayOutput

func (LocationFsxLustreArray) ToLocationFsxLustreArrayOutputWithContext

func (i LocationFsxLustreArray) ToLocationFsxLustreArrayOutputWithContext(ctx context.Context) LocationFsxLustreArrayOutput

func (LocationFsxLustreArray) ToOutput added in v6.1.0

type LocationFsxLustreArrayInput

type LocationFsxLustreArrayInput interface {
	pulumi.Input

	ToLocationFsxLustreArrayOutput() LocationFsxLustreArrayOutput
	ToLocationFsxLustreArrayOutputWithContext(context.Context) LocationFsxLustreArrayOutput
}

LocationFsxLustreArrayInput is an input type that accepts LocationFsxLustreArray and LocationFsxLustreArrayOutput values. You can construct a concrete instance of `LocationFsxLustreArrayInput` via:

LocationFsxLustreArray{ LocationFsxLustreArgs{...} }

type LocationFsxLustreArrayOutput

type LocationFsxLustreArrayOutput struct{ *pulumi.OutputState }

func (LocationFsxLustreArrayOutput) ElementType

func (LocationFsxLustreArrayOutput) Index

func (LocationFsxLustreArrayOutput) ToLocationFsxLustreArrayOutput

func (o LocationFsxLustreArrayOutput) ToLocationFsxLustreArrayOutput() LocationFsxLustreArrayOutput

func (LocationFsxLustreArrayOutput) ToLocationFsxLustreArrayOutputWithContext

func (o LocationFsxLustreArrayOutput) ToLocationFsxLustreArrayOutputWithContext(ctx context.Context) LocationFsxLustreArrayOutput

func (LocationFsxLustreArrayOutput) ToOutput added in v6.1.0

type LocationFsxLustreInput

type LocationFsxLustreInput interface {
	pulumi.Input

	ToLocationFsxLustreOutput() LocationFsxLustreOutput
	ToLocationFsxLustreOutputWithContext(ctx context.Context) LocationFsxLustreOutput
}

type LocationFsxLustreMap

type LocationFsxLustreMap map[string]LocationFsxLustreInput

func (LocationFsxLustreMap) ElementType

func (LocationFsxLustreMap) ElementType() reflect.Type

func (LocationFsxLustreMap) ToLocationFsxLustreMapOutput

func (i LocationFsxLustreMap) ToLocationFsxLustreMapOutput() LocationFsxLustreMapOutput

func (LocationFsxLustreMap) ToLocationFsxLustreMapOutputWithContext

func (i LocationFsxLustreMap) ToLocationFsxLustreMapOutputWithContext(ctx context.Context) LocationFsxLustreMapOutput

func (LocationFsxLustreMap) ToOutput added in v6.1.0

type LocationFsxLustreMapInput

type LocationFsxLustreMapInput interface {
	pulumi.Input

	ToLocationFsxLustreMapOutput() LocationFsxLustreMapOutput
	ToLocationFsxLustreMapOutputWithContext(context.Context) LocationFsxLustreMapOutput
}

LocationFsxLustreMapInput is an input type that accepts LocationFsxLustreMap and LocationFsxLustreMapOutput values. You can construct a concrete instance of `LocationFsxLustreMapInput` via:

LocationFsxLustreMap{ "key": LocationFsxLustreArgs{...} }

type LocationFsxLustreMapOutput

type LocationFsxLustreMapOutput struct{ *pulumi.OutputState }

func (LocationFsxLustreMapOutput) ElementType

func (LocationFsxLustreMapOutput) ElementType() reflect.Type

func (LocationFsxLustreMapOutput) MapIndex

func (LocationFsxLustreMapOutput) ToLocationFsxLustreMapOutput

func (o LocationFsxLustreMapOutput) ToLocationFsxLustreMapOutput() LocationFsxLustreMapOutput

func (LocationFsxLustreMapOutput) ToLocationFsxLustreMapOutputWithContext

func (o LocationFsxLustreMapOutput) ToLocationFsxLustreMapOutputWithContext(ctx context.Context) LocationFsxLustreMapOutput

func (LocationFsxLustreMapOutput) ToOutput added in v6.1.0

type LocationFsxLustreOutput

type LocationFsxLustreOutput struct{ *pulumi.OutputState }

func (LocationFsxLustreOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationFsxLustreOutput) CreationTime

func (o LocationFsxLustreOutput) CreationTime() pulumi.StringOutput

The time that the FSx for Lustre location was created.

func (LocationFsxLustreOutput) ElementType

func (LocationFsxLustreOutput) ElementType() reflect.Type

func (LocationFsxLustreOutput) FsxFilesystemArn

func (o LocationFsxLustreOutput) FsxFilesystemArn() pulumi.StringOutput

The Amazon Resource Name (ARN) for the FSx for Lustre file system.

func (LocationFsxLustreOutput) SecurityGroupArns

func (o LocationFsxLustreOutput) SecurityGroupArns() pulumi.StringArrayOutput

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.

func (LocationFsxLustreOutput) Subdirectory

func (o LocationFsxLustreOutput) Subdirectory() pulumi.StringOutput

Subdirectory to perform actions as source or destination.

func (LocationFsxLustreOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationFsxLustreOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationFsxLustreOutput) ToLocationFsxLustreOutput

func (o LocationFsxLustreOutput) ToLocationFsxLustreOutput() LocationFsxLustreOutput

func (LocationFsxLustreOutput) ToLocationFsxLustreOutputWithContext

func (o LocationFsxLustreOutput) ToLocationFsxLustreOutputWithContext(ctx context.Context) LocationFsxLustreOutput

func (LocationFsxLustreOutput) ToOutput added in v6.1.0

func (LocationFsxLustreOutput) Uri

The URL of the FSx for Lustre location that was described.

type LocationFsxLustreState

type LocationFsxLustreState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The time that the FSx for Lustre location was created.
	CreationTime pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the FSx for Lustre file system.
	FsxFilesystemArn pulumi.StringPtrInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The URL of the FSx for Lustre location that was described.
	Uri pulumi.StringPtrInput
}

func (LocationFsxLustreState) ElementType

func (LocationFsxLustreState) ElementType() reflect.Type

type LocationFsxOntapFileSystem added in v6.1.0

type LocationFsxOntapFileSystem struct {
	pulumi.CustomResourceState

	// ARN of the DataSync Location for the FSx Ontap File System.
	Arn          pulumi.StringOutput `pulumi:"arn"`
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// ARN of the FSx Ontap File System.
	FsxFilesystemArn pulumi.StringOutput `pulumi:"fsxFilesystemArn"`
	// The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
	Protocol LocationFsxOntapFileSystemProtocolOutput `pulumi:"protocol"`
	// The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):
	// * Network File System (NFS): TCP ports 111, 635, and 2049
	// * Server Message Block (SMB): TCP port 445
	SecurityGroupArns pulumi.StringArrayOutput `pulumi:"securityGroupArns"`
	// The ARN of the SVM in your file system where you want to copy data to of from.
	//
	// The following arguments are optional:
	StorageVirtualMachineArn pulumi.StringOutput `pulumi:"storageVirtualMachineArn"`
	// Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// URI of the FSx ONTAP file system location
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Resource for managing an AWS DataSync Location FSx Ontap File System.

## Example Usage

## Import

In TODO v1.5.0 and later, use an `import` block to import `aws_datasync_location_fsx_ontap_file_system` using the `DataSync-ARN#FSx-ontap-svm-ARN`. For exampleterraform import {

to = aws_datasync_location_fsx_ontap_file_system.example

id = "arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:storage-virtual-machine/svm-12345678abcdef123" } Using `TODO import`, import `aws_datasync_location_fsx_ontap_file_system` using the `DataSync-ARN#FSx-ontap-svm-ARN`. For exampleconsole % TODO import aws_datasync_location_fsx_ontap_file_system.example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:storage-virtual-machine/svm-12345678abcdef123

func GetLocationFsxOntapFileSystem added in v6.1.0

func GetLocationFsxOntapFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationFsxOntapFileSystemState, opts ...pulumi.ResourceOption) (*LocationFsxOntapFileSystem, error)

GetLocationFsxOntapFileSystem gets an existing LocationFsxOntapFileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationFsxOntapFileSystem added in v6.1.0

func NewLocationFsxOntapFileSystem(ctx *pulumi.Context,
	name string, args *LocationFsxOntapFileSystemArgs, opts ...pulumi.ResourceOption) (*LocationFsxOntapFileSystem, error)

NewLocationFsxOntapFileSystem registers a new resource with the given unique name, arguments, and options.

func (*LocationFsxOntapFileSystem) ElementType added in v6.1.0

func (*LocationFsxOntapFileSystem) ElementType() reflect.Type

func (*LocationFsxOntapFileSystem) ToLocationFsxOntapFileSystemOutput added in v6.1.0

func (i *LocationFsxOntapFileSystem) ToLocationFsxOntapFileSystemOutput() LocationFsxOntapFileSystemOutput

func (*LocationFsxOntapFileSystem) ToLocationFsxOntapFileSystemOutputWithContext added in v6.1.0

func (i *LocationFsxOntapFileSystem) ToLocationFsxOntapFileSystemOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemOutput

func (*LocationFsxOntapFileSystem) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemArgs added in v6.1.0

type LocationFsxOntapFileSystemArgs struct {
	// The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
	Protocol LocationFsxOntapFileSystemProtocolInput
	// The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):
	// * Network File System (NFS): TCP ports 111, 635, and 2049
	// * Server Message Block (SMB): TCP port 445
	SecurityGroupArns pulumi.StringArrayInput
	// The ARN of the SVM in your file system where you want to copy data to of from.
	//
	// The following arguments are optional:
	StorageVirtualMachineArn pulumi.StringInput
	// Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LocationFsxOntapFileSystem resource.

func (LocationFsxOntapFileSystemArgs) ElementType added in v6.1.0

type LocationFsxOntapFileSystemArray added in v6.1.0

type LocationFsxOntapFileSystemArray []LocationFsxOntapFileSystemInput

func (LocationFsxOntapFileSystemArray) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemArray) ToLocationFsxOntapFileSystemArrayOutput added in v6.1.0

func (i LocationFsxOntapFileSystemArray) ToLocationFsxOntapFileSystemArrayOutput() LocationFsxOntapFileSystemArrayOutput

func (LocationFsxOntapFileSystemArray) ToLocationFsxOntapFileSystemArrayOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemArray) ToLocationFsxOntapFileSystemArrayOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemArrayOutput

func (LocationFsxOntapFileSystemArray) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemArrayInput added in v6.1.0

type LocationFsxOntapFileSystemArrayInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemArrayOutput() LocationFsxOntapFileSystemArrayOutput
	ToLocationFsxOntapFileSystemArrayOutputWithContext(context.Context) LocationFsxOntapFileSystemArrayOutput
}

LocationFsxOntapFileSystemArrayInput is an input type that accepts LocationFsxOntapFileSystemArray and LocationFsxOntapFileSystemArrayOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemArrayInput` via:

LocationFsxOntapFileSystemArray{ LocationFsxOntapFileSystemArgs{...} }

type LocationFsxOntapFileSystemArrayOutput added in v6.1.0

type LocationFsxOntapFileSystemArrayOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemArrayOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemArrayOutput) Index added in v6.1.0

func (LocationFsxOntapFileSystemArrayOutput) ToLocationFsxOntapFileSystemArrayOutput added in v6.1.0

func (o LocationFsxOntapFileSystemArrayOutput) ToLocationFsxOntapFileSystemArrayOutput() LocationFsxOntapFileSystemArrayOutput

func (LocationFsxOntapFileSystemArrayOutput) ToLocationFsxOntapFileSystemArrayOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemArrayOutput) ToLocationFsxOntapFileSystemArrayOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemArrayOutput

func (LocationFsxOntapFileSystemArrayOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemInput added in v6.1.0

type LocationFsxOntapFileSystemInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemOutput() LocationFsxOntapFileSystemOutput
	ToLocationFsxOntapFileSystemOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemOutput
}

type LocationFsxOntapFileSystemMap added in v6.1.0

type LocationFsxOntapFileSystemMap map[string]LocationFsxOntapFileSystemInput

func (LocationFsxOntapFileSystemMap) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemMap) ToLocationFsxOntapFileSystemMapOutput added in v6.1.0

func (i LocationFsxOntapFileSystemMap) ToLocationFsxOntapFileSystemMapOutput() LocationFsxOntapFileSystemMapOutput

func (LocationFsxOntapFileSystemMap) ToLocationFsxOntapFileSystemMapOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemMap) ToLocationFsxOntapFileSystemMapOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemMapOutput

func (LocationFsxOntapFileSystemMap) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemMapInput added in v6.1.0

type LocationFsxOntapFileSystemMapInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemMapOutput() LocationFsxOntapFileSystemMapOutput
	ToLocationFsxOntapFileSystemMapOutputWithContext(context.Context) LocationFsxOntapFileSystemMapOutput
}

LocationFsxOntapFileSystemMapInput is an input type that accepts LocationFsxOntapFileSystemMap and LocationFsxOntapFileSystemMapOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemMapInput` via:

LocationFsxOntapFileSystemMap{ "key": LocationFsxOntapFileSystemArgs{...} }

type LocationFsxOntapFileSystemMapOutput added in v6.1.0

type LocationFsxOntapFileSystemMapOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemMapOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemMapOutput) MapIndex added in v6.1.0

func (LocationFsxOntapFileSystemMapOutput) ToLocationFsxOntapFileSystemMapOutput added in v6.1.0

func (o LocationFsxOntapFileSystemMapOutput) ToLocationFsxOntapFileSystemMapOutput() LocationFsxOntapFileSystemMapOutput

func (LocationFsxOntapFileSystemMapOutput) ToLocationFsxOntapFileSystemMapOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemMapOutput) ToLocationFsxOntapFileSystemMapOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemMapOutput

func (LocationFsxOntapFileSystemMapOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemOutput added in v6.1.0

type LocationFsxOntapFileSystemOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemOutput) Arn added in v6.1.0

ARN of the DataSync Location for the FSx Ontap File System.

func (LocationFsxOntapFileSystemOutput) CreationTime added in v6.1.0

func (LocationFsxOntapFileSystemOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemOutput) FsxFilesystemArn added in v6.1.0

ARN of the FSx Ontap File System.

func (LocationFsxOntapFileSystemOutput) Protocol added in v6.1.0

The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.

func (LocationFsxOntapFileSystemOutput) SecurityGroupArns added in v6.1.0

The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use): * Network File System (NFS): TCP ports 111, 635, and 2049 * Server Message Block (SMB): TCP port 445

func (LocationFsxOntapFileSystemOutput) StorageVirtualMachineArn added in v6.1.0

func (o LocationFsxOntapFileSystemOutput) StorageVirtualMachineArn() pulumi.StringOutput

The ARN of the SVM in your file system where you want to copy data to of from.

The following arguments are optional:

func (LocationFsxOntapFileSystemOutput) Subdirectory added in v6.1.0

Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).

func (LocationFsxOntapFileSystemOutput) Tags added in v6.1.0

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationFsxOntapFileSystemOutput) TagsAll deprecated added in v6.1.0

Deprecated: Please use `tags` instead.

func (LocationFsxOntapFileSystemOutput) ToLocationFsxOntapFileSystemOutput added in v6.1.0

func (o LocationFsxOntapFileSystemOutput) ToLocationFsxOntapFileSystemOutput() LocationFsxOntapFileSystemOutput

func (LocationFsxOntapFileSystemOutput) ToLocationFsxOntapFileSystemOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemOutput) ToLocationFsxOntapFileSystemOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemOutput

func (LocationFsxOntapFileSystemOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemOutput) Uri added in v6.1.0

URI of the FSx ONTAP file system location

type LocationFsxOntapFileSystemProtocol added in v6.1.0

type LocationFsxOntapFileSystemProtocol struct {
	// Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
	Nfs *LocationFsxOntapFileSystemProtocolNfs `pulumi:"nfs"`
	// Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
	Smb *LocationFsxOntapFileSystemProtocolSmb `pulumi:"smb"`
}

type LocationFsxOntapFileSystemProtocolArgs added in v6.1.0

type LocationFsxOntapFileSystemProtocolArgs struct {
	// Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
	Nfs LocationFsxOntapFileSystemProtocolNfsPtrInput `pulumi:"nfs"`
	// Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
	Smb LocationFsxOntapFileSystemProtocolSmbPtrInput `pulumi:"smb"`
}

func (LocationFsxOntapFileSystemProtocolArgs) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolOutput() LocationFsxOntapFileSystemProtocolOutput

func (LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolOutput

func (LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolPtrOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolPtrOutput() LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolArgs) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolArgs) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolOutput() LocationFsxOntapFileSystemProtocolOutput
	ToLocationFsxOntapFileSystemProtocolOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolOutput
}

LocationFsxOntapFileSystemProtocolInput is an input type that accepts LocationFsxOntapFileSystemProtocolArgs and LocationFsxOntapFileSystemProtocolOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolInput` via:

LocationFsxOntapFileSystemProtocolArgs{...}

type LocationFsxOntapFileSystemProtocolNfs added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfs struct {
	// Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
	MountOptions LocationFsxOntapFileSystemProtocolNfsMountOptions `pulumi:"mountOptions"`
}

type LocationFsxOntapFileSystemProtocolNfsArgs added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsArgs struct {
	// Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
	MountOptions LocationFsxOntapFileSystemProtocolNfsMountOptionsInput `pulumi:"mountOptions"`
}

func (LocationFsxOntapFileSystemProtocolNfsArgs) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsOutput() LocationFsxOntapFileSystemProtocolNfsOutput

func (LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsOutput

func (LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput() LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsArgs) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsArgs) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolNfsOutput() LocationFsxOntapFileSystemProtocolNfsOutput
	ToLocationFsxOntapFileSystemProtocolNfsOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolNfsOutput
}

LocationFsxOntapFileSystemProtocolNfsInput is an input type that accepts LocationFsxOntapFileSystemProtocolNfsArgs and LocationFsxOntapFileSystemProtocolNfsOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolNfsInput` via:

LocationFsxOntapFileSystemProtocolNfsArgs{...}

type LocationFsxOntapFileSystemProtocolNfsMountOptions added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptions struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`
	Version *string `pulumi:"version"`
}

type LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutput() LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput() LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutput() LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput
	ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput
}

LocationFsxOntapFileSystemProtocolNfsMountOptionsInput is an input type that accepts LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs and LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolNfsMountOptionsInput` via:

LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs{...}

type LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsOutput) Version added in v6.1.0

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`

type LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput() LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput
	ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput
}

LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrInput is an input type that accepts LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs, LocationFsxOntapFileSystemProtocolNfsMountOptionsPtr and LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrInput` via:

        LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs{...}

or:

        nil

type LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) Elem added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsMountOptionsPtrOutput) Version added in v6.1.0

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`

type LocationFsxOntapFileSystemProtocolNfsOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolNfsOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsOutput) MountOptions added in v6.1.0

Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.

func (LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsOutput() LocationFsxOntapFileSystemProtocolNfsOutput

func (LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsOutput

func (LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput() LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsPtrInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsPtrInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolNfsPtrOutput() LocationFsxOntapFileSystemProtocolNfsPtrOutput
	ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolNfsPtrOutput
}

LocationFsxOntapFileSystemProtocolNfsPtrInput is an input type that accepts LocationFsxOntapFileSystemProtocolNfsArgs, LocationFsxOntapFileSystemProtocolNfsPtr and LocationFsxOntapFileSystemProtocolNfsPtrOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolNfsPtrInput` via:

        LocationFsxOntapFileSystemProtocolNfsArgs{...}

or:

        nil

type LocationFsxOntapFileSystemProtocolNfsPtrOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolNfsPtrOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) Elem added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) MountOptions added in v6.1.0

Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutput() LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolNfsPtrOutput) ToLocationFsxOntapFileSystemProtocolNfsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolNfsPtrOutput

func (LocationFsxOntapFileSystemProtocolNfsPtrOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolOutput) Nfs added in v6.1.0

Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.

func (LocationFsxOntapFileSystemProtocolOutput) Smb added in v6.1.0

Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.

func (LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolOutput() LocationFsxOntapFileSystemProtocolOutput

func (LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolOutput

func (LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolPtrOutput() LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolOutput) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolPtrInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolPtrInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolPtrOutput() LocationFsxOntapFileSystemProtocolPtrOutput
	ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolPtrOutput
}

LocationFsxOntapFileSystemProtocolPtrInput is an input type that accepts LocationFsxOntapFileSystemProtocolArgs, LocationFsxOntapFileSystemProtocolPtr and LocationFsxOntapFileSystemProtocolPtrOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolPtrInput` via:

        LocationFsxOntapFileSystemProtocolArgs{...}

or:

        nil

type LocationFsxOntapFileSystemProtocolPtrOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolPtrOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolPtrOutput) Elem added in v6.1.0

func (LocationFsxOntapFileSystemProtocolPtrOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolPtrOutput) Nfs added in v6.1.0

Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.

func (LocationFsxOntapFileSystemProtocolPtrOutput) Smb added in v6.1.0

Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.

func (LocationFsxOntapFileSystemProtocolPtrOutput) ToLocationFsxOntapFileSystemProtocolPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolPtrOutput) ToLocationFsxOntapFileSystemProtocolPtrOutput() LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolPtrOutput) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolPtrOutput) ToLocationFsxOntapFileSystemProtocolPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolPtrOutput

func (LocationFsxOntapFileSystemProtocolPtrOutput) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmb added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmb struct {
	// Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
	Domain *string `pulumi:"domain"`
	// Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
	MountOptions LocationFsxOntapFileSystemProtocolSmbMountOptions `pulumi:"mountOptions"`
	// Password of a user who has permission to access your SVM.
	Password string `pulumi:"password"`
	// Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
	User string `pulumi:"user"`
}

type LocationFsxOntapFileSystemProtocolSmbArgs added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbArgs struct {
	// Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
	MountOptions LocationFsxOntapFileSystemProtocolSmbMountOptionsInput `pulumi:"mountOptions"`
	// Password of a user who has permission to access your SVM.
	Password pulumi.StringInput `pulumi:"password"`
	// Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
	User pulumi.StringInput `pulumi:"user"`
}

func (LocationFsxOntapFileSystemProtocolSmbArgs) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbOutput() LocationFsxOntapFileSystemProtocolSmbOutput

func (LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbOutput

func (LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput() LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbArgs) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbArgs) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolSmbOutput() LocationFsxOntapFileSystemProtocolSmbOutput
	ToLocationFsxOntapFileSystemProtocolSmbOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolSmbOutput
}

LocationFsxOntapFileSystemProtocolSmbInput is an input type that accepts LocationFsxOntapFileSystemProtocolSmbArgs and LocationFsxOntapFileSystemProtocolSmbOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolSmbInput` via:

LocationFsxOntapFileSystemProtocolSmbArgs{...}

type LocationFsxOntapFileSystemProtocolSmbMountOptions added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptions struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`
	Version *string `pulumi:"version"`
}

type LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutput() LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput() LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext added in v6.1.0

func (i LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs) ToOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutput() LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput
	ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput
}

LocationFsxOntapFileSystemProtocolSmbMountOptionsInput is an input type that accepts LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs and LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolSmbMountOptionsInput` via:

LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs{...}

type LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsOutput) Version added in v6.1.0

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`

type LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput() LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput
	ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput
}

LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrInput is an input type that accepts LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs, LocationFsxOntapFileSystemProtocolSmbMountOptionsPtr and LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrInput` via:

        LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs{...}

or:

        nil

type LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) Elem added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbMountOptionsPtrOutput) Version added in v6.1.0

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `NFS3`. Default: `NFS3`

type LocationFsxOntapFileSystemProtocolSmbOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolSmbOutput) Domain added in v6.1.0

Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.

func (LocationFsxOntapFileSystemProtocolSmbOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbOutput) MountOptions added in v6.1.0

Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.

func (LocationFsxOntapFileSystemProtocolSmbOutput) Password added in v6.1.0

Password of a user who has permission to access your SVM.

func (LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbOutput() LocationFsxOntapFileSystemProtocolSmbOutput

func (LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbOutput

func (LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput() LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbOutput) User added in v6.1.0

Username that can mount the location and access the files, folders, and metadata that you need in the SVM.

type LocationFsxOntapFileSystemProtocolSmbPtrInput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbPtrInput interface {
	pulumi.Input

	ToLocationFsxOntapFileSystemProtocolSmbPtrOutput() LocationFsxOntapFileSystemProtocolSmbPtrOutput
	ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext(context.Context) LocationFsxOntapFileSystemProtocolSmbPtrOutput
}

LocationFsxOntapFileSystemProtocolSmbPtrInput is an input type that accepts LocationFsxOntapFileSystemProtocolSmbArgs, LocationFsxOntapFileSystemProtocolSmbPtr and LocationFsxOntapFileSystemProtocolSmbPtrOutput values. You can construct a concrete instance of `LocationFsxOntapFileSystemProtocolSmbPtrInput` via:

        LocationFsxOntapFileSystemProtocolSmbArgs{...}

or:

        nil

type LocationFsxOntapFileSystemProtocolSmbPtrOutput added in v6.1.0

type LocationFsxOntapFileSystemProtocolSmbPtrOutput struct{ *pulumi.OutputState }

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) Domain added in v6.1.0

Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) Elem added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) ElementType added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) MountOptions added in v6.1.0

Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) Password added in v6.1.0

Password of a user who has permission to access your SVM.

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutput() LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext added in v6.1.0

func (o LocationFsxOntapFileSystemProtocolSmbPtrOutput) ToLocationFsxOntapFileSystemProtocolSmbPtrOutputWithContext(ctx context.Context) LocationFsxOntapFileSystemProtocolSmbPtrOutput

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) ToOutput added in v6.1.0

func (LocationFsxOntapFileSystemProtocolSmbPtrOutput) User added in v6.1.0

Username that can mount the location and access the files, folders, and metadata that you need in the SVM.

type LocationFsxOntapFileSystemState added in v6.1.0

type LocationFsxOntapFileSystemState struct {
	// ARN of the DataSync Location for the FSx Ontap File System.
	Arn          pulumi.StringPtrInput
	CreationTime pulumi.StringPtrInput
	// ARN of the FSx Ontap File System.
	FsxFilesystemArn pulumi.StringPtrInput
	// The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
	Protocol LocationFsxOntapFileSystemProtocolPtrInput
	// The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):
	// * Network File System (NFS): TCP ports 111, 635, and 2049
	// * Server Message Block (SMB): TCP port 445
	SecurityGroupArns pulumi.StringArrayInput
	// The ARN of the SVM in your file system where you want to copy data to of from.
	//
	// The following arguments are optional:
	StorageVirtualMachineArn pulumi.StringPtrInput
	// Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// URI of the FSx ONTAP file system location
	Uri pulumi.StringPtrInput
}

func (LocationFsxOntapFileSystemState) ElementType added in v6.1.0

type LocationFsxWindows

type LocationFsxWindows struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The time that the FSx for Windows location was created.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The name of the Windows domain that the FSx for Windows server belongs to.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// The Amazon Resource Name (ARN) for the FSx for Windows file system.
	FsxFilesystemArn pulumi.StringOutput `pulumi:"fsxFilesystemArn"`
	// The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
	Password pulumi.StringOutput `pulumi:"password"`
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.
	SecurityGroupArns pulumi.StringArrayOutput `pulumi:"securityGroupArns"`
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The URL of the FSx for Windows location that was described.
	Uri pulumi.StringOutput `pulumi:"uri"`
	// The user who has the permissions to access files and folders in the FSx for Windows file system.
	User pulumi.StringOutput `pulumi:"user"`
}

Manages an AWS DataSync FSx Windows Location.

## Example Usage

```go 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.NewLocationFsxWindows(ctx, "example", &datasync.LocationFsxWindowsArgs{
			FsxFilesystemArn: pulumi.Any(aws_fsx_windows_file_system.Example.Arn),
			User:             pulumi.String("SomeUser"),
			Password:         pulumi.String("SuperSecretPassw0rd"),
			SecurityGroupArns: pulumi.StringArray{
				aws_security_group.Example.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_fsx_windows_file_system` using the `DataSync-ARN#FSx-Windows-ARN`. For example:

```sh

$ pulumi import aws:datasync/locationFsxWindows:LocationFsxWindows example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a

```

func GetLocationFsxWindows

func GetLocationFsxWindows(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationFsxWindowsState, opts ...pulumi.ResourceOption) (*LocationFsxWindows, error)

GetLocationFsxWindows gets an existing LocationFsxWindows resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationFsxWindows

func NewLocationFsxWindows(ctx *pulumi.Context,
	name string, args *LocationFsxWindowsArgs, opts ...pulumi.ResourceOption) (*LocationFsxWindows, error)

NewLocationFsxWindows registers a new resource with the given unique name, arguments, and options.

func (*LocationFsxWindows) ElementType

func (*LocationFsxWindows) ElementType() reflect.Type

func (*LocationFsxWindows) ToLocationFsxWindowsOutput

func (i *LocationFsxWindows) ToLocationFsxWindowsOutput() LocationFsxWindowsOutput

func (*LocationFsxWindows) ToLocationFsxWindowsOutputWithContext

func (i *LocationFsxWindows) ToLocationFsxWindowsOutputWithContext(ctx context.Context) LocationFsxWindowsOutput

func (*LocationFsxWindows) ToOutput added in v6.1.0

type LocationFsxWindowsArgs

type LocationFsxWindowsArgs struct {
	// The name of the Windows domain that the FSx for Windows server belongs to.
	Domain pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the FSx for Windows file system.
	FsxFilesystemArn pulumi.StringInput
	// The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
	Password pulumi.StringInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The user who has the permissions to access files and folders in the FSx for Windows file system.
	User pulumi.StringInput
}

The set of arguments for constructing a LocationFsxWindows resource.

func (LocationFsxWindowsArgs) ElementType

func (LocationFsxWindowsArgs) ElementType() reflect.Type

type LocationFsxWindowsArray

type LocationFsxWindowsArray []LocationFsxWindowsInput

func (LocationFsxWindowsArray) ElementType

func (LocationFsxWindowsArray) ElementType() reflect.Type

func (LocationFsxWindowsArray) ToLocationFsxWindowsArrayOutput

func (i LocationFsxWindowsArray) ToLocationFsxWindowsArrayOutput() LocationFsxWindowsArrayOutput

func (LocationFsxWindowsArray) ToLocationFsxWindowsArrayOutputWithContext

func (i LocationFsxWindowsArray) ToLocationFsxWindowsArrayOutputWithContext(ctx context.Context) LocationFsxWindowsArrayOutput

func (LocationFsxWindowsArray) ToOutput added in v6.1.0

type LocationFsxWindowsArrayInput

type LocationFsxWindowsArrayInput interface {
	pulumi.Input

	ToLocationFsxWindowsArrayOutput() LocationFsxWindowsArrayOutput
	ToLocationFsxWindowsArrayOutputWithContext(context.Context) LocationFsxWindowsArrayOutput
}

LocationFsxWindowsArrayInput is an input type that accepts LocationFsxWindowsArray and LocationFsxWindowsArrayOutput values. You can construct a concrete instance of `LocationFsxWindowsArrayInput` via:

LocationFsxWindowsArray{ LocationFsxWindowsArgs{...} }

type LocationFsxWindowsArrayOutput

type LocationFsxWindowsArrayOutput struct{ *pulumi.OutputState }

func (LocationFsxWindowsArrayOutput) ElementType

func (LocationFsxWindowsArrayOutput) Index

func (LocationFsxWindowsArrayOutput) ToLocationFsxWindowsArrayOutput

func (o LocationFsxWindowsArrayOutput) ToLocationFsxWindowsArrayOutput() LocationFsxWindowsArrayOutput

func (LocationFsxWindowsArrayOutput) ToLocationFsxWindowsArrayOutputWithContext

func (o LocationFsxWindowsArrayOutput) ToLocationFsxWindowsArrayOutputWithContext(ctx context.Context) LocationFsxWindowsArrayOutput

func (LocationFsxWindowsArrayOutput) ToOutput added in v6.1.0

type LocationFsxWindowsInput

type LocationFsxWindowsInput interface {
	pulumi.Input

	ToLocationFsxWindowsOutput() LocationFsxWindowsOutput
	ToLocationFsxWindowsOutputWithContext(ctx context.Context) LocationFsxWindowsOutput
}

type LocationFsxWindowsMap

type LocationFsxWindowsMap map[string]LocationFsxWindowsInput

func (LocationFsxWindowsMap) ElementType

func (LocationFsxWindowsMap) ElementType() reflect.Type

func (LocationFsxWindowsMap) ToLocationFsxWindowsMapOutput

func (i LocationFsxWindowsMap) ToLocationFsxWindowsMapOutput() LocationFsxWindowsMapOutput

func (LocationFsxWindowsMap) ToLocationFsxWindowsMapOutputWithContext

func (i LocationFsxWindowsMap) ToLocationFsxWindowsMapOutputWithContext(ctx context.Context) LocationFsxWindowsMapOutput

func (LocationFsxWindowsMap) ToOutput added in v6.1.0

type LocationFsxWindowsMapInput

type LocationFsxWindowsMapInput interface {
	pulumi.Input

	ToLocationFsxWindowsMapOutput() LocationFsxWindowsMapOutput
	ToLocationFsxWindowsMapOutputWithContext(context.Context) LocationFsxWindowsMapOutput
}

LocationFsxWindowsMapInput is an input type that accepts LocationFsxWindowsMap and LocationFsxWindowsMapOutput values. You can construct a concrete instance of `LocationFsxWindowsMapInput` via:

LocationFsxWindowsMap{ "key": LocationFsxWindowsArgs{...} }

type LocationFsxWindowsMapOutput

type LocationFsxWindowsMapOutput struct{ *pulumi.OutputState }

func (LocationFsxWindowsMapOutput) ElementType

func (LocationFsxWindowsMapOutput) MapIndex

func (LocationFsxWindowsMapOutput) ToLocationFsxWindowsMapOutput

func (o LocationFsxWindowsMapOutput) ToLocationFsxWindowsMapOutput() LocationFsxWindowsMapOutput

func (LocationFsxWindowsMapOutput) ToLocationFsxWindowsMapOutputWithContext

func (o LocationFsxWindowsMapOutput) ToLocationFsxWindowsMapOutputWithContext(ctx context.Context) LocationFsxWindowsMapOutput

func (LocationFsxWindowsMapOutput) ToOutput added in v6.1.0

type LocationFsxWindowsOutput

type LocationFsxWindowsOutput struct{ *pulumi.OutputState }

func (LocationFsxWindowsOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationFsxWindowsOutput) CreationTime

func (o LocationFsxWindowsOutput) CreationTime() pulumi.StringOutput

The time that the FSx for Windows location was created.

func (LocationFsxWindowsOutput) Domain

The name of the Windows domain that the FSx for Windows server belongs to.

func (LocationFsxWindowsOutput) ElementType

func (LocationFsxWindowsOutput) ElementType() reflect.Type

func (LocationFsxWindowsOutput) FsxFilesystemArn

func (o LocationFsxWindowsOutput) FsxFilesystemArn() pulumi.StringOutput

The Amazon Resource Name (ARN) for the FSx for Windows file system.

func (LocationFsxWindowsOutput) Password

The password of the user who has the permissions to access files and folders in the FSx for Windows file system.

func (LocationFsxWindowsOutput) SecurityGroupArns

func (o LocationFsxWindowsOutput) SecurityGroupArns() pulumi.StringArrayOutput

The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.

func (LocationFsxWindowsOutput) Subdirectory

func (o LocationFsxWindowsOutput) Subdirectory() pulumi.StringOutput

Subdirectory to perform actions as source or destination.

func (LocationFsxWindowsOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationFsxWindowsOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationFsxWindowsOutput) ToLocationFsxWindowsOutput

func (o LocationFsxWindowsOutput) ToLocationFsxWindowsOutput() LocationFsxWindowsOutput

func (LocationFsxWindowsOutput) ToLocationFsxWindowsOutputWithContext

func (o LocationFsxWindowsOutput) ToLocationFsxWindowsOutputWithContext(ctx context.Context) LocationFsxWindowsOutput

func (LocationFsxWindowsOutput) ToOutput added in v6.1.0

func (LocationFsxWindowsOutput) Uri

The URL of the FSx for Windows location that was described.

func (LocationFsxWindowsOutput) User

The user who has the permissions to access files and folders in the FSx for Windows file system.

type LocationFsxWindowsState

type LocationFsxWindowsState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The time that the FSx for Windows location was created.
	CreationTime pulumi.StringPtrInput
	// The name of the Windows domain that the FSx for Windows server belongs to.
	Domain pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for the FSx for Windows file system.
	FsxFilesystemArn pulumi.StringPtrInput
	// The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
	Password pulumi.StringPtrInput
	// The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.
	SecurityGroupArns pulumi.StringArrayInput
	// Subdirectory to perform actions as source or destination.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The URL of the FSx for Windows location that was described.
	Uri pulumi.StringPtrInput
	// The user who has the permissions to access files and folders in the FSx for Windows file system.
	User pulumi.StringPtrInput
}

func (LocationFsxWindowsState) ElementType

func (LocationFsxWindowsState) ElementType() reflect.Type

type LocationHdfs

type LocationHdfs struct {
	pulumi.CustomResourceState

	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
	AuthenticationType pulumi.StringPtrOutput `pulumi:"authenticationType"`
	// The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
	BlockSize pulumi.IntPtrOutput `pulumi:"blockSize"`
	// The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKeytab pulumi.StringPtrOutput `pulumi:"kerberosKeytab"`
	// The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKrb5Conf pulumi.StringPtrOutput `pulumi:"kerberosKrb5Conf"`
	// The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosPrincipal pulumi.StringPtrOutput `pulumi:"kerberosPrincipal"`
	// The URI of the HDFS cluster's Key Management Server (KMS).
	KmsKeyProviderUri pulumi.StringPtrOutput `pulumi:"kmsKeyProviderUri"`
	// The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
	NameNodes LocationHdfsNameNodeArrayOutput `pulumi:"nameNodes"`
	// The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.  See configuration below.
	QopConfiguration LocationHdfsQopConfigurationPtrOutput `pulumi:"qopConfiguration"`
	// The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
	ReplicationFactor pulumi.IntPtrOutput `pulumi:"replicationFactor"`
	// The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
	SimpleUser pulumi.StringPtrOutput `pulumi:"simpleUser"`
	// 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 /.
	Subdirectory pulumi.StringPtrOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
}

Manages an HDFS Location within AWS DataSync.

> **NOTE:** The DataSync Agents must be available before creating this resource.

## Example Usage

```go 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.NewLocationHdfs(ctx, "example", &datasync.LocationHdfsArgs{
			AgentArns: pulumi.StringArray{
				aws_datasync_agent.Example.Arn,
			},
			AuthenticationType: pulumi.String("SIMPLE"),
			SimpleUser:         pulumi.String("example"),
			NameNodes: datasync.LocationHdfsNameNodeArray{
				&datasync.LocationHdfsNameNodeArgs{
					Hostname: pulumi.Any(aws_instance.Example.Private_dns),
					Port:     pulumi.Int(80),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_hdfs` using the Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/locationHdfs:LocationHdfs example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetLocationHdfs

func GetLocationHdfs(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationHdfsState, opts ...pulumi.ResourceOption) (*LocationHdfs, error)

GetLocationHdfs gets an existing LocationHdfs resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationHdfs

func NewLocationHdfs(ctx *pulumi.Context,
	name string, args *LocationHdfsArgs, opts ...pulumi.ResourceOption) (*LocationHdfs, error)

NewLocationHdfs registers a new resource with the given unique name, arguments, and options.

func (*LocationHdfs) ElementType

func (*LocationHdfs) ElementType() reflect.Type

func (*LocationHdfs) ToLocationHdfsOutput

func (i *LocationHdfs) ToLocationHdfsOutput() LocationHdfsOutput

func (*LocationHdfs) ToLocationHdfsOutputWithContext

func (i *LocationHdfs) ToLocationHdfsOutputWithContext(ctx context.Context) LocationHdfsOutput

func (*LocationHdfs) ToOutput added in v6.1.0

type LocationHdfsArgs

type LocationHdfsArgs struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
	AuthenticationType pulumi.StringPtrInput
	// The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
	BlockSize pulumi.IntPtrInput
	// The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKeytab pulumi.StringPtrInput
	// The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKrb5Conf pulumi.StringPtrInput
	// The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosPrincipal pulumi.StringPtrInput
	// The URI of the HDFS cluster's Key Management Server (KMS).
	KmsKeyProviderUri pulumi.StringPtrInput
	// The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
	NameNodes LocationHdfsNameNodeArrayInput
	// The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.  See configuration below.
	QopConfiguration LocationHdfsQopConfigurationPtrInput
	// The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
	ReplicationFactor pulumi.IntPtrInput
	// The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
	SimpleUser pulumi.StringPtrInput
	// 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 /.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LocationHdfs resource.

func (LocationHdfsArgs) ElementType

func (LocationHdfsArgs) ElementType() reflect.Type

type LocationHdfsArray

type LocationHdfsArray []LocationHdfsInput

func (LocationHdfsArray) ElementType

func (LocationHdfsArray) ElementType() reflect.Type

func (LocationHdfsArray) ToLocationHdfsArrayOutput

func (i LocationHdfsArray) ToLocationHdfsArrayOutput() LocationHdfsArrayOutput

func (LocationHdfsArray) ToLocationHdfsArrayOutputWithContext

func (i LocationHdfsArray) ToLocationHdfsArrayOutputWithContext(ctx context.Context) LocationHdfsArrayOutput

func (LocationHdfsArray) ToOutput added in v6.1.0

type LocationHdfsArrayInput

type LocationHdfsArrayInput interface {
	pulumi.Input

	ToLocationHdfsArrayOutput() LocationHdfsArrayOutput
	ToLocationHdfsArrayOutputWithContext(context.Context) LocationHdfsArrayOutput
}

LocationHdfsArrayInput is an input type that accepts LocationHdfsArray and LocationHdfsArrayOutput values. You can construct a concrete instance of `LocationHdfsArrayInput` via:

LocationHdfsArray{ LocationHdfsArgs{...} }

type LocationHdfsArrayOutput

type LocationHdfsArrayOutput struct{ *pulumi.OutputState }

func (LocationHdfsArrayOutput) ElementType

func (LocationHdfsArrayOutput) ElementType() reflect.Type

func (LocationHdfsArrayOutput) Index

func (LocationHdfsArrayOutput) ToLocationHdfsArrayOutput

func (o LocationHdfsArrayOutput) ToLocationHdfsArrayOutput() LocationHdfsArrayOutput

func (LocationHdfsArrayOutput) ToLocationHdfsArrayOutputWithContext

func (o LocationHdfsArrayOutput) ToLocationHdfsArrayOutputWithContext(ctx context.Context) LocationHdfsArrayOutput

func (LocationHdfsArrayOutput) ToOutput added in v6.1.0

type LocationHdfsInput

type LocationHdfsInput interface {
	pulumi.Input

	ToLocationHdfsOutput() LocationHdfsOutput
	ToLocationHdfsOutputWithContext(ctx context.Context) LocationHdfsOutput
}

type LocationHdfsMap

type LocationHdfsMap map[string]LocationHdfsInput

func (LocationHdfsMap) ElementType

func (LocationHdfsMap) ElementType() reflect.Type

func (LocationHdfsMap) ToLocationHdfsMapOutput

func (i LocationHdfsMap) ToLocationHdfsMapOutput() LocationHdfsMapOutput

func (LocationHdfsMap) ToLocationHdfsMapOutputWithContext

func (i LocationHdfsMap) ToLocationHdfsMapOutputWithContext(ctx context.Context) LocationHdfsMapOutput

func (LocationHdfsMap) ToOutput added in v6.1.0

type LocationHdfsMapInput

type LocationHdfsMapInput interface {
	pulumi.Input

	ToLocationHdfsMapOutput() LocationHdfsMapOutput
	ToLocationHdfsMapOutputWithContext(context.Context) LocationHdfsMapOutput
}

LocationHdfsMapInput is an input type that accepts LocationHdfsMap and LocationHdfsMapOutput values. You can construct a concrete instance of `LocationHdfsMapInput` via:

LocationHdfsMap{ "key": LocationHdfsArgs{...} }

type LocationHdfsMapOutput

type LocationHdfsMapOutput struct{ *pulumi.OutputState }

func (LocationHdfsMapOutput) ElementType

func (LocationHdfsMapOutput) ElementType() reflect.Type

func (LocationHdfsMapOutput) MapIndex

func (LocationHdfsMapOutput) ToLocationHdfsMapOutput

func (o LocationHdfsMapOutput) ToLocationHdfsMapOutput() LocationHdfsMapOutput

func (LocationHdfsMapOutput) ToLocationHdfsMapOutputWithContext

func (o LocationHdfsMapOutput) ToLocationHdfsMapOutputWithContext(ctx context.Context) LocationHdfsMapOutput

func (LocationHdfsMapOutput) ToOutput added in v6.1.0

type LocationHdfsNameNode

type LocationHdfsNameNode struct {
	// The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
	Hostname string `pulumi:"hostname"`
	// The port that the NameNode uses to listen to client requests.
	Port int `pulumi:"port"`
}

type LocationHdfsNameNodeArgs

type LocationHdfsNameNodeArgs struct {
	// The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// The port that the NameNode uses to listen to client requests.
	Port pulumi.IntInput `pulumi:"port"`
}

func (LocationHdfsNameNodeArgs) ElementType

func (LocationHdfsNameNodeArgs) ElementType() reflect.Type

func (LocationHdfsNameNodeArgs) ToLocationHdfsNameNodeOutput

func (i LocationHdfsNameNodeArgs) ToLocationHdfsNameNodeOutput() LocationHdfsNameNodeOutput

func (LocationHdfsNameNodeArgs) ToLocationHdfsNameNodeOutputWithContext

func (i LocationHdfsNameNodeArgs) ToLocationHdfsNameNodeOutputWithContext(ctx context.Context) LocationHdfsNameNodeOutput

func (LocationHdfsNameNodeArgs) ToOutput added in v6.1.0

type LocationHdfsNameNodeArray

type LocationHdfsNameNodeArray []LocationHdfsNameNodeInput

func (LocationHdfsNameNodeArray) ElementType

func (LocationHdfsNameNodeArray) ElementType() reflect.Type

func (LocationHdfsNameNodeArray) ToLocationHdfsNameNodeArrayOutput

func (i LocationHdfsNameNodeArray) ToLocationHdfsNameNodeArrayOutput() LocationHdfsNameNodeArrayOutput

func (LocationHdfsNameNodeArray) ToLocationHdfsNameNodeArrayOutputWithContext

func (i LocationHdfsNameNodeArray) ToLocationHdfsNameNodeArrayOutputWithContext(ctx context.Context) LocationHdfsNameNodeArrayOutput

func (LocationHdfsNameNodeArray) ToOutput added in v6.1.0

type LocationHdfsNameNodeArrayInput

type LocationHdfsNameNodeArrayInput interface {
	pulumi.Input

	ToLocationHdfsNameNodeArrayOutput() LocationHdfsNameNodeArrayOutput
	ToLocationHdfsNameNodeArrayOutputWithContext(context.Context) LocationHdfsNameNodeArrayOutput
}

LocationHdfsNameNodeArrayInput is an input type that accepts LocationHdfsNameNodeArray and LocationHdfsNameNodeArrayOutput values. You can construct a concrete instance of `LocationHdfsNameNodeArrayInput` via:

LocationHdfsNameNodeArray{ LocationHdfsNameNodeArgs{...} }

type LocationHdfsNameNodeArrayOutput

type LocationHdfsNameNodeArrayOutput struct{ *pulumi.OutputState }

func (LocationHdfsNameNodeArrayOutput) ElementType

func (LocationHdfsNameNodeArrayOutput) Index

func (LocationHdfsNameNodeArrayOutput) ToLocationHdfsNameNodeArrayOutput

func (o LocationHdfsNameNodeArrayOutput) ToLocationHdfsNameNodeArrayOutput() LocationHdfsNameNodeArrayOutput

func (LocationHdfsNameNodeArrayOutput) ToLocationHdfsNameNodeArrayOutputWithContext

func (o LocationHdfsNameNodeArrayOutput) ToLocationHdfsNameNodeArrayOutputWithContext(ctx context.Context) LocationHdfsNameNodeArrayOutput

func (LocationHdfsNameNodeArrayOutput) ToOutput added in v6.1.0

type LocationHdfsNameNodeInput

type LocationHdfsNameNodeInput interface {
	pulumi.Input

	ToLocationHdfsNameNodeOutput() LocationHdfsNameNodeOutput
	ToLocationHdfsNameNodeOutputWithContext(context.Context) LocationHdfsNameNodeOutput
}

LocationHdfsNameNodeInput is an input type that accepts LocationHdfsNameNodeArgs and LocationHdfsNameNodeOutput values. You can construct a concrete instance of `LocationHdfsNameNodeInput` via:

LocationHdfsNameNodeArgs{...}

type LocationHdfsNameNodeOutput

type LocationHdfsNameNodeOutput struct{ *pulumi.OutputState }

func (LocationHdfsNameNodeOutput) ElementType

func (LocationHdfsNameNodeOutput) ElementType() reflect.Type

func (LocationHdfsNameNodeOutput) Hostname

The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.

func (LocationHdfsNameNodeOutput) Port

The port that the NameNode uses to listen to client requests.

func (LocationHdfsNameNodeOutput) ToLocationHdfsNameNodeOutput

func (o LocationHdfsNameNodeOutput) ToLocationHdfsNameNodeOutput() LocationHdfsNameNodeOutput

func (LocationHdfsNameNodeOutput) ToLocationHdfsNameNodeOutputWithContext

func (o LocationHdfsNameNodeOutput) ToLocationHdfsNameNodeOutputWithContext(ctx context.Context) LocationHdfsNameNodeOutput

func (LocationHdfsNameNodeOutput) ToOutput added in v6.1.0

type LocationHdfsOutput

type LocationHdfsOutput struct{ *pulumi.OutputState }

func (LocationHdfsOutput) AgentArns

A list of DataSync Agent ARNs with which this location will be associated.

func (LocationHdfsOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationHdfsOutput) AuthenticationType

func (o LocationHdfsOutput) AuthenticationType() pulumi.StringPtrOutput

The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.

func (LocationHdfsOutput) BlockSize

func (o LocationHdfsOutput) BlockSize() pulumi.IntPtrOutput

The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

func (LocationHdfsOutput) ElementType

func (LocationHdfsOutput) ElementType() reflect.Type

func (LocationHdfsOutput) KerberosKeytab

func (o LocationHdfsOutput) KerberosKeytab() pulumi.StringPtrOutput

The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.

func (LocationHdfsOutput) KerberosKrb5Conf

func (o LocationHdfsOutput) KerberosKrb5Conf() pulumi.StringPtrOutput

The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.

func (LocationHdfsOutput) KerberosPrincipal

func (o LocationHdfsOutput) KerberosPrincipal() pulumi.StringPtrOutput

The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.

func (LocationHdfsOutput) KmsKeyProviderUri

func (o LocationHdfsOutput) KmsKeyProviderUri() pulumi.StringPtrOutput

The URI of the HDFS cluster's Key Management Server (KMS).

func (LocationHdfsOutput) NameNodes

The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.

func (LocationHdfsOutput) QopConfiguration

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.

func (LocationHdfsOutput) ReplicationFactor

func (o LocationHdfsOutput) ReplicationFactor() pulumi.IntPtrOutput

The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

func (LocationHdfsOutput) SimpleUser

func (o LocationHdfsOutput) SimpleUser() pulumi.StringPtrOutput

The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.

func (LocationHdfsOutput) Subdirectory

func (o LocationHdfsOutput) Subdirectory() pulumi.StringPtrOutput

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 /.

func (LocationHdfsOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationHdfsOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationHdfsOutput) ToLocationHdfsOutput

func (o LocationHdfsOutput) ToLocationHdfsOutput() LocationHdfsOutput

func (LocationHdfsOutput) ToLocationHdfsOutputWithContext

func (o LocationHdfsOutput) ToLocationHdfsOutputWithContext(ctx context.Context) LocationHdfsOutput

func (LocationHdfsOutput) ToOutput added in v6.1.0

func (LocationHdfsOutput) Uri

type LocationHdfsQopConfiguration

type LocationHdfsQopConfiguration struct {
	// The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.
	DataTransferProtection *string `pulumi:"dataTransferProtection"`
	// The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.
	RpcProtection *string `pulumi:"rpcProtection"`
}

type LocationHdfsQopConfigurationArgs

type LocationHdfsQopConfigurationArgs struct {
	// The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.
	DataTransferProtection pulumi.StringPtrInput `pulumi:"dataTransferProtection"`
	// The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.
	RpcProtection pulumi.StringPtrInput `pulumi:"rpcProtection"`
}

func (LocationHdfsQopConfigurationArgs) ElementType

func (LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationOutput

func (i LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationOutput() LocationHdfsQopConfigurationOutput

func (LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationOutputWithContext

func (i LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationOutputWithContext(ctx context.Context) LocationHdfsQopConfigurationOutput

func (LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationPtrOutput

func (i LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationPtrOutput() LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationPtrOutputWithContext

func (i LocationHdfsQopConfigurationArgs) ToLocationHdfsQopConfigurationPtrOutputWithContext(ctx context.Context) LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationArgs) ToOutput added in v6.1.0

type LocationHdfsQopConfigurationInput

type LocationHdfsQopConfigurationInput interface {
	pulumi.Input

	ToLocationHdfsQopConfigurationOutput() LocationHdfsQopConfigurationOutput
	ToLocationHdfsQopConfigurationOutputWithContext(context.Context) LocationHdfsQopConfigurationOutput
}

LocationHdfsQopConfigurationInput is an input type that accepts LocationHdfsQopConfigurationArgs and LocationHdfsQopConfigurationOutput values. You can construct a concrete instance of `LocationHdfsQopConfigurationInput` via:

LocationHdfsQopConfigurationArgs{...}

type LocationHdfsQopConfigurationOutput

type LocationHdfsQopConfigurationOutput struct{ *pulumi.OutputState }

func (LocationHdfsQopConfigurationOutput) DataTransferProtection

func (o LocationHdfsQopConfigurationOutput) DataTransferProtection() pulumi.StringPtrOutput

The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.

func (LocationHdfsQopConfigurationOutput) ElementType

func (LocationHdfsQopConfigurationOutput) RpcProtection

The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.

func (LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationOutput

func (o LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationOutput() LocationHdfsQopConfigurationOutput

func (LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationOutputWithContext

func (o LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationOutputWithContext(ctx context.Context) LocationHdfsQopConfigurationOutput

func (LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationPtrOutput

func (o LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationPtrOutput() LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationPtrOutputWithContext

func (o LocationHdfsQopConfigurationOutput) ToLocationHdfsQopConfigurationPtrOutputWithContext(ctx context.Context) LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationOutput) ToOutput added in v6.1.0

type LocationHdfsQopConfigurationPtrInput

type LocationHdfsQopConfigurationPtrInput interface {
	pulumi.Input

	ToLocationHdfsQopConfigurationPtrOutput() LocationHdfsQopConfigurationPtrOutput
	ToLocationHdfsQopConfigurationPtrOutputWithContext(context.Context) LocationHdfsQopConfigurationPtrOutput
}

LocationHdfsQopConfigurationPtrInput is an input type that accepts LocationHdfsQopConfigurationArgs, LocationHdfsQopConfigurationPtr and LocationHdfsQopConfigurationPtrOutput values. You can construct a concrete instance of `LocationHdfsQopConfigurationPtrInput` via:

        LocationHdfsQopConfigurationArgs{...}

or:

        nil

type LocationHdfsQopConfigurationPtrOutput

type LocationHdfsQopConfigurationPtrOutput struct{ *pulumi.OutputState }

func (LocationHdfsQopConfigurationPtrOutput) DataTransferProtection

The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.

func (LocationHdfsQopConfigurationPtrOutput) Elem

func (LocationHdfsQopConfigurationPtrOutput) ElementType

func (LocationHdfsQopConfigurationPtrOutput) RpcProtection

The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster. Valid values are `DISABLED`, `AUTHENTICATION`, `INTEGRITY` and `PRIVACY`.

func (LocationHdfsQopConfigurationPtrOutput) ToLocationHdfsQopConfigurationPtrOutput

func (o LocationHdfsQopConfigurationPtrOutput) ToLocationHdfsQopConfigurationPtrOutput() LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationPtrOutput) ToLocationHdfsQopConfigurationPtrOutputWithContext

func (o LocationHdfsQopConfigurationPtrOutput) ToLocationHdfsQopConfigurationPtrOutputWithContext(ctx context.Context) LocationHdfsQopConfigurationPtrOutput

func (LocationHdfsQopConfigurationPtrOutput) ToOutput added in v6.1.0

type LocationHdfsState

type LocationHdfsState struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
	AuthenticationType pulumi.StringPtrInput
	// The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
	BlockSize pulumi.IntPtrInput
	// The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKeytab pulumi.StringPtrInput
	// The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosKrb5Conf pulumi.StringPtrInput
	// The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
	KerberosPrincipal pulumi.StringPtrInput
	// The URI of the HDFS cluster's Key Management Server (KMS).
	KmsKeyProviderUri pulumi.StringPtrInput
	// The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
	NameNodes LocationHdfsNameNodeArrayInput
	// The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.  See configuration below.
	QopConfiguration LocationHdfsQopConfigurationPtrInput
	// The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
	ReplicationFactor pulumi.IntPtrInput
	// The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
	SimpleUser pulumi.StringPtrInput
	// 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 /.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
}

func (LocationHdfsState) ElementType

func (LocationHdfsState) ElementType() reflect.Type

type LocationObjectStorage

type LocationObjectStorage struct {
	pulumi.CustomResourceState

	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	AccessKey pulumi.StringPtrOutput `pulumi:"accessKey"`
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The bucket on the self-managed object storage server that is used to read data from.
	BucketName pulumi.StringOutput `pulumi:"bucketName"`
	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	SecretKey pulumi.StringPtrOutput `pulumi:"secretKey"`
	// 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).
	ServerCertificate pulumi.StringPtrOutput `pulumi:"serverCertificate"`
	// 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.
	ServerHostname pulumi.StringOutput `pulumi:"serverHostname"`
	// 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.
	ServerPort pulumi.IntPtrOutput `pulumi:"serverPort"`
	// The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
	ServerProtocol pulumi.StringPtrOutput `pulumi:"serverProtocol"`
	// 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 /.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The URL of the Object Storage location that was described.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages a Object Storage Location within AWS DataSync.

> **NOTE:** The DataSync Agents must be available before creating this resource.

## Example Usage

```go 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{
				aws_datasync_agent.Example.Arn,
			},
			ServerHostname: pulumi.String("example"),
			BucketName:     pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_object_storage` using the Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/locationObjectStorage:LocationObjectStorage example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetLocationObjectStorage

func GetLocationObjectStorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationObjectStorageState, opts ...pulumi.ResourceOption) (*LocationObjectStorage, error)

GetLocationObjectStorage gets an existing LocationObjectStorage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationObjectStorage

func NewLocationObjectStorage(ctx *pulumi.Context,
	name string, args *LocationObjectStorageArgs, opts ...pulumi.ResourceOption) (*LocationObjectStorage, error)

NewLocationObjectStorage registers a new resource with the given unique name, arguments, and options.

func (*LocationObjectStorage) ElementType

func (*LocationObjectStorage) ElementType() reflect.Type

func (*LocationObjectStorage) ToLocationObjectStorageOutput

func (i *LocationObjectStorage) ToLocationObjectStorageOutput() LocationObjectStorageOutput

func (*LocationObjectStorage) ToLocationObjectStorageOutputWithContext

func (i *LocationObjectStorage) ToLocationObjectStorageOutputWithContext(ctx context.Context) LocationObjectStorageOutput

func (*LocationObjectStorage) ToOutput added in v6.1.0

type LocationObjectStorageArgs

type LocationObjectStorageArgs struct {
	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	AccessKey pulumi.StringPtrInput
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// The bucket on the self-managed object storage server that is used to read data from.
	BucketName pulumi.StringInput
	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	SecretKey pulumi.StringPtrInput
	// 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).
	ServerCertificate pulumi.StringPtrInput
	// 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.
	ServerHostname pulumi.StringInput
	// 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.
	ServerPort pulumi.IntPtrInput
	// The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
	ServerProtocol pulumi.StringPtrInput
	// 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 /.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LocationObjectStorage resource.

func (LocationObjectStorageArgs) ElementType

func (LocationObjectStorageArgs) ElementType() reflect.Type

type LocationObjectStorageArray

type LocationObjectStorageArray []LocationObjectStorageInput

func (LocationObjectStorageArray) ElementType

func (LocationObjectStorageArray) ElementType() reflect.Type

func (LocationObjectStorageArray) ToLocationObjectStorageArrayOutput

func (i LocationObjectStorageArray) ToLocationObjectStorageArrayOutput() LocationObjectStorageArrayOutput

func (LocationObjectStorageArray) ToLocationObjectStorageArrayOutputWithContext

func (i LocationObjectStorageArray) ToLocationObjectStorageArrayOutputWithContext(ctx context.Context) LocationObjectStorageArrayOutput

func (LocationObjectStorageArray) ToOutput added in v6.1.0

type LocationObjectStorageArrayInput

type LocationObjectStorageArrayInput interface {
	pulumi.Input

	ToLocationObjectStorageArrayOutput() LocationObjectStorageArrayOutput
	ToLocationObjectStorageArrayOutputWithContext(context.Context) LocationObjectStorageArrayOutput
}

LocationObjectStorageArrayInput is an input type that accepts LocationObjectStorageArray and LocationObjectStorageArrayOutput values. You can construct a concrete instance of `LocationObjectStorageArrayInput` via:

LocationObjectStorageArray{ LocationObjectStorageArgs{...} }

type LocationObjectStorageArrayOutput

type LocationObjectStorageArrayOutput struct{ *pulumi.OutputState }

func (LocationObjectStorageArrayOutput) ElementType

func (LocationObjectStorageArrayOutput) Index

func (LocationObjectStorageArrayOutput) ToLocationObjectStorageArrayOutput

func (o LocationObjectStorageArrayOutput) ToLocationObjectStorageArrayOutput() LocationObjectStorageArrayOutput

func (LocationObjectStorageArrayOutput) ToLocationObjectStorageArrayOutputWithContext

func (o LocationObjectStorageArrayOutput) ToLocationObjectStorageArrayOutputWithContext(ctx context.Context) LocationObjectStorageArrayOutput

func (LocationObjectStorageArrayOutput) ToOutput added in v6.1.0

type LocationObjectStorageInput

type LocationObjectStorageInput interface {
	pulumi.Input

	ToLocationObjectStorageOutput() LocationObjectStorageOutput
	ToLocationObjectStorageOutputWithContext(ctx context.Context) LocationObjectStorageOutput
}

type LocationObjectStorageMap

type LocationObjectStorageMap map[string]LocationObjectStorageInput

func (LocationObjectStorageMap) ElementType

func (LocationObjectStorageMap) ElementType() reflect.Type

func (LocationObjectStorageMap) ToLocationObjectStorageMapOutput

func (i LocationObjectStorageMap) ToLocationObjectStorageMapOutput() LocationObjectStorageMapOutput

func (LocationObjectStorageMap) ToLocationObjectStorageMapOutputWithContext

func (i LocationObjectStorageMap) ToLocationObjectStorageMapOutputWithContext(ctx context.Context) LocationObjectStorageMapOutput

func (LocationObjectStorageMap) ToOutput added in v6.1.0

type LocationObjectStorageMapInput

type LocationObjectStorageMapInput interface {
	pulumi.Input

	ToLocationObjectStorageMapOutput() LocationObjectStorageMapOutput
	ToLocationObjectStorageMapOutputWithContext(context.Context) LocationObjectStorageMapOutput
}

LocationObjectStorageMapInput is an input type that accepts LocationObjectStorageMap and LocationObjectStorageMapOutput values. You can construct a concrete instance of `LocationObjectStorageMapInput` via:

LocationObjectStorageMap{ "key": LocationObjectStorageArgs{...} }

type LocationObjectStorageMapOutput

type LocationObjectStorageMapOutput struct{ *pulumi.OutputState }

func (LocationObjectStorageMapOutput) ElementType

func (LocationObjectStorageMapOutput) MapIndex

func (LocationObjectStorageMapOutput) ToLocationObjectStorageMapOutput

func (o LocationObjectStorageMapOutput) ToLocationObjectStorageMapOutput() LocationObjectStorageMapOutput

func (LocationObjectStorageMapOutput) ToLocationObjectStorageMapOutputWithContext

func (o LocationObjectStorageMapOutput) ToLocationObjectStorageMapOutputWithContext(ctx context.Context) LocationObjectStorageMapOutput

func (LocationObjectStorageMapOutput) ToOutput added in v6.1.0

type LocationObjectStorageOutput

type LocationObjectStorageOutput struct{ *pulumi.OutputState }

func (LocationObjectStorageOutput) AccessKey

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 `accessKey` and `secretKey` to provide the user name and password, respectively.

func (LocationObjectStorageOutput) AgentArns

A list of DataSync Agent ARNs with which this location will be associated.

func (LocationObjectStorageOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationObjectStorageOutput) BucketName

The bucket on the self-managed object storage server that is used to read data from.

func (LocationObjectStorageOutput) ElementType

func (LocationObjectStorageOutput) SecretKey

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 `accessKey` and `secretKey` to provide the user name and password, respectively.

func (LocationObjectStorageOutput) ServerCertificate

func (o LocationObjectStorageOutput) ServerCertificate() pulumi.StringPtrOutput

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).

func (LocationObjectStorageOutput) ServerHostname

func (o LocationObjectStorageOutput) ServerHostname() pulumi.StringOutput

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.

func (LocationObjectStorageOutput) ServerPort

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.

func (LocationObjectStorageOutput) ServerProtocol

The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.

func (LocationObjectStorageOutput) Subdirectory

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 /.

func (LocationObjectStorageOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationObjectStorageOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationObjectStorageOutput) ToLocationObjectStorageOutput

func (o LocationObjectStorageOutput) ToLocationObjectStorageOutput() LocationObjectStorageOutput

func (LocationObjectStorageOutput) ToLocationObjectStorageOutputWithContext

func (o LocationObjectStorageOutput) ToLocationObjectStorageOutputWithContext(ctx context.Context) LocationObjectStorageOutput

func (LocationObjectStorageOutput) ToOutput added in v6.1.0

func (LocationObjectStorageOutput) Uri

The URL of the Object Storage location that was described.

type LocationObjectStorageState

type LocationObjectStorageState struct {
	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	AccessKey pulumi.StringPtrInput
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The bucket on the self-managed object storage server that is used to read data from.
	BucketName pulumi.StringPtrInput
	// 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 `accessKey` and `secretKey` to provide the user name and password, respectively.
	SecretKey pulumi.StringPtrInput
	// 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).
	ServerCertificate pulumi.StringPtrInput
	// 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.
	ServerHostname pulumi.StringPtrInput
	// 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.
	ServerPort pulumi.IntPtrInput
	// The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
	ServerProtocol pulumi.StringPtrInput
	// 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 /.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The URL of the Object Storage location that was described.
	Uri pulumi.StringPtrInput
}

func (LocationObjectStorageState) ElementType

func (LocationObjectStorageState) ElementType() reflect.Type

type LocationSmb

type LocationSmb struct {
	pulumi.CustomResourceState

	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the Windows domain the SMB server belongs to.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.
	MountOptions LocationSmbMountOptionsPtrOutput `pulumi:"mountOptions"`
	// The password of the user who can mount the share and has file permissions in the SMB.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share.
	ServerHostname pulumi.StringOutput `pulumi:"serverHostname"`
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
	// The user who can mount the share and has file and folder permissions in the SMB share.
	User pulumi.StringOutput `pulumi:"user"`
}

Manages a SMB Location within AWS DataSync.

> **NOTE:** The DataSync Agents must be available before creating this resource.

## Example Usage

```go 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.NewLocationSmb(ctx, "example", &datasync.LocationSmbArgs{
			ServerHostname: pulumi.String("smb.example.com"),
			Subdirectory:   pulumi.String("/exported/path"),
			User:           pulumi.String("Guest"),
			Password:       pulumi.String("ANotGreatPassword"),
			AgentArns: pulumi.StringArray{
				aws_datasync_agent.Example.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_smb` using the Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/locationSmb:LocationSmb example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetLocationSmb

func GetLocationSmb(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocationSmbState, opts ...pulumi.ResourceOption) (*LocationSmb, error)

GetLocationSmb gets an existing LocationSmb resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocationSmb

func NewLocationSmb(ctx *pulumi.Context,
	name string, args *LocationSmbArgs, opts ...pulumi.ResourceOption) (*LocationSmb, error)

NewLocationSmb registers a new resource with the given unique name, arguments, and options.

func (*LocationSmb) ElementType

func (*LocationSmb) ElementType() reflect.Type

func (*LocationSmb) ToLocationSmbOutput

func (i *LocationSmb) ToLocationSmbOutput() LocationSmbOutput

func (*LocationSmb) ToLocationSmbOutputWithContext

func (i *LocationSmb) ToLocationSmbOutputWithContext(ctx context.Context) LocationSmbOutput

func (*LocationSmb) ToOutput added in v6.1.0

func (i *LocationSmb) ToOutput(ctx context.Context) pulumix.Output[*LocationSmb]

type LocationSmbArgs

type LocationSmbArgs struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// The name of the Windows domain the SMB server belongs to.
	Domain pulumi.StringPtrInput
	// Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.
	MountOptions LocationSmbMountOptionsPtrInput
	// The password of the user who can mount the share and has file permissions in the SMB.
	Password pulumi.StringInput
	// Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share.
	ServerHostname pulumi.StringInput
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The user who can mount the share and has file and folder permissions in the SMB share.
	User pulumi.StringInput
}

The set of arguments for constructing a LocationSmb resource.

func (LocationSmbArgs) ElementType

func (LocationSmbArgs) ElementType() reflect.Type

type LocationSmbArray

type LocationSmbArray []LocationSmbInput

func (LocationSmbArray) ElementType

func (LocationSmbArray) ElementType() reflect.Type

func (LocationSmbArray) ToLocationSmbArrayOutput

func (i LocationSmbArray) ToLocationSmbArrayOutput() LocationSmbArrayOutput

func (LocationSmbArray) ToLocationSmbArrayOutputWithContext

func (i LocationSmbArray) ToLocationSmbArrayOutputWithContext(ctx context.Context) LocationSmbArrayOutput

func (LocationSmbArray) ToOutput added in v6.1.0

type LocationSmbArrayInput

type LocationSmbArrayInput interface {
	pulumi.Input

	ToLocationSmbArrayOutput() LocationSmbArrayOutput
	ToLocationSmbArrayOutputWithContext(context.Context) LocationSmbArrayOutput
}

LocationSmbArrayInput is an input type that accepts LocationSmbArray and LocationSmbArrayOutput values. You can construct a concrete instance of `LocationSmbArrayInput` via:

LocationSmbArray{ LocationSmbArgs{...} }

type LocationSmbArrayOutput

type LocationSmbArrayOutput struct{ *pulumi.OutputState }

func (LocationSmbArrayOutput) ElementType

func (LocationSmbArrayOutput) ElementType() reflect.Type

func (LocationSmbArrayOutput) Index

func (LocationSmbArrayOutput) ToLocationSmbArrayOutput

func (o LocationSmbArrayOutput) ToLocationSmbArrayOutput() LocationSmbArrayOutput

func (LocationSmbArrayOutput) ToLocationSmbArrayOutputWithContext

func (o LocationSmbArrayOutput) ToLocationSmbArrayOutputWithContext(ctx context.Context) LocationSmbArrayOutput

func (LocationSmbArrayOutput) ToOutput added in v6.1.0

type LocationSmbInput

type LocationSmbInput interface {
	pulumi.Input

	ToLocationSmbOutput() LocationSmbOutput
	ToLocationSmbOutputWithContext(ctx context.Context) LocationSmbOutput
}

type LocationSmbMap

type LocationSmbMap map[string]LocationSmbInput

func (LocationSmbMap) ElementType

func (LocationSmbMap) ElementType() reflect.Type

func (LocationSmbMap) ToLocationSmbMapOutput

func (i LocationSmbMap) ToLocationSmbMapOutput() LocationSmbMapOutput

func (LocationSmbMap) ToLocationSmbMapOutputWithContext

func (i LocationSmbMap) ToLocationSmbMapOutputWithContext(ctx context.Context) LocationSmbMapOutput

func (LocationSmbMap) ToOutput added in v6.1.0

type LocationSmbMapInput

type LocationSmbMapInput interface {
	pulumi.Input

	ToLocationSmbMapOutput() LocationSmbMapOutput
	ToLocationSmbMapOutputWithContext(context.Context) LocationSmbMapOutput
}

LocationSmbMapInput is an input type that accepts LocationSmbMap and LocationSmbMapOutput values. You can construct a concrete instance of `LocationSmbMapInput` via:

LocationSmbMap{ "key": LocationSmbArgs{...} }

type LocationSmbMapOutput

type LocationSmbMapOutput struct{ *pulumi.OutputState }

func (LocationSmbMapOutput) ElementType

func (LocationSmbMapOutput) ElementType() reflect.Type

func (LocationSmbMapOutput) MapIndex

func (LocationSmbMapOutput) ToLocationSmbMapOutput

func (o LocationSmbMapOutput) ToLocationSmbMapOutput() LocationSmbMapOutput

func (LocationSmbMapOutput) ToLocationSmbMapOutputWithContext

func (o LocationSmbMapOutput) ToLocationSmbMapOutputWithContext(ctx context.Context) LocationSmbMapOutput

func (LocationSmbMapOutput) ToOutput added in v6.1.0

type LocationSmbMountOptions

type LocationSmbMountOptions struct {
	// The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`
	Version *string `pulumi:"version"`
}

type LocationSmbMountOptionsArgs

type LocationSmbMountOptionsArgs struct {
	// The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (LocationSmbMountOptionsArgs) ElementType

func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutput

func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput

func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutputWithContext

func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput

func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutput

func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutputWithContext

func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsArgs) ToOutput added in v6.1.0

type LocationSmbMountOptionsInput

type LocationSmbMountOptionsInput interface {
	pulumi.Input

	ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput
	ToLocationSmbMountOptionsOutputWithContext(context.Context) LocationSmbMountOptionsOutput
}

LocationSmbMountOptionsInput is an input type that accepts LocationSmbMountOptionsArgs and LocationSmbMountOptionsOutput values. You can construct a concrete instance of `LocationSmbMountOptionsInput` via:

LocationSmbMountOptionsArgs{...}

type LocationSmbMountOptionsOutput

type LocationSmbMountOptionsOutput struct{ *pulumi.OutputState }

func (LocationSmbMountOptionsOutput) ElementType

func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutput

func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput

func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutputWithContext

func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput

func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutput

func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutputWithContext

func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsOutput) ToOutput added in v6.1.0

func (LocationSmbMountOptionsOutput) Version

The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`

type LocationSmbMountOptionsPtrInput

type LocationSmbMountOptionsPtrInput interface {
	pulumi.Input

	ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
	ToLocationSmbMountOptionsPtrOutputWithContext(context.Context) LocationSmbMountOptionsPtrOutput
}

LocationSmbMountOptionsPtrInput is an input type that accepts LocationSmbMountOptionsArgs, LocationSmbMountOptionsPtr and LocationSmbMountOptionsPtrOutput values. You can construct a concrete instance of `LocationSmbMountOptionsPtrInput` via:

        LocationSmbMountOptionsArgs{...}

or:

        nil

type LocationSmbMountOptionsPtrOutput

type LocationSmbMountOptionsPtrOutput struct{ *pulumi.OutputState }

func (LocationSmbMountOptionsPtrOutput) Elem

func (LocationSmbMountOptionsPtrOutput) ElementType

func (LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutput

func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutputWithContext

func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput

func (LocationSmbMountOptionsPtrOutput) ToOutput added in v6.1.0

func (LocationSmbMountOptionsPtrOutput) Version

The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`

type LocationSmbOutput

type LocationSmbOutput struct{ *pulumi.OutputState }

func (LocationSmbOutput) AgentArns

A list of DataSync Agent ARNs with which this location will be associated.

func (LocationSmbOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (LocationSmbOutput) Domain

The name of the Windows domain the SMB server belongs to.

func (LocationSmbOutput) ElementType

func (LocationSmbOutput) ElementType() reflect.Type

func (LocationSmbOutput) MountOptions

Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.

func (LocationSmbOutput) Password

func (o LocationSmbOutput) Password() pulumi.StringOutput

The password of the user who can mount the share and has file permissions in the SMB.

func (LocationSmbOutput) ServerHostname

func (o LocationSmbOutput) ServerHostname() pulumi.StringOutput

Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share.

func (LocationSmbOutput) Subdirectory

func (o LocationSmbOutput) Subdirectory() pulumi.StringOutput

Subdirectory to perform actions as source or destination. Should be exported by the NFS server.

func (LocationSmbOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LocationSmbOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LocationSmbOutput) ToLocationSmbOutput

func (o LocationSmbOutput) ToLocationSmbOutput() LocationSmbOutput

func (LocationSmbOutput) ToLocationSmbOutputWithContext

func (o LocationSmbOutput) ToLocationSmbOutputWithContext(ctx context.Context) LocationSmbOutput

func (LocationSmbOutput) ToOutput added in v6.1.0

func (LocationSmbOutput) Uri

func (LocationSmbOutput) User

The user who can mount the share and has file and folder permissions in the SMB share.

type LocationSmbState

type LocationSmbState struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// The name of the Windows domain the SMB server belongs to.
	Domain pulumi.StringPtrInput
	// Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.
	MountOptions LocationSmbMountOptionsPtrInput
	// The password of the user who can mount the share and has file permissions in the SMB.
	Password pulumi.StringPtrInput
	// Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share.
	ServerHostname pulumi.StringPtrInput
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
	// The user who can mount the share and has file and folder permissions in the SMB share.
	User pulumi.StringPtrInput
}

func (LocationSmbState) ElementType

func (LocationSmbState) ElementType() reflect.Type

type NfsLocation

type NfsLocation struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block containing mount options used by DataSync to access the NFS Server.
	MountOptions NfsLocationMountOptionsPtrOutput `pulumi:"mountOptions"`
	// Configuration block containing information for connecting to the NFS File System.
	OnPremConfig NfsLocationOnPremConfigOutput `pulumi:"onPremConfig"`
	// Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
	ServerHostname pulumi.StringOutput `pulumi:"serverHostname"`
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
}

Manages an NFS Location within AWS DataSync.

> **NOTE:** The DataSync Agents must be available before creating this resource.

## Example Usage

```go 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.NewNfsLocation(ctx, "example", &datasync.NfsLocationArgs{
			ServerHostname: pulumi.String("nfs.example.com"),
			Subdirectory:   pulumi.String("/exported/path"),
			OnPremConfig: &datasync.NfsLocationOnPremConfigArgs{
				AgentArns: pulumi.StringArray{
					aws_datasync_agent.Example.Arn,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_nfs` using the DataSync Task Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/nfsLocation:NfsLocation example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetNfsLocation

func GetNfsLocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NfsLocationState, opts ...pulumi.ResourceOption) (*NfsLocation, error)

GetNfsLocation gets an existing NfsLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNfsLocation

func NewNfsLocation(ctx *pulumi.Context,
	name string, args *NfsLocationArgs, opts ...pulumi.ResourceOption) (*NfsLocation, error)

NewNfsLocation registers a new resource with the given unique name, arguments, and options.

func (*NfsLocation) ElementType

func (*NfsLocation) ElementType() reflect.Type

func (*NfsLocation) ToNfsLocationOutput

func (i *NfsLocation) ToNfsLocationOutput() NfsLocationOutput

func (*NfsLocation) ToNfsLocationOutputWithContext

func (i *NfsLocation) ToNfsLocationOutputWithContext(ctx context.Context) NfsLocationOutput

func (*NfsLocation) ToOutput added in v6.1.0

func (i *NfsLocation) ToOutput(ctx context.Context) pulumix.Output[*NfsLocation]

type NfsLocationArgs

type NfsLocationArgs struct {
	// Configuration block containing mount options used by DataSync to access the NFS Server.
	MountOptions NfsLocationMountOptionsPtrInput
	// Configuration block containing information for connecting to the NFS File System.
	OnPremConfig NfsLocationOnPremConfigInput
	// Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
	ServerHostname pulumi.StringInput
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a NfsLocation resource.

func (NfsLocationArgs) ElementType

func (NfsLocationArgs) ElementType() reflect.Type

type NfsLocationArray

type NfsLocationArray []NfsLocationInput

func (NfsLocationArray) ElementType

func (NfsLocationArray) ElementType() reflect.Type

func (NfsLocationArray) ToNfsLocationArrayOutput

func (i NfsLocationArray) ToNfsLocationArrayOutput() NfsLocationArrayOutput

func (NfsLocationArray) ToNfsLocationArrayOutputWithContext

func (i NfsLocationArray) ToNfsLocationArrayOutputWithContext(ctx context.Context) NfsLocationArrayOutput

func (NfsLocationArray) ToOutput added in v6.1.0

type NfsLocationArrayInput

type NfsLocationArrayInput interface {
	pulumi.Input

	ToNfsLocationArrayOutput() NfsLocationArrayOutput
	ToNfsLocationArrayOutputWithContext(context.Context) NfsLocationArrayOutput
}

NfsLocationArrayInput is an input type that accepts NfsLocationArray and NfsLocationArrayOutput values. You can construct a concrete instance of `NfsLocationArrayInput` via:

NfsLocationArray{ NfsLocationArgs{...} }

type NfsLocationArrayOutput

type NfsLocationArrayOutput struct{ *pulumi.OutputState }

func (NfsLocationArrayOutput) ElementType

func (NfsLocationArrayOutput) ElementType() reflect.Type

func (NfsLocationArrayOutput) Index

func (NfsLocationArrayOutput) ToNfsLocationArrayOutput

func (o NfsLocationArrayOutput) ToNfsLocationArrayOutput() NfsLocationArrayOutput

func (NfsLocationArrayOutput) ToNfsLocationArrayOutputWithContext

func (o NfsLocationArrayOutput) ToNfsLocationArrayOutputWithContext(ctx context.Context) NfsLocationArrayOutput

func (NfsLocationArrayOutput) ToOutput added in v6.1.0

type NfsLocationInput

type NfsLocationInput interface {
	pulumi.Input

	ToNfsLocationOutput() NfsLocationOutput
	ToNfsLocationOutputWithContext(ctx context.Context) NfsLocationOutput
}

type NfsLocationMap

type NfsLocationMap map[string]NfsLocationInput

func (NfsLocationMap) ElementType

func (NfsLocationMap) ElementType() reflect.Type

func (NfsLocationMap) ToNfsLocationMapOutput

func (i NfsLocationMap) ToNfsLocationMapOutput() NfsLocationMapOutput

func (NfsLocationMap) ToNfsLocationMapOutputWithContext

func (i NfsLocationMap) ToNfsLocationMapOutputWithContext(ctx context.Context) NfsLocationMapOutput

func (NfsLocationMap) ToOutput added in v6.1.0

type NfsLocationMapInput

type NfsLocationMapInput interface {
	pulumi.Input

	ToNfsLocationMapOutput() NfsLocationMapOutput
	ToNfsLocationMapOutputWithContext(context.Context) NfsLocationMapOutput
}

NfsLocationMapInput is an input type that accepts NfsLocationMap and NfsLocationMapOutput values. You can construct a concrete instance of `NfsLocationMapInput` via:

NfsLocationMap{ "key": NfsLocationArgs{...} }

type NfsLocationMapOutput

type NfsLocationMapOutput struct{ *pulumi.OutputState }

func (NfsLocationMapOutput) ElementType

func (NfsLocationMapOutput) ElementType() reflect.Type

func (NfsLocationMapOutput) MapIndex

func (NfsLocationMapOutput) ToNfsLocationMapOutput

func (o NfsLocationMapOutput) ToNfsLocationMapOutput() NfsLocationMapOutput

func (NfsLocationMapOutput) ToNfsLocationMapOutputWithContext

func (o NfsLocationMapOutput) ToNfsLocationMapOutputWithContext(ctx context.Context) NfsLocationMapOutput

func (NfsLocationMapOutput) ToOutput added in v6.1.0

type NfsLocationMountOptions

type NfsLocationMountOptions struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`
	Version *string `pulumi:"version"`
}

type NfsLocationMountOptionsArgs

type NfsLocationMountOptionsArgs struct {
	// The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (NfsLocationMountOptionsArgs) ElementType

func (NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsOutput

func (i NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsOutput() NfsLocationMountOptionsOutput

func (NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsOutputWithContext

func (i NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsOutputWithContext(ctx context.Context) NfsLocationMountOptionsOutput

func (NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsPtrOutput

func (i NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsPtrOutput() NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsPtrOutputWithContext

func (i NfsLocationMountOptionsArgs) ToNfsLocationMountOptionsPtrOutputWithContext(ctx context.Context) NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsArgs) ToOutput added in v6.1.0

type NfsLocationMountOptionsInput

type NfsLocationMountOptionsInput interface {
	pulumi.Input

	ToNfsLocationMountOptionsOutput() NfsLocationMountOptionsOutput
	ToNfsLocationMountOptionsOutputWithContext(context.Context) NfsLocationMountOptionsOutput
}

NfsLocationMountOptionsInput is an input type that accepts NfsLocationMountOptionsArgs and NfsLocationMountOptionsOutput values. You can construct a concrete instance of `NfsLocationMountOptionsInput` via:

NfsLocationMountOptionsArgs{...}

type NfsLocationMountOptionsOutput

type NfsLocationMountOptionsOutput struct{ *pulumi.OutputState }

func (NfsLocationMountOptionsOutput) ElementType

func (NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsOutput

func (o NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsOutput() NfsLocationMountOptionsOutput

func (NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsOutputWithContext

func (o NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsOutputWithContext(ctx context.Context) NfsLocationMountOptionsOutput

func (NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsPtrOutput

func (o NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsPtrOutput() NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsPtrOutputWithContext

func (o NfsLocationMountOptionsOutput) ToNfsLocationMountOptionsPtrOutputWithContext(ctx context.Context) NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsOutput) ToOutput added in v6.1.0

func (NfsLocationMountOptionsOutput) Version

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`

type NfsLocationMountOptionsPtrInput

type NfsLocationMountOptionsPtrInput interface {
	pulumi.Input

	ToNfsLocationMountOptionsPtrOutput() NfsLocationMountOptionsPtrOutput
	ToNfsLocationMountOptionsPtrOutputWithContext(context.Context) NfsLocationMountOptionsPtrOutput
}

NfsLocationMountOptionsPtrInput is an input type that accepts NfsLocationMountOptionsArgs, NfsLocationMountOptionsPtr and NfsLocationMountOptionsPtrOutput values. You can construct a concrete instance of `NfsLocationMountOptionsPtrInput` via:

        NfsLocationMountOptionsArgs{...}

or:

        nil

type NfsLocationMountOptionsPtrOutput

type NfsLocationMountOptionsPtrOutput struct{ *pulumi.OutputState }

func (NfsLocationMountOptionsPtrOutput) Elem

func (NfsLocationMountOptionsPtrOutput) ElementType

func (NfsLocationMountOptionsPtrOutput) ToNfsLocationMountOptionsPtrOutput

func (o NfsLocationMountOptionsPtrOutput) ToNfsLocationMountOptionsPtrOutput() NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsPtrOutput) ToNfsLocationMountOptionsPtrOutputWithContext

func (o NfsLocationMountOptionsPtrOutput) ToNfsLocationMountOptionsPtrOutputWithContext(ctx context.Context) NfsLocationMountOptionsPtrOutput

func (NfsLocationMountOptionsPtrOutput) ToOutput added in v6.1.0

func (NfsLocationMountOptionsPtrOutput) Version

The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: `AUTOMATIC`, `NFS3`, `NFS4_0` and `NFS4_1`. Default: `AUTOMATIC`

type NfsLocationOnPremConfig

type NfsLocationOnPremConfig struct {
	// List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
	AgentArns []string `pulumi:"agentArns"`
}

type NfsLocationOnPremConfigArgs

type NfsLocationOnPremConfigArgs struct {
	// List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
	AgentArns pulumi.StringArrayInput `pulumi:"agentArns"`
}

func (NfsLocationOnPremConfigArgs) ElementType

func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutput

func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput

func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutputWithContext

func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput

func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutput

func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutputWithContext

func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigArgs) ToOutput added in v6.1.0

type NfsLocationOnPremConfigInput

type NfsLocationOnPremConfigInput interface {
	pulumi.Input

	ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput
	ToNfsLocationOnPremConfigOutputWithContext(context.Context) NfsLocationOnPremConfigOutput
}

NfsLocationOnPremConfigInput is an input type that accepts NfsLocationOnPremConfigArgs and NfsLocationOnPremConfigOutput values. You can construct a concrete instance of `NfsLocationOnPremConfigInput` via:

NfsLocationOnPremConfigArgs{...}

type NfsLocationOnPremConfigOutput

type NfsLocationOnPremConfigOutput struct{ *pulumi.OutputState }

func (NfsLocationOnPremConfigOutput) AgentArns

List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.

func (NfsLocationOnPremConfigOutput) ElementType

func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutput

func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput

func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutputWithContext

func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput

func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutput

func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutputWithContext

func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigOutput) ToOutput added in v6.1.0

type NfsLocationOnPremConfigPtrInput

type NfsLocationOnPremConfigPtrInput interface {
	pulumi.Input

	ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
	ToNfsLocationOnPremConfigPtrOutputWithContext(context.Context) NfsLocationOnPremConfigPtrOutput
}

NfsLocationOnPremConfigPtrInput is an input type that accepts NfsLocationOnPremConfigArgs, NfsLocationOnPremConfigPtr and NfsLocationOnPremConfigPtrOutput values. You can construct a concrete instance of `NfsLocationOnPremConfigPtrInput` via:

        NfsLocationOnPremConfigArgs{...}

or:

        nil

type NfsLocationOnPremConfigPtrOutput

type NfsLocationOnPremConfigPtrOutput struct{ *pulumi.OutputState }

func (NfsLocationOnPremConfigPtrOutput) AgentArns

List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.

func (NfsLocationOnPremConfigPtrOutput) Elem

func (NfsLocationOnPremConfigPtrOutput) ElementType

func (NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutput

func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutputWithContext

func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput

func (NfsLocationOnPremConfigPtrOutput) ToOutput added in v6.1.0

type NfsLocationOutput

type NfsLocationOutput struct{ *pulumi.OutputState }

func (NfsLocationOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (NfsLocationOutput) ElementType

func (NfsLocationOutput) ElementType() reflect.Type

func (NfsLocationOutput) MountOptions

Configuration block containing mount options used by DataSync to access the NFS Server.

func (NfsLocationOutput) OnPremConfig

Configuration block containing information for connecting to the NFS File System.

func (NfsLocationOutput) ServerHostname

func (o NfsLocationOutput) ServerHostname() pulumi.StringOutput

Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.

func (NfsLocationOutput) Subdirectory

func (o NfsLocationOutput) Subdirectory() pulumi.StringOutput

Subdirectory to perform actions as source or destination. Should be exported by the NFS server.

func (NfsLocationOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (NfsLocationOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (NfsLocationOutput) ToNfsLocationOutput

func (o NfsLocationOutput) ToNfsLocationOutput() NfsLocationOutput

func (NfsLocationOutput) ToNfsLocationOutputWithContext

func (o NfsLocationOutput) ToNfsLocationOutputWithContext(ctx context.Context) NfsLocationOutput

func (NfsLocationOutput) ToOutput added in v6.1.0

func (NfsLocationOutput) Uri

type NfsLocationState

type NfsLocationState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// Configuration block containing mount options used by DataSync to access the NFS Server.
	MountOptions NfsLocationMountOptionsPtrInput
	// Configuration block containing information for connecting to the NFS File System.
	OnPremConfig NfsLocationOnPremConfigPtrInput
	// Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
	ServerHostname pulumi.StringPtrInput
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
}

func (NfsLocationState) ElementType

func (NfsLocationState) ElementType() reflect.Type

type S3Location

type S3Location struct {
	pulumi.CustomResourceState

	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"`
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Amazon Resource Name (ARN) of the S3 Bucket.
	S3BucketArn pulumi.StringOutput `pulumi:"s3BucketArn"`
	// Configuration block containing information for connecting to S3.
	S3Config S3LocationS3ConfigOutput `pulumi:"s3Config"`
	// The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
	S3StorageClass pulumi.StringOutput `pulumi:"s3StorageClass"`
	// Prefix to perform actions as source or destination.
	Subdirectory pulumi.StringOutput `pulumi:"subdirectory"`
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Uri     pulumi.StringOutput    `pulumi:"uri"`
}

Manages an S3 Location within AWS DataSync.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"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.NewS3Location(ctx, "example", &datasync.S3LocationArgs{
			S3BucketArn:  pulumi.Any(aws_s3_bucket.Example.Arn),
			Subdirectory: pulumi.String("/example/prefix"),
			S3Config: &datasync.S3LocationS3ConfigArgs{
				BucketAccessRoleArn: pulumi.Any(aws_iam_role.Example.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_location_s3` using the DataSync Task Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/s3Location:S3Location example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567

```

func GetS3Location

func GetS3Location(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *S3LocationState, opts ...pulumi.ResourceOption) (*S3Location, error)

GetS3Location gets an existing S3Location resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewS3Location

func NewS3Location(ctx *pulumi.Context,
	name string, args *S3LocationArgs, opts ...pulumi.ResourceOption) (*S3Location, error)

NewS3Location registers a new resource with the given unique name, arguments, and options.

func (*S3Location) ElementType

func (*S3Location) ElementType() reflect.Type

func (*S3Location) ToOutput added in v6.1.0

func (i *S3Location) ToOutput(ctx context.Context) pulumix.Output[*S3Location]

func (*S3Location) ToS3LocationOutput

func (i *S3Location) ToS3LocationOutput() S3LocationOutput

func (*S3Location) ToS3LocationOutputWithContext

func (i *S3Location) ToS3LocationOutputWithContext(ctx context.Context) S3LocationOutput

type S3LocationArgs

type S3LocationArgs struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the S3 Bucket.
	S3BucketArn pulumi.StringInput
	// Configuration block containing information for connecting to S3.
	S3Config S3LocationS3ConfigInput
	// The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
	S3StorageClass pulumi.StringPtrInput
	// Prefix to perform actions as source or destination.
	Subdirectory pulumi.StringInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a S3Location resource.

func (S3LocationArgs) ElementType

func (S3LocationArgs) ElementType() reflect.Type

type S3LocationArray

type S3LocationArray []S3LocationInput

func (S3LocationArray) ElementType

func (S3LocationArray) ElementType() reflect.Type

func (S3LocationArray) ToOutput added in v6.1.0

func (S3LocationArray) ToS3LocationArrayOutput

func (i S3LocationArray) ToS3LocationArrayOutput() S3LocationArrayOutput

func (S3LocationArray) ToS3LocationArrayOutputWithContext

func (i S3LocationArray) ToS3LocationArrayOutputWithContext(ctx context.Context) S3LocationArrayOutput

type S3LocationArrayInput

type S3LocationArrayInput interface {
	pulumi.Input

	ToS3LocationArrayOutput() S3LocationArrayOutput
	ToS3LocationArrayOutputWithContext(context.Context) S3LocationArrayOutput
}

S3LocationArrayInput is an input type that accepts S3LocationArray and S3LocationArrayOutput values. You can construct a concrete instance of `S3LocationArrayInput` via:

S3LocationArray{ S3LocationArgs{...} }

type S3LocationArrayOutput

type S3LocationArrayOutput struct{ *pulumi.OutputState }

func (S3LocationArrayOutput) ElementType

func (S3LocationArrayOutput) ElementType() reflect.Type

func (S3LocationArrayOutput) Index

func (S3LocationArrayOutput) ToOutput added in v6.1.0

func (S3LocationArrayOutput) ToS3LocationArrayOutput

func (o S3LocationArrayOutput) ToS3LocationArrayOutput() S3LocationArrayOutput

func (S3LocationArrayOutput) ToS3LocationArrayOutputWithContext

func (o S3LocationArrayOutput) ToS3LocationArrayOutputWithContext(ctx context.Context) S3LocationArrayOutput

type S3LocationInput

type S3LocationInput interface {
	pulumi.Input

	ToS3LocationOutput() S3LocationOutput
	ToS3LocationOutputWithContext(ctx context.Context) S3LocationOutput
}

type S3LocationMap

type S3LocationMap map[string]S3LocationInput

func (S3LocationMap) ElementType

func (S3LocationMap) ElementType() reflect.Type

func (S3LocationMap) ToOutput added in v6.1.0

func (S3LocationMap) ToS3LocationMapOutput

func (i S3LocationMap) ToS3LocationMapOutput() S3LocationMapOutput

func (S3LocationMap) ToS3LocationMapOutputWithContext

func (i S3LocationMap) ToS3LocationMapOutputWithContext(ctx context.Context) S3LocationMapOutput

type S3LocationMapInput

type S3LocationMapInput interface {
	pulumi.Input

	ToS3LocationMapOutput() S3LocationMapOutput
	ToS3LocationMapOutputWithContext(context.Context) S3LocationMapOutput
}

S3LocationMapInput is an input type that accepts S3LocationMap and S3LocationMapOutput values. You can construct a concrete instance of `S3LocationMapInput` via:

S3LocationMap{ "key": S3LocationArgs{...} }

type S3LocationMapOutput

type S3LocationMapOutput struct{ *pulumi.OutputState }

func (S3LocationMapOutput) ElementType

func (S3LocationMapOutput) ElementType() reflect.Type

func (S3LocationMapOutput) MapIndex

func (S3LocationMapOutput) ToOutput added in v6.1.0

func (S3LocationMapOutput) ToS3LocationMapOutput

func (o S3LocationMapOutput) ToS3LocationMapOutput() S3LocationMapOutput

func (S3LocationMapOutput) ToS3LocationMapOutputWithContext

func (o S3LocationMapOutput) ToS3LocationMapOutputWithContext(ctx context.Context) S3LocationMapOutput

type S3LocationOutput

type S3LocationOutput struct{ *pulumi.OutputState }

func (S3LocationOutput) AgentArns

A list of DataSync Agent ARNs with which this location will be associated.

func (S3LocationOutput) Arn

Amazon Resource Name (ARN) of the DataSync Location.

func (S3LocationOutput) ElementType

func (S3LocationOutput) ElementType() reflect.Type

func (S3LocationOutput) S3BucketArn

func (o S3LocationOutput) S3BucketArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the S3 Bucket.

func (S3LocationOutput) S3Config

Configuration block containing information for connecting to S3.

func (S3LocationOutput) S3StorageClass

func (o S3LocationOutput) S3StorageClass() pulumi.StringOutput

The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)

func (S3LocationOutput) Subdirectory

func (o S3LocationOutput) Subdirectory() pulumi.StringOutput

Prefix to perform actions as source or destination.

func (S3LocationOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (S3LocationOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (S3LocationOutput) ToOutput added in v6.1.0

func (S3LocationOutput) ToS3LocationOutput

func (o S3LocationOutput) ToS3LocationOutput() S3LocationOutput

func (S3LocationOutput) ToS3LocationOutputWithContext

func (o S3LocationOutput) ToS3LocationOutputWithContext(ctx context.Context) S3LocationOutput

func (S3LocationOutput) Uri

type S3LocationS3Config

type S3LocationS3Config struct {
	// ARN of the IAM Role used to connect to the S3 Bucket.
	BucketAccessRoleArn string `pulumi:"bucketAccessRoleArn"`
}

type S3LocationS3ConfigArgs

type S3LocationS3ConfigArgs struct {
	// ARN of the IAM Role used to connect to the S3 Bucket.
	BucketAccessRoleArn pulumi.StringInput `pulumi:"bucketAccessRoleArn"`
}

func (S3LocationS3ConfigArgs) ElementType

func (S3LocationS3ConfigArgs) ElementType() reflect.Type

func (S3LocationS3ConfigArgs) ToOutput added in v6.1.0

func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutput

func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput

func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutputWithContext

func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput

func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutput

func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput

func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutputWithContext

func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput

type S3LocationS3ConfigInput

type S3LocationS3ConfigInput interface {
	pulumi.Input

	ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput
	ToS3LocationS3ConfigOutputWithContext(context.Context) S3LocationS3ConfigOutput
}

S3LocationS3ConfigInput is an input type that accepts S3LocationS3ConfigArgs and S3LocationS3ConfigOutput values. You can construct a concrete instance of `S3LocationS3ConfigInput` via:

S3LocationS3ConfigArgs{...}

type S3LocationS3ConfigOutput

type S3LocationS3ConfigOutput struct{ *pulumi.OutputState }

func (S3LocationS3ConfigOutput) BucketAccessRoleArn

func (o S3LocationS3ConfigOutput) BucketAccessRoleArn() pulumi.StringOutput

ARN of the IAM Role used to connect to the S3 Bucket.

func (S3LocationS3ConfigOutput) ElementType

func (S3LocationS3ConfigOutput) ElementType() reflect.Type

func (S3LocationS3ConfigOutput) ToOutput added in v6.1.0

func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutput

func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput

func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutputWithContext

func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput

func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutput

func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput

func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutputWithContext

func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput

type S3LocationS3ConfigPtrInput

type S3LocationS3ConfigPtrInput interface {
	pulumi.Input

	ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
	ToS3LocationS3ConfigPtrOutputWithContext(context.Context) S3LocationS3ConfigPtrOutput
}

S3LocationS3ConfigPtrInput is an input type that accepts S3LocationS3ConfigArgs, S3LocationS3ConfigPtr and S3LocationS3ConfigPtrOutput values. You can construct a concrete instance of `S3LocationS3ConfigPtrInput` via:

        S3LocationS3ConfigArgs{...}

or:

        nil

type S3LocationS3ConfigPtrOutput

type S3LocationS3ConfigPtrOutput struct{ *pulumi.OutputState }

func (S3LocationS3ConfigPtrOutput) BucketAccessRoleArn

func (o S3LocationS3ConfigPtrOutput) BucketAccessRoleArn() pulumi.StringPtrOutput

ARN of the IAM Role used to connect to the S3 Bucket.

func (S3LocationS3ConfigPtrOutput) Elem

func (S3LocationS3ConfigPtrOutput) ElementType

func (S3LocationS3ConfigPtrOutput) ToOutput added in v6.1.0

func (S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutput

func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput

func (S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutputWithContext

func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput

type S3LocationState

type S3LocationState struct {
	// A list of DataSync Agent ARNs with which this location will be associated.
	AgentArns pulumi.StringArrayInput
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the S3 Bucket.
	S3BucketArn pulumi.StringPtrInput
	// Configuration block containing information for connecting to S3.
	S3Config S3LocationS3ConfigPtrInput
	// The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. [Valid values](https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
	S3StorageClass pulumi.StringPtrInput
	// Prefix to perform actions as source or destination.
	Subdirectory pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Uri     pulumi.StringPtrInput
}

func (S3LocationState) ElementType

func (S3LocationState) ElementType() reflect.Type

type Task

type Task struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the DataSync Task.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
	CloudwatchLogGroupArn pulumi.StringPtrOutput `pulumi:"cloudwatchLogGroupArn"`
	// Amazon Resource Name (ARN) of destination DataSync Location.
	DestinationLocationArn pulumi.StringOutput `pulumi:"destinationLocationArn"`
	// Filter rules that determines which files to exclude from a task.
	Excludes TaskExcludesPtrOutput `pulumi:"excludes"`
	// Filter rules that determines which files to include in a task.
	Includes TaskIncludesPtrOutput `pulumi:"includes"`
	// Name of the DataSync Task.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
	Options TaskOptionsPtrOutput `pulumi:"options"`
	// Specifies a schedule used to periodically transfer files from a source to a destination location.
	Schedule TaskSchedulePtrOutput `pulumi:"schedule"`
	// Amazon Resource Name (ARN) of source DataSync Location.
	SourceLocationArn pulumi.StringOutput `pulumi:"sourceLocationArn"`
	// Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Manages an AWS DataSync Task, which represents a configuration for synchronization. Starting an execution of these DataSync Tasks (actually synchronizing files) is performed outside of this resource.

## Example Usage ### With Scheduling

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"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.NewTask(ctx, "example", &datasync.TaskArgs{
			DestinationLocationArn: pulumi.Any(aws_datasync_location_s3.Destination.Arn),
			SourceLocationArn:      pulumi.Any(aws_datasync_location_nfs.Source.Arn),
			Schedule: &datasync.TaskScheduleArgs{
				ScheduleExpression: pulumi.String("cron(0 12 ? * SUN,WED *)"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Filtering

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"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.NewTask(ctx, "example", &datasync.TaskArgs{
			DestinationLocationArn: pulumi.Any(aws_datasync_location_s3.Destination.Arn),
			SourceLocationArn:      pulumi.Any(aws_datasync_location_nfs.Source.Arn),
			Excludes: &datasync.TaskExcludesArgs{
				FilterType: pulumi.String("SIMPLE_PATTERN"),
				Value:      pulumi.String("/folder1|/folder2"),
			},
			Includes: &datasync.TaskIncludesArgs{
				FilterType: pulumi.String("SIMPLE_PATTERN"),
				Value:      pulumi.String("/folder1|/folder2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_datasync_task` using the DataSync Task Amazon Resource Name (ARN). For example:

```sh

$ pulumi import aws:datasync/task:Task example arn:aws:datasync:us-east-1:123456789012:task/task-12345678901234567

```

func GetTask

func GetTask(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TaskState, opts ...pulumi.ResourceOption) (*Task, error)

GetTask gets an existing Task resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTask

func NewTask(ctx *pulumi.Context,
	name string, args *TaskArgs, opts ...pulumi.ResourceOption) (*Task, error)

NewTask registers a new resource with the given unique name, arguments, and options.

func (*Task) ElementType

func (*Task) ElementType() reflect.Type

func (*Task) ToOutput added in v6.1.0

func (i *Task) ToOutput(ctx context.Context) pulumix.Output[*Task]

func (*Task) ToTaskOutput

func (i *Task) ToTaskOutput() TaskOutput

func (*Task) ToTaskOutputWithContext

func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput

type TaskArgs

type TaskArgs struct {
	// Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
	CloudwatchLogGroupArn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of destination DataSync Location.
	DestinationLocationArn pulumi.StringInput
	// Filter rules that determines which files to exclude from a task.
	Excludes TaskExcludesPtrInput
	// Filter rules that determines which files to include in a task.
	Includes TaskIncludesPtrInput
	// Name of the DataSync Task.
	Name pulumi.StringPtrInput
	// Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
	Options TaskOptionsPtrInput
	// Specifies a schedule used to periodically transfer files from a source to a destination location.
	Schedule TaskSchedulePtrInput
	// Amazon Resource Name (ARN) of source DataSync Location.
	SourceLocationArn pulumi.StringInput
	// Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Task resource.

func (TaskArgs) ElementType

func (TaskArgs) ElementType() reflect.Type

type TaskArray

type TaskArray []TaskInput

func (TaskArray) ElementType

func (TaskArray) ElementType() reflect.Type

func (TaskArray) ToOutput added in v6.1.0

func (i TaskArray) ToOutput(ctx context.Context) pulumix.Output[[]*Task]

func (TaskArray) ToTaskArrayOutput

func (i TaskArray) ToTaskArrayOutput() TaskArrayOutput

func (TaskArray) ToTaskArrayOutputWithContext

func (i TaskArray) ToTaskArrayOutputWithContext(ctx context.Context) TaskArrayOutput

type TaskArrayInput

type TaskArrayInput interface {
	pulumi.Input

	ToTaskArrayOutput() TaskArrayOutput
	ToTaskArrayOutputWithContext(context.Context) TaskArrayOutput
}

TaskArrayInput is an input type that accepts TaskArray and TaskArrayOutput values. You can construct a concrete instance of `TaskArrayInput` via:

TaskArray{ TaskArgs{...} }

type TaskArrayOutput

type TaskArrayOutput struct{ *pulumi.OutputState }

func (TaskArrayOutput) ElementType

func (TaskArrayOutput) ElementType() reflect.Type

func (TaskArrayOutput) Index

func (TaskArrayOutput) ToOutput added in v6.1.0

func (o TaskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Task]

func (TaskArrayOutput) ToTaskArrayOutput

func (o TaskArrayOutput) ToTaskArrayOutput() TaskArrayOutput

func (TaskArrayOutput) ToTaskArrayOutputWithContext

func (o TaskArrayOutput) ToTaskArrayOutputWithContext(ctx context.Context) TaskArrayOutput

type TaskExcludes

type TaskExcludes struct {
	// The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
	FilterType *string `pulumi:"filterType"`
	// A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
	Value *string `pulumi:"value"`
}

type TaskExcludesArgs

type TaskExcludesArgs struct {
	// The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
	FilterType pulumi.StringPtrInput `pulumi:"filterType"`
	// A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (TaskExcludesArgs) ElementType

func (TaskExcludesArgs) ElementType() reflect.Type

func (TaskExcludesArgs) ToOutput added in v6.1.0

func (TaskExcludesArgs) ToTaskExcludesOutput

func (i TaskExcludesArgs) ToTaskExcludesOutput() TaskExcludesOutput

func (TaskExcludesArgs) ToTaskExcludesOutputWithContext

func (i TaskExcludesArgs) ToTaskExcludesOutputWithContext(ctx context.Context) TaskExcludesOutput

func (TaskExcludesArgs) ToTaskExcludesPtrOutput

func (i TaskExcludesArgs) ToTaskExcludesPtrOutput() TaskExcludesPtrOutput

func (TaskExcludesArgs) ToTaskExcludesPtrOutputWithContext

func (i TaskExcludesArgs) ToTaskExcludesPtrOutputWithContext(ctx context.Context) TaskExcludesPtrOutput

type TaskExcludesInput

type TaskExcludesInput interface {
	pulumi.Input

	ToTaskExcludesOutput() TaskExcludesOutput
	ToTaskExcludesOutputWithContext(context.Context) TaskExcludesOutput
}

TaskExcludesInput is an input type that accepts TaskExcludesArgs and TaskExcludesOutput values. You can construct a concrete instance of `TaskExcludesInput` via:

TaskExcludesArgs{...}

type TaskExcludesOutput

type TaskExcludesOutput struct{ *pulumi.OutputState }

func (TaskExcludesOutput) ElementType

func (TaskExcludesOutput) ElementType() reflect.Type

func (TaskExcludesOutput) FilterType

func (o TaskExcludesOutput) FilterType() pulumi.StringPtrOutput

The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.

func (TaskExcludesOutput) ToOutput added in v6.1.0

func (TaskExcludesOutput) ToTaskExcludesOutput

func (o TaskExcludesOutput) ToTaskExcludesOutput() TaskExcludesOutput

func (TaskExcludesOutput) ToTaskExcludesOutputWithContext

func (o TaskExcludesOutput) ToTaskExcludesOutputWithContext(ctx context.Context) TaskExcludesOutput

func (TaskExcludesOutput) ToTaskExcludesPtrOutput

func (o TaskExcludesOutput) ToTaskExcludesPtrOutput() TaskExcludesPtrOutput

func (TaskExcludesOutput) ToTaskExcludesPtrOutputWithContext

func (o TaskExcludesOutput) ToTaskExcludesPtrOutputWithContext(ctx context.Context) TaskExcludesPtrOutput

func (TaskExcludesOutput) Value

A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`

type TaskExcludesPtrInput

type TaskExcludesPtrInput interface {
	pulumi.Input

	ToTaskExcludesPtrOutput() TaskExcludesPtrOutput
	ToTaskExcludesPtrOutputWithContext(context.Context) TaskExcludesPtrOutput
}

TaskExcludesPtrInput is an input type that accepts TaskExcludesArgs, TaskExcludesPtr and TaskExcludesPtrOutput values. You can construct a concrete instance of `TaskExcludesPtrInput` via:

        TaskExcludesArgs{...}

or:

        nil

type TaskExcludesPtrOutput

type TaskExcludesPtrOutput struct{ *pulumi.OutputState }

func (TaskExcludesPtrOutput) Elem

func (TaskExcludesPtrOutput) ElementType

func (TaskExcludesPtrOutput) ElementType() reflect.Type

func (TaskExcludesPtrOutput) FilterType

The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.

func (TaskExcludesPtrOutput) ToOutput added in v6.1.0

func (TaskExcludesPtrOutput) ToTaskExcludesPtrOutput

func (o TaskExcludesPtrOutput) ToTaskExcludesPtrOutput() TaskExcludesPtrOutput

func (TaskExcludesPtrOutput) ToTaskExcludesPtrOutputWithContext

func (o TaskExcludesPtrOutput) ToTaskExcludesPtrOutputWithContext(ctx context.Context) TaskExcludesPtrOutput

func (TaskExcludesPtrOutput) Value

A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`

type TaskIncludes

type TaskIncludes struct {
	// The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
	FilterType *string `pulumi:"filterType"`
	// A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
	Value *string `pulumi:"value"`
}

type TaskIncludesArgs

type TaskIncludesArgs struct {
	// The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.
	FilterType pulumi.StringPtrInput `pulumi:"filterType"`
	// A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (TaskIncludesArgs) ElementType

func (TaskIncludesArgs) ElementType() reflect.Type

func (TaskIncludesArgs) ToOutput added in v6.1.0

func (TaskIncludesArgs) ToTaskIncludesOutput

func (i TaskIncludesArgs) ToTaskIncludesOutput() TaskIncludesOutput

func (TaskIncludesArgs) ToTaskIncludesOutputWithContext

func (i TaskIncludesArgs) ToTaskIncludesOutputWithContext(ctx context.Context) TaskIncludesOutput

func (TaskIncludesArgs) ToTaskIncludesPtrOutput

func (i TaskIncludesArgs) ToTaskIncludesPtrOutput() TaskIncludesPtrOutput

func (TaskIncludesArgs) ToTaskIncludesPtrOutputWithContext

func (i TaskIncludesArgs) ToTaskIncludesPtrOutputWithContext(ctx context.Context) TaskIncludesPtrOutput

type TaskIncludesInput

type TaskIncludesInput interface {
	pulumi.Input

	ToTaskIncludesOutput() TaskIncludesOutput
	ToTaskIncludesOutputWithContext(context.Context) TaskIncludesOutput
}

TaskIncludesInput is an input type that accepts TaskIncludesArgs and TaskIncludesOutput values. You can construct a concrete instance of `TaskIncludesInput` via:

TaskIncludesArgs{...}

type TaskIncludesOutput

type TaskIncludesOutput struct{ *pulumi.OutputState }

func (TaskIncludesOutput) ElementType

func (TaskIncludesOutput) ElementType() reflect.Type

func (TaskIncludesOutput) FilterType

func (o TaskIncludesOutput) FilterType() pulumi.StringPtrOutput

The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.

func (TaskIncludesOutput) ToOutput added in v6.1.0

func (TaskIncludesOutput) ToTaskIncludesOutput

func (o TaskIncludesOutput) ToTaskIncludesOutput() TaskIncludesOutput

func (TaskIncludesOutput) ToTaskIncludesOutputWithContext

func (o TaskIncludesOutput) ToTaskIncludesOutputWithContext(ctx context.Context) TaskIncludesOutput

func (TaskIncludesOutput) ToTaskIncludesPtrOutput

func (o TaskIncludesOutput) ToTaskIncludesPtrOutput() TaskIncludesPtrOutput

func (TaskIncludesOutput) ToTaskIncludesPtrOutputWithContext

func (o TaskIncludesOutput) ToTaskIncludesPtrOutputWithContext(ctx context.Context) TaskIncludesPtrOutput

func (TaskIncludesOutput) Value

A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`

type TaskIncludesPtrInput

type TaskIncludesPtrInput interface {
	pulumi.Input

	ToTaskIncludesPtrOutput() TaskIncludesPtrOutput
	ToTaskIncludesPtrOutputWithContext(context.Context) TaskIncludesPtrOutput
}

TaskIncludesPtrInput is an input type that accepts TaskIncludesArgs, TaskIncludesPtr and TaskIncludesPtrOutput values. You can construct a concrete instance of `TaskIncludesPtrInput` via:

        TaskIncludesArgs{...}

or:

        nil

type TaskIncludesPtrOutput

type TaskIncludesPtrOutput struct{ *pulumi.OutputState }

func (TaskIncludesPtrOutput) Elem

func (TaskIncludesPtrOutput) ElementType

func (TaskIncludesPtrOutput) ElementType() reflect.Type

func (TaskIncludesPtrOutput) FilterType

The type of filter rule to apply. Valid values: `SIMPLE_PATTERN`.

func (TaskIncludesPtrOutput) ToOutput added in v6.1.0

func (TaskIncludesPtrOutput) ToTaskIncludesPtrOutput

func (o TaskIncludesPtrOutput) ToTaskIncludesPtrOutput() TaskIncludesPtrOutput

func (TaskIncludesPtrOutput) ToTaskIncludesPtrOutputWithContext

func (o TaskIncludesPtrOutput) ToTaskIncludesPtrOutputWithContext(ctx context.Context) TaskIncludesPtrOutput

func (TaskIncludesPtrOutput) Value

A single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example: `/folder1|/folder2`

type TaskInput

type TaskInput interface {
	pulumi.Input

	ToTaskOutput() TaskOutput
	ToTaskOutputWithContext(ctx context.Context) TaskOutput
}

type TaskMap

type TaskMap map[string]TaskInput

func (TaskMap) ElementType

func (TaskMap) ElementType() reflect.Type

func (TaskMap) ToOutput added in v6.1.0

func (i TaskMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Task]

func (TaskMap) ToTaskMapOutput

func (i TaskMap) ToTaskMapOutput() TaskMapOutput

func (TaskMap) ToTaskMapOutputWithContext

func (i TaskMap) ToTaskMapOutputWithContext(ctx context.Context) TaskMapOutput

type TaskMapInput

type TaskMapInput interface {
	pulumi.Input

	ToTaskMapOutput() TaskMapOutput
	ToTaskMapOutputWithContext(context.Context) TaskMapOutput
}

TaskMapInput is an input type that accepts TaskMap and TaskMapOutput values. You can construct a concrete instance of `TaskMapInput` via:

TaskMap{ "key": TaskArgs{...} }

type TaskMapOutput

type TaskMapOutput struct{ *pulumi.OutputState }

func (TaskMapOutput) ElementType

func (TaskMapOutput) ElementType() reflect.Type

func (TaskMapOutput) MapIndex

func (TaskMapOutput) ToOutput added in v6.1.0

func (o TaskMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Task]

func (TaskMapOutput) ToTaskMapOutput

func (o TaskMapOutput) ToTaskMapOutput() TaskMapOutput

func (TaskMapOutput) ToTaskMapOutputWithContext

func (o TaskMapOutput) ToTaskMapOutputWithContext(ctx context.Context) TaskMapOutput

type TaskOptions

type TaskOptions struct {
	// A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.
	Atime *string `pulumi:"atime"`
	// Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).
	BytesPerSecond *int `pulumi:"bytesPerSecond"`
	// Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
	Gid *string `pulumi:"gid"`
	// Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values: `OFF`, `BASIC`, `TRANSFER`. Default: `OFF`.
	LogLevel *string `pulumi:"logLevel"`
	// A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
	Mtime *string `pulumi:"mtime"`
	// Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value. Valid values: `PRESERVE`, `NONE`. Default value: `PRESERVE`.
	ObjectTags *string `pulumi:"objectTags"`
	// Determines whether files at the destination should be overwritten or preserved when copying files. Valid values: `ALWAYS`, `NEVER`. Default: `ALWAYS`.
	OverwriteMode *string `pulumi:"overwriteMode"`
	// Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
	PosixPermissions *string `pulumi:"posixPermissions"`
	// Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.
	PreserveDeletedFiles *string `pulumi:"preserveDeletedFiles"`
	// Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).
	PreserveDevices *string `pulumi:"preserveDevices"`
	// Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values: `NONE`, `OWNER_DACL`, `OWNER_DACL_SACL`. Default: `OWNER_DACL`.
	SecurityDescriptorCopyFlags *string `pulumi:"securityDescriptorCopyFlags"`
	// Determines whether tasks should be queued before executing the tasks. Valid values: `ENABLED`, `DISABLED`. Default `ENABLED`.
	TaskQueueing *string `pulumi:"taskQueueing"`
	// Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values: `CHANGED`, `ALL`. Default: `CHANGED`
	TransferMode *string `pulumi:"transferMode"`
	// User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
	Uid *string `pulumi:"uid"`
	// Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.
	VerifyMode *string `pulumi:"verifyMode"`
}

type TaskOptionsArgs

type TaskOptionsArgs struct {
	// A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.
	Atime pulumi.StringPtrInput `pulumi:"atime"`
	// Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).
	BytesPerSecond pulumi.IntPtrInput `pulumi:"bytesPerSecond"`
	// Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
	Gid pulumi.StringPtrInput `pulumi:"gid"`
	// Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values: `OFF`, `BASIC`, `TRANSFER`. Default: `OFF`.
	LogLevel pulumi.StringPtrInput `pulumi:"logLevel"`
	// A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
	Mtime pulumi.StringPtrInput `pulumi:"mtime"`
	// Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value. Valid values: `PRESERVE`, `NONE`. Default value: `PRESERVE`.
	ObjectTags pulumi.StringPtrInput `pulumi:"objectTags"`
	// Determines whether files at the destination should be overwritten or preserved when copying files. Valid values: `ALWAYS`, `NEVER`. Default: `ALWAYS`.
	OverwriteMode pulumi.StringPtrInput `pulumi:"overwriteMode"`
	// Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
	PosixPermissions pulumi.StringPtrInput `pulumi:"posixPermissions"`
	// Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.
	PreserveDeletedFiles pulumi.StringPtrInput `pulumi:"preserveDeletedFiles"`
	// Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).
	PreserveDevices pulumi.StringPtrInput `pulumi:"preserveDevices"`
	// Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values: `NONE`, `OWNER_DACL`, `OWNER_DACL_SACL`. Default: `OWNER_DACL`.
	SecurityDescriptorCopyFlags pulumi.StringPtrInput `pulumi:"securityDescriptorCopyFlags"`
	// Determines whether tasks should be queued before executing the tasks. Valid values: `ENABLED`, `DISABLED`. Default `ENABLED`.
	TaskQueueing pulumi.StringPtrInput `pulumi:"taskQueueing"`
	// Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values: `CHANGED`, `ALL`. Default: `CHANGED`
	TransferMode pulumi.StringPtrInput `pulumi:"transferMode"`
	// User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
	Uid pulumi.StringPtrInput `pulumi:"uid"`
	// Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.
	VerifyMode pulumi.StringPtrInput `pulumi:"verifyMode"`
}

func (TaskOptionsArgs) ElementType

func (TaskOptionsArgs) ElementType() reflect.Type

func (TaskOptionsArgs) ToOutput added in v6.1.0

func (TaskOptionsArgs) ToTaskOptionsOutput

func (i TaskOptionsArgs) ToTaskOptionsOutput() TaskOptionsOutput

func (TaskOptionsArgs) ToTaskOptionsOutputWithContext

func (i TaskOptionsArgs) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput

func (TaskOptionsArgs) ToTaskOptionsPtrOutput

func (i TaskOptionsArgs) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput

func (TaskOptionsArgs) ToTaskOptionsPtrOutputWithContext

func (i TaskOptionsArgs) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput

type TaskOptionsInput

type TaskOptionsInput interface {
	pulumi.Input

	ToTaskOptionsOutput() TaskOptionsOutput
	ToTaskOptionsOutputWithContext(context.Context) TaskOptionsOutput
}

TaskOptionsInput is an input type that accepts TaskOptionsArgs and TaskOptionsOutput values. You can construct a concrete instance of `TaskOptionsInput` via:

TaskOptionsArgs{...}

type TaskOptionsOutput

type TaskOptionsOutput struct{ *pulumi.OutputState }

func (TaskOptionsOutput) Atime

A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.

func (TaskOptionsOutput) BytesPerSecond

func (o TaskOptionsOutput) BytesPerSecond() pulumi.IntPtrOutput

Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).

func (TaskOptionsOutput) ElementType

func (TaskOptionsOutput) ElementType() reflect.Type

func (TaskOptionsOutput) Gid

Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).

func (TaskOptionsOutput) LogLevel

Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values: `OFF`, `BASIC`, `TRANSFER`. Default: `OFF`.

func (TaskOptionsOutput) Mtime

A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.

func (TaskOptionsOutput) ObjectTags

func (o TaskOptionsOutput) ObjectTags() pulumi.StringPtrOutput

Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value. Valid values: `PRESERVE`, `NONE`. Default value: `PRESERVE`.

func (TaskOptionsOutput) OverwriteMode

func (o TaskOptionsOutput) OverwriteMode() pulumi.StringPtrOutput

Determines whether files at the destination should be overwritten or preserved when copying files. Valid values: `ALWAYS`, `NEVER`. Default: `ALWAYS`.

func (TaskOptionsOutput) PosixPermissions

func (o TaskOptionsOutput) PosixPermissions() pulumi.StringPtrOutput

Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.

func (TaskOptionsOutput) PreserveDeletedFiles

func (o TaskOptionsOutput) PreserveDeletedFiles() pulumi.StringPtrOutput

Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.

func (TaskOptionsOutput) PreserveDevices

func (o TaskOptionsOutput) PreserveDevices() pulumi.StringPtrOutput

Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).

func (TaskOptionsOutput) SecurityDescriptorCopyFlags

func (o TaskOptionsOutput) SecurityDescriptorCopyFlags() pulumi.StringPtrOutput

Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values: `NONE`, `OWNER_DACL`, `OWNER_DACL_SACL`. Default: `OWNER_DACL`.

func (TaskOptionsOutput) TaskQueueing

func (o TaskOptionsOutput) TaskQueueing() pulumi.StringPtrOutput

Determines whether tasks should be queued before executing the tasks. Valid values: `ENABLED`, `DISABLED`. Default `ENABLED`.

func (TaskOptionsOutput) ToOutput added in v6.1.0

func (TaskOptionsOutput) ToTaskOptionsOutput

func (o TaskOptionsOutput) ToTaskOptionsOutput() TaskOptionsOutput

func (TaskOptionsOutput) ToTaskOptionsOutputWithContext

func (o TaskOptionsOutput) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput

func (TaskOptionsOutput) ToTaskOptionsPtrOutput

func (o TaskOptionsOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput

func (TaskOptionsOutput) ToTaskOptionsPtrOutputWithContext

func (o TaskOptionsOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput

func (TaskOptionsOutput) TransferMode

func (o TaskOptionsOutput) TransferMode() pulumi.StringPtrOutput

Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values: `CHANGED`, `ALL`. Default: `CHANGED`

func (TaskOptionsOutput) Uid

User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).

func (TaskOptionsOutput) VerifyMode

func (o TaskOptionsOutput) VerifyMode() pulumi.StringPtrOutput

Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.

type TaskOptionsPtrInput

type TaskOptionsPtrInput interface {
	pulumi.Input

	ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
	ToTaskOptionsPtrOutputWithContext(context.Context) TaskOptionsPtrOutput
}

TaskOptionsPtrInput is an input type that accepts TaskOptionsArgs, TaskOptionsPtr and TaskOptionsPtrOutput values. You can construct a concrete instance of `TaskOptionsPtrInput` via:

        TaskOptionsArgs{...}

or:

        nil

func TaskOptionsPtr

func TaskOptionsPtr(v *TaskOptionsArgs) TaskOptionsPtrInput

type TaskOptionsPtrOutput

type TaskOptionsPtrOutput struct{ *pulumi.OutputState }

func (TaskOptionsPtrOutput) Atime

A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.

func (TaskOptionsPtrOutput) BytesPerSecond

func (o TaskOptionsPtrOutput) BytesPerSecond() pulumi.IntPtrOutput

Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).

func (TaskOptionsPtrOutput) Elem

func (TaskOptionsPtrOutput) ElementType

func (TaskOptionsPtrOutput) ElementType() reflect.Type

func (TaskOptionsPtrOutput) Gid

Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).

func (TaskOptionsPtrOutput) LogLevel

Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values: `OFF`, `BASIC`, `TRANSFER`. Default: `OFF`.

func (TaskOptionsPtrOutput) Mtime

A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.

func (TaskOptionsPtrOutput) ObjectTags

Specifies whether object tags are maintained when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value. Valid values: `PRESERVE`, `NONE`. Default value: `PRESERVE`.

func (TaskOptionsPtrOutput) OverwriteMode

func (o TaskOptionsPtrOutput) OverwriteMode() pulumi.StringPtrOutput

Determines whether files at the destination should be overwritten or preserved when copying files. Valid values: `ALWAYS`, `NEVER`. Default: `ALWAYS`.

func (TaskOptionsPtrOutput) PosixPermissions

func (o TaskOptionsPtrOutput) PosixPermissions() pulumi.StringPtrOutput

Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.

func (TaskOptionsPtrOutput) PreserveDeletedFiles

func (o TaskOptionsPtrOutput) PreserveDeletedFiles() pulumi.StringPtrOutput

Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.

func (TaskOptionsPtrOutput) PreserveDevices

func (o TaskOptionsPtrOutput) PreserveDevices() pulumi.StringPtrOutput

Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).

func (TaskOptionsPtrOutput) SecurityDescriptorCopyFlags

func (o TaskOptionsPtrOutput) SecurityDescriptorCopyFlags() pulumi.StringPtrOutput

Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values: `NONE`, `OWNER_DACL`, `OWNER_DACL_SACL`. Default: `OWNER_DACL`.

func (TaskOptionsPtrOutput) TaskQueueing

func (o TaskOptionsPtrOutput) TaskQueueing() pulumi.StringPtrOutput

Determines whether tasks should be queued before executing the tasks. Valid values: `ENABLED`, `DISABLED`. Default `ENABLED`.

func (TaskOptionsPtrOutput) ToOutput added in v6.1.0

func (TaskOptionsPtrOutput) ToTaskOptionsPtrOutput

func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput

func (TaskOptionsPtrOutput) ToTaskOptionsPtrOutputWithContext

func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput

func (TaskOptionsPtrOutput) TransferMode

func (o TaskOptionsPtrOutput) TransferMode() pulumi.StringPtrOutput

Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values: `CHANGED`, `ALL`. Default: `CHANGED`

func (TaskOptionsPtrOutput) Uid

User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).

func (TaskOptionsPtrOutput) VerifyMode

Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.

type TaskOutput

type TaskOutput struct{ *pulumi.OutputState }

func (TaskOutput) Arn

func (o TaskOutput) Arn() pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Task.

func (TaskOutput) CloudwatchLogGroupArn

func (o TaskOutput) CloudwatchLogGroupArn() pulumi.StringPtrOutput

Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.

func (TaskOutput) DestinationLocationArn

func (o TaskOutput) DestinationLocationArn() pulumi.StringOutput

Amazon Resource Name (ARN) of destination DataSync Location.

func (TaskOutput) ElementType

func (TaskOutput) ElementType() reflect.Type

func (TaskOutput) Excludes

func (o TaskOutput) Excludes() TaskExcludesPtrOutput

Filter rules that determines which files to exclude from a task.

func (TaskOutput) Includes

func (o TaskOutput) Includes() TaskIncludesPtrOutput

Filter rules that determines which files to include in a task.

func (TaskOutput) Name

func (o TaskOutput) Name() pulumi.StringOutput

Name of the DataSync Task.

func (TaskOutput) Options

func (o TaskOutput) Options() TaskOptionsPtrOutput

Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.

func (TaskOutput) Schedule

func (o TaskOutput) Schedule() TaskSchedulePtrOutput

Specifies a schedule used to periodically transfer files from a source to a destination location.

func (TaskOutput) SourceLocationArn

func (o TaskOutput) SourceLocationArn() pulumi.StringOutput

Amazon Resource Name (ARN) of source DataSync Location.

func (TaskOutput) Tags

Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TaskOutput) TagsAll deprecated

func (o TaskOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TaskOutput) ToOutput added in v6.1.0

func (o TaskOutput) ToOutput(ctx context.Context) pulumix.Output[*Task]

func (TaskOutput) ToTaskOutput

func (o TaskOutput) ToTaskOutput() TaskOutput

func (TaskOutput) ToTaskOutputWithContext

func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput

type TaskSchedule

type TaskSchedule struct {
	// Specifies the schedule you want your task to use for repeated executions. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).
	ScheduleExpression string `pulumi:"scheduleExpression"`
}

type TaskScheduleArgs

type TaskScheduleArgs struct {
	// Specifies the schedule you want your task to use for repeated executions. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).
	ScheduleExpression pulumi.StringInput `pulumi:"scheduleExpression"`
}

func (TaskScheduleArgs) ElementType

func (TaskScheduleArgs) ElementType() reflect.Type

func (TaskScheduleArgs) ToOutput added in v6.1.0

func (TaskScheduleArgs) ToTaskScheduleOutput

func (i TaskScheduleArgs) ToTaskScheduleOutput() TaskScheduleOutput

func (TaskScheduleArgs) ToTaskScheduleOutputWithContext

func (i TaskScheduleArgs) ToTaskScheduleOutputWithContext(ctx context.Context) TaskScheduleOutput

func (TaskScheduleArgs) ToTaskSchedulePtrOutput

func (i TaskScheduleArgs) ToTaskSchedulePtrOutput() TaskSchedulePtrOutput

func (TaskScheduleArgs) ToTaskSchedulePtrOutputWithContext

func (i TaskScheduleArgs) ToTaskSchedulePtrOutputWithContext(ctx context.Context) TaskSchedulePtrOutput

type TaskScheduleInput

type TaskScheduleInput interface {
	pulumi.Input

	ToTaskScheduleOutput() TaskScheduleOutput
	ToTaskScheduleOutputWithContext(context.Context) TaskScheduleOutput
}

TaskScheduleInput is an input type that accepts TaskScheduleArgs and TaskScheduleOutput values. You can construct a concrete instance of `TaskScheduleInput` via:

TaskScheduleArgs{...}

type TaskScheduleOutput

type TaskScheduleOutput struct{ *pulumi.OutputState }

func (TaskScheduleOutput) ElementType

func (TaskScheduleOutput) ElementType() reflect.Type

func (TaskScheduleOutput) ScheduleExpression

func (o TaskScheduleOutput) ScheduleExpression() pulumi.StringOutput

Specifies the schedule you want your task to use for repeated executions. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).

func (TaskScheduleOutput) ToOutput added in v6.1.0

func (TaskScheduleOutput) ToTaskScheduleOutput

func (o TaskScheduleOutput) ToTaskScheduleOutput() TaskScheduleOutput

func (TaskScheduleOutput) ToTaskScheduleOutputWithContext

func (o TaskScheduleOutput) ToTaskScheduleOutputWithContext(ctx context.Context) TaskScheduleOutput

func (TaskScheduleOutput) ToTaskSchedulePtrOutput

func (o TaskScheduleOutput) ToTaskSchedulePtrOutput() TaskSchedulePtrOutput

func (TaskScheduleOutput) ToTaskSchedulePtrOutputWithContext

func (o TaskScheduleOutput) ToTaskSchedulePtrOutputWithContext(ctx context.Context) TaskSchedulePtrOutput

type TaskSchedulePtrInput

type TaskSchedulePtrInput interface {
	pulumi.Input

	ToTaskSchedulePtrOutput() TaskSchedulePtrOutput
	ToTaskSchedulePtrOutputWithContext(context.Context) TaskSchedulePtrOutput
}

TaskSchedulePtrInput is an input type that accepts TaskScheduleArgs, TaskSchedulePtr and TaskSchedulePtrOutput values. You can construct a concrete instance of `TaskSchedulePtrInput` via:

        TaskScheduleArgs{...}

or:

        nil

type TaskSchedulePtrOutput

type TaskSchedulePtrOutput struct{ *pulumi.OutputState }

func (TaskSchedulePtrOutput) Elem

func (TaskSchedulePtrOutput) ElementType

func (TaskSchedulePtrOutput) ElementType() reflect.Type

func (TaskSchedulePtrOutput) ScheduleExpression

func (o TaskSchedulePtrOutput) ScheduleExpression() pulumi.StringPtrOutput

Specifies the schedule you want your task to use for repeated executions. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).

func (TaskSchedulePtrOutput) ToOutput added in v6.1.0

func (TaskSchedulePtrOutput) ToTaskSchedulePtrOutput

func (o TaskSchedulePtrOutput) ToTaskSchedulePtrOutput() TaskSchedulePtrOutput

func (TaskSchedulePtrOutput) ToTaskSchedulePtrOutputWithContext

func (o TaskSchedulePtrOutput) ToTaskSchedulePtrOutputWithContext(ctx context.Context) TaskSchedulePtrOutput

type TaskState

type TaskState struct {
	// Amazon Resource Name (ARN) of the DataSync Task.
	Arn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
	CloudwatchLogGroupArn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of destination DataSync Location.
	DestinationLocationArn pulumi.StringPtrInput
	// Filter rules that determines which files to exclude from a task.
	Excludes TaskExcludesPtrInput
	// Filter rules that determines which files to include in a task.
	Includes TaskIncludesPtrInput
	// Name of the DataSync Task.
	Name pulumi.StringPtrInput
	// Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
	Options TaskOptionsPtrInput
	// Specifies a schedule used to periodically transfer files from a source to a destination location.
	Schedule TaskSchedulePtrInput
	// Amazon Resource Name (ARN) of source DataSync Location.
	SourceLocationArn pulumi.StringPtrInput
	// Key-value pairs of resource tags to assign to the DataSync Task. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (TaskState) ElementType

func (TaskState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL