datasync

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 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 {
	// contains filtered or unexported fields
}

Manages an AWS DataSync Agent deployed on premises.

> **NOTE:** One of `activation_key` or `ip_address` must be provided for resource creation (agent activation). Neither is required for resource import. If using `ip_address`, Terraform 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.

func GetAgent

func GetAgent(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AgentState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Agent, error)

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

func (*Agent) ActivationKey

func (r *Agent) ActivationKey() *pulumi.StringOutput

DataSync Agent activation key during resource creation. Conflicts with `ip_address`. If an `ip_address` is provided instead, Terraform will retrieve the `activation_key` as part of the resource creation.

func (*Agent) Arn

func (r *Agent) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Agent.

func (*Agent) ID

func (r *Agent) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Agent) IpAddress

func (r *Agent) IpAddress() *pulumi.StringOutput

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

func (*Agent) Name

func (r *Agent) Name() *pulumi.StringOutput

Name of the DataSync Agent.

func (*Agent) Tags

func (r *Agent) Tags() *pulumi.MapOutput

Key-value pairs of resource tags to assign to the DataSync Agent.

func (*Agent) URN

func (r *Agent) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AgentArgs

type AgentArgs struct {
	// DataSync Agent activation key during resource creation. Conflicts with `ip_address`. If an `ip_address` is provided instead, Terraform will retrieve the `activation_key` as part of the resource creation.
	ActivationKey interface{}
	// DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. DataSync Agent must be accessible on port 80 from where Terraform is running.
	IpAddress interface{}
	// Name of the DataSync Agent.
	Name interface{}
	// Key-value pairs of resource tags to assign to the DataSync Agent.
	Tags interface{}
}

The set of arguments for constructing a Agent resource.

type AgentState

type AgentState struct {
	// DataSync Agent activation key during resource creation. Conflicts with `ip_address`. If an `ip_address` is provided instead, Terraform will retrieve the `activation_key` as part of the resource creation.
	ActivationKey interface{}
	// Amazon Resource Name (ARN) of the DataSync Agent.
	Arn interface{}
	// DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activation_key`. DataSync Agent must be accessible on port 80 from where Terraform is running.
	IpAddress interface{}
	// Name of the DataSync Agent.
	Name interface{}
	// Key-value pairs of resource tags to assign to the DataSync Agent.
	Tags interface{}
}

Input properties used for looking up and filtering Agent resources.

type EfsLocation

type EfsLocation struct {
	// contains filtered or unexported fields
}

Manages an AWS DataSync EFS Location.

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

func GetEfsLocation

func GetEfsLocation(ctx *pulumi.Context,
	name string, id pulumi.ID, state *EfsLocationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*EfsLocation, error)

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

func (*EfsLocation) Arn

func (r *EfsLocation) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Location.

func (*EfsLocation) Ec2Config

func (r *EfsLocation) Ec2Config() *pulumi.Output

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

func (*EfsLocation) EfsFileSystemArn

func (r *EfsLocation) EfsFileSystemArn() *pulumi.StringOutput

Amazon Resource Name (ARN) of EFS File System.

func (*EfsLocation) ID

func (r *EfsLocation) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*EfsLocation) Subdirectory

func (r *EfsLocation) Subdirectory() *pulumi.StringOutput

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

func (*EfsLocation) Tags

func (r *EfsLocation) Tags() *pulumi.MapOutput

Key-value pairs of resource tags to assign to the DataSync Location.

func (*EfsLocation) URN

func (r *EfsLocation) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*EfsLocation) Uri

func (r *EfsLocation) Uri() *pulumi.StringOutput

type EfsLocationArgs

type EfsLocationArgs struct {
	// Configuration block containing EC2 configurations for connecting to the EFS File System.
	Ec2Config interface{}
	// Amazon Resource Name (ARN) of EFS File System.
	EfsFileSystemArn interface{}
	// Subdirectory to perform actions as source or destination. Default `/`.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
}

The set of arguments for constructing a EfsLocation resource.

type EfsLocationState

type EfsLocationState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn interface{}
	// Configuration block containing EC2 configurations for connecting to the EFS File System.
	Ec2Config interface{}
	// Amazon Resource Name (ARN) of EFS File System.
	EfsFileSystemArn interface{}
	// Subdirectory to perform actions as source or destination. Default `/`.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
	Uri  interface{}
}

Input properties used for looking up and filtering EfsLocation resources.

type NfsLocation

type NfsLocation struct {
	// contains filtered or unexported fields
}

Manages an NFS Location within AWS DataSync.

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

func GetNfsLocation

func GetNfsLocation(ctx *pulumi.Context,
	name string, id pulumi.ID, state *NfsLocationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*NfsLocation, error)

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

func (*NfsLocation) Arn

func (r *NfsLocation) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Location.

func (*NfsLocation) ID

func (r *NfsLocation) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*NfsLocation) OnPremConfig

func (r *NfsLocation) OnPremConfig() *pulumi.Output

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

func (*NfsLocation) ServerHostname

func (r *NfsLocation) 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 (*NfsLocation) Subdirectory

func (r *NfsLocation) Subdirectory() *pulumi.StringOutput

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

func (*NfsLocation) Tags

func (r *NfsLocation) Tags() *pulumi.MapOutput

Key-value pairs of resource tags to assign to the DataSync Location.

func (*NfsLocation) URN

func (r *NfsLocation) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*NfsLocation) Uri

func (r *NfsLocation) Uri() *pulumi.StringOutput

type NfsLocationArgs

type NfsLocationArgs struct {
	// Configuration block containing information for connecting to the NFS File System.
	OnPremConfig interface{}
	// Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
	ServerHostname interface{}
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
}

The set of arguments for constructing a NfsLocation resource.

type NfsLocationState

type NfsLocationState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn interface{}
	// Configuration block containing information for connecting to the NFS File System.
	OnPremConfig interface{}
	// Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
	ServerHostname interface{}
	// Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
	Uri  interface{}
}

Input properties used for looking up and filtering NfsLocation resources.

type S3Location

type S3Location struct {
	// contains filtered or unexported fields
}

Manages an S3 Location within AWS DataSync.

func GetS3Location

func GetS3Location(ctx *pulumi.Context,
	name string, id pulumi.ID, state *S3LocationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*S3Location, error)

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

func (*S3Location) Arn

func (r *S3Location) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Location.

func (*S3Location) ID

func (r *S3Location) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*S3Location) S3BucketArn

func (r *S3Location) S3BucketArn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the S3 Bucket.

func (*S3Location) S3Config

func (r *S3Location) S3Config() *pulumi.Output

Configuration block containing information for connecting to S3.

func (*S3Location) Subdirectory

func (r *S3Location) Subdirectory() *pulumi.StringOutput

Prefix to perform actions as source or destination.

func (*S3Location) Tags

func (r *S3Location) Tags() *pulumi.MapOutput

Key-value pairs of resource tags to assign to the DataSync Location.

func (*S3Location) URN

func (r *S3Location) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*S3Location) Uri

func (r *S3Location) Uri() *pulumi.StringOutput

type S3LocationArgs

type S3LocationArgs struct {
	// Amazon Resource Name (ARN) of the S3 Bucket.
	S3BucketArn interface{}
	// Configuration block containing information for connecting to S3.
	S3Config interface{}
	// Prefix to perform actions as source or destination.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
}

The set of arguments for constructing a S3Location resource.

type S3LocationState

type S3LocationState struct {
	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn interface{}
	// Amazon Resource Name (ARN) of the S3 Bucket.
	S3BucketArn interface{}
	// Configuration block containing information for connecting to S3.
	S3Config interface{}
	// Prefix to perform actions as source or destination.
	Subdirectory interface{}
	// Key-value pairs of resource tags to assign to the DataSync Location.
	Tags interface{}
	Uri  interface{}
}

Input properties used for looking up and filtering S3Location resources.

type Task

type Task struct {
	// contains filtered or unexported fields
}

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 Terraform resource.

func GetTask

func GetTask(ctx *pulumi.Context,
	name string, id pulumi.ID, state *TaskState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Task, error)

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

func (*Task) Arn

func (r *Task) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the DataSync Task.

func (*Task) CloudwatchLogGroupArn

func (r *Task) CloudwatchLogGroupArn() *pulumi.StringOutput

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

func (*Task) DestinationLocationArn

func (r *Task) DestinationLocationArn() *pulumi.StringOutput

Amazon Resource Name (ARN) of destination DataSync Location.

func (*Task) ID

func (r *Task) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Task) Name

func (r *Task) Name() *pulumi.StringOutput

Name of the DataSync Task.

func (*Task) Options

func (r *Task) Options() *pulumi.Output

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 (*Task) SourceLocationArn

func (r *Task) SourceLocationArn() *pulumi.StringOutput

Amazon Resource Name (ARN) of source DataSync Location.

func (*Task) Tags

func (r *Task) Tags() *pulumi.MapOutput

Key-value pairs of resource tags to assign to the DataSync Task.

func (*Task) URN

func (r *Task) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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 interface{}
	// Amazon Resource Name (ARN) of destination DataSync Location.
	DestinationLocationArn interface{}
	// Name of the DataSync Task.
	Name interface{}
	// 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 interface{}
	// Amazon Resource Name (ARN) of source DataSync Location.
	SourceLocationArn interface{}
	// Key-value pairs of resource tags to assign to the DataSync Task.
	Tags interface{}
}

The set of arguments for constructing a Task resource.

type TaskState

type TaskState struct {
	// Amazon Resource Name (ARN) of the DataSync Task.
	Arn interface{}
	// Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
	CloudwatchLogGroupArn interface{}
	// Amazon Resource Name (ARN) of destination DataSync Location.
	DestinationLocationArn interface{}
	// Name of the DataSync Task.
	Name interface{}
	// 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 interface{}
	// Amazon Resource Name (ARN) of source DataSync Location.
	SourceLocationArn interface{}
	// Key-value pairs of resource tags to assign to the DataSync Task.
	Tags interface{}
}

Input properties used for looking up and filtering Task resources.

Jump to

Keyboard shortcuts

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