locationnfs

package
v0.0.0-...-1f78e34 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountOptions

type MountOptions struct {

	// The specific NFS version that you want DataSync to use to mount your NFS share.
	Version string `json:"Version,omitempty"`
}

MountOptions The NFS mount options that DataSync can use to mount your NFS share.

func (*MountOptions) MarshalJSON

func (strct *MountOptions) MarshalJSON() ([]byte, error)

func (*MountOptions) UnmarshalJSON

func (strct *MountOptions) UnmarshalJSON(b []byte) error

type OnPremConfig

type OnPremConfig struct {

	// ARN(s) of the agent(s) to use for an NFS location.
	AgentArns []string `json:"AgentArns"`
}

OnPremConfig Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect an NFS server.

func (*OnPremConfig) MarshalJSON

func (strct *OnPremConfig) MarshalJSON() ([]byte, error)

func (*OnPremConfig) UnmarshalJSON

func (strct *OnPremConfig) UnmarshalJSON(b []byte) error

type Resource

type Resource struct {

	// The Amazon Resource Name (ARN) of the NFS location.
	LocationArn string `json:"LocationArn,omitempty"`

	// The URL of the NFS location that was described.
	LocationUri  string        `json:"LocationUri,omitempty"`
	MountOptions *MountOptions `json:"MountOptions,omitempty"`
	OnPremConfig *OnPremConfig `json:"OnPremConfig"`

	// The name of the NFS server. This value is the IP address or DNS name of the NFS server.
	ServerHostname string `json:"ServerHostname,omitempty"`

	// The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
	Subdirectory string `json:"Subdirectory,omitempty"`

	// An array of key-value pairs to apply to this resource.
	Tags []*Tag `json:"Tags,omitempty"`
}

Resource Resource schema for AWS::DataSync::LocationNFS

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

type Tag

type Tag struct {

	// The key for an AWS resource tag.
	Key string `json:"Key"`

	// The value for an AWS resource tag.
	Value string `json:"Value"`
}

Tag A key-value pair to associate with a resource.

func (*Tag) MarshalJSON

func (strct *Tag) MarshalJSON() ([]byte, error)

func (*Tag) UnmarshalJSON

func (strct *Tag) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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