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 (*Resource) UnmarshalJSON ¶
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 (*Tag) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.