aws_datasync_task

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CloudwatchLogGroupArn: string, optional
	CloudwatchLogGroupArn terra.StringValue `hcl:"cloudwatch_log_group_arn,attr"`
	// DestinationLocationArn: string, required
	DestinationLocationArn terra.StringValue `hcl:"destination_location_arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// SourceLocationArn: string, required
	SourceLocationArn terra.StringValue `hcl:"source_location_arn,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// Excludes: optional
	Excludes *Excludes `hcl:"excludes,block"`
	// Includes: optional
	Includes *Includes `hcl:"includes,block"`
	// Options: optional
	Options *Options `hcl:"options,block"`
	// Schedule: optional
	Schedule *Schedule `hcl:"schedule,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_datasync_task.

type Excludes

type Excludes struct {
	// FilterType: string, optional
	FilterType terra.StringValue `hcl:"filter_type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type ExcludesAttributes

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

func (ExcludesAttributes) FilterType

func (e ExcludesAttributes) FilterType() terra.StringValue

func (ExcludesAttributes) InternalRef

func (e ExcludesAttributes) InternalRef() (terra.Reference, error)

func (ExcludesAttributes) InternalTokens

func (e ExcludesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExcludesAttributes) InternalWithRef

func (e ExcludesAttributes) InternalWithRef(ref terra.Reference) ExcludesAttributes

func (ExcludesAttributes) Value

type ExcludesState

type ExcludesState struct {
	FilterType string `json:"filter_type"`
	Value      string `json:"value"`
}

type Includes

type Includes struct {
	// FilterType: string, optional
	FilterType terra.StringValue `hcl:"filter_type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type IncludesAttributes

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

func (IncludesAttributes) FilterType

func (i IncludesAttributes) FilterType() terra.StringValue

func (IncludesAttributes) InternalRef

func (i IncludesAttributes) InternalRef() (terra.Reference, error)

func (IncludesAttributes) InternalTokens

func (i IncludesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IncludesAttributes) InternalWithRef

func (i IncludesAttributes) InternalWithRef(ref terra.Reference) IncludesAttributes

func (IncludesAttributes) Value

type IncludesState

type IncludesState struct {
	FilterType string `json:"filter_type"`
	Value      string `json:"value"`
}

type Options

type Options struct {
	// Atime: string, optional
	Atime terra.StringValue `hcl:"atime,attr"`
	// BytesPerSecond: number, optional
	BytesPerSecond terra.NumberValue `hcl:"bytes_per_second,attr"`
	// Gid: string, optional
	Gid terra.StringValue `hcl:"gid,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
	// Mtime: string, optional
	Mtime terra.StringValue `hcl:"mtime,attr"`
	// OverwriteMode: string, optional
	OverwriteMode terra.StringValue `hcl:"overwrite_mode,attr"`
	// PosixPermissions: string, optional
	PosixPermissions terra.StringValue `hcl:"posix_permissions,attr"`
	// PreserveDeletedFiles: string, optional
	PreserveDeletedFiles terra.StringValue `hcl:"preserve_deleted_files,attr"`
	// PreserveDevices: string, optional
	PreserveDevices terra.StringValue `hcl:"preserve_devices,attr"`
	// SecurityDescriptorCopyFlags: string, optional
	SecurityDescriptorCopyFlags terra.StringValue `hcl:"security_descriptor_copy_flags,attr"`
	// TaskQueueing: string, optional
	TaskQueueing terra.StringValue `hcl:"task_queueing,attr"`
	// TransferMode: string, optional
	TransferMode terra.StringValue `hcl:"transfer_mode,attr"`
	// Uid: string, optional
	Uid terra.StringValue `hcl:"uid,attr"`
	// VerifyMode: string, optional
	VerifyMode terra.StringValue `hcl:"verify_mode,attr"`
}

type OptionsAttributes

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

func (OptionsAttributes) Atime

func (OptionsAttributes) BytesPerSecond

func (o OptionsAttributes) BytesPerSecond() terra.NumberValue

func (OptionsAttributes) Gid

func (OptionsAttributes) InternalRef

func (o OptionsAttributes) InternalRef() (terra.Reference, error)

func (OptionsAttributes) InternalTokens

func (o OptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OptionsAttributes) InternalWithRef

func (o OptionsAttributes) InternalWithRef(ref terra.Reference) OptionsAttributes

func (OptionsAttributes) LogLevel

func (o OptionsAttributes) LogLevel() terra.StringValue

func (OptionsAttributes) Mtime

func (OptionsAttributes) OverwriteMode

func (o OptionsAttributes) OverwriteMode() terra.StringValue

func (OptionsAttributes) PosixPermissions

func (o OptionsAttributes) PosixPermissions() terra.StringValue

func (OptionsAttributes) PreserveDeletedFiles

func (o OptionsAttributes) PreserveDeletedFiles() terra.StringValue

func (OptionsAttributes) PreserveDevices

func (o OptionsAttributes) PreserveDevices() terra.StringValue

func (OptionsAttributes) SecurityDescriptorCopyFlags

func (o OptionsAttributes) SecurityDescriptorCopyFlags() terra.StringValue

func (OptionsAttributes) TaskQueueing

func (o OptionsAttributes) TaskQueueing() terra.StringValue

func (OptionsAttributes) TransferMode

func (o OptionsAttributes) TransferMode() terra.StringValue

func (OptionsAttributes) Uid

func (OptionsAttributes) VerifyMode

func (o OptionsAttributes) VerifyMode() terra.StringValue

type OptionsState

type OptionsState struct {
	Atime                       string  `json:"atime"`
	BytesPerSecond              float64 `json:"bytes_per_second"`
	Gid                         string  `json:"gid"`
	LogLevel                    string  `json:"log_level"`
	Mtime                       string  `json:"mtime"`
	OverwriteMode               string  `json:"overwrite_mode"`
	PosixPermissions            string  `json:"posix_permissions"`
	PreserveDeletedFiles        string  `json:"preserve_deleted_files"`
	PreserveDevices             string  `json:"preserve_devices"`
	SecurityDescriptorCopyFlags string  `json:"security_descriptor_copy_flags"`
	TaskQueueing                string  `json:"task_queueing"`
	TransferMode                string  `json:"transfer_mode"`
	Uid                         string  `json:"uid"`
	VerifyMode                  string  `json:"verify_mode"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_datasync_task.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adt *Resource) Attributes() awsDatasyncTaskAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (adt *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (adt *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (adt *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (adt *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (adt *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adt *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adt *Resource) State() (*awsDatasyncTaskState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (adt *Resource) StateMust() *awsDatasyncTaskState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (adt *Resource) Type() string

Type returns the Terraform object type for Resource.

type Schedule

type Schedule struct {
	// ScheduleExpression: string, required
	ScheduleExpression terra.StringValue `hcl:"schedule_expression,attr" validate:"required"`
}

type ScheduleAttributes

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

func (ScheduleAttributes) InternalRef

func (s ScheduleAttributes) InternalRef() (terra.Reference, error)

func (ScheduleAttributes) InternalTokens

func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleAttributes) InternalWithRef

func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes

func (ScheduleAttributes) ScheduleExpression

func (s ScheduleAttributes) ScheduleExpression() terra.StringValue

type ScheduleState

type ScheduleState struct {
	ScheduleExpression string `json:"schedule_expression"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
}

Jump to

Keyboard shortcuts

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