-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLocationNFSProps.go
65 lines (62 loc) · 3.13 KB
/
CfnLocationNFSProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package awsdatasync
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnLocationNFS`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnLocationNFSProps := &CfnLocationNFSProps{
// OnPremConfig: &OnPremConfigProperty{
// AgentArns: []*string{
// jsii.String("agentArns"),
// },
// },
//
// // the properties below are optional
// MountOptions: &MountOptionsProperty{
// Version: jsii.String("version"),
// },
// ServerHostname: jsii.String("serverHostname"),
// Subdirectory: jsii.String("subdirectory"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html
//
type CfnLocationNFSProps struct {
// Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
//
// You can specify more than one agent. For more information, see [Using multiple agents for transfers](https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-onpremconfig
//
OnPremConfig interface{} `field:"required" json:"onPremConfig" yaml:"onPremConfig"`
// Specifies the options that DataSync can use to mount your NFS file server.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-mountoptions
//
MountOptions interface{} `field:"optional" json:"mountOptions" yaml:"mountOptions"`
// Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-serverhostname
//
ServerHostname *string `field:"optional" json:"serverHostname" yaml:"serverHostname"`
// Specifies the export path in your NFS file server that you want DataSync to mount.
//
// This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see [Accessing NFS file servers](https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-subdirectory
//
Subdirectory *string `field:"optional" json:"subdirectory" yaml:"subdirectory"`
// Specifies labels that help you categorize, filter, and search for your AWS resources.
//
// We recommend creating at least a name tag for your location.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}