-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLocationFSxWindowsProps.go
77 lines (74 loc) · 4.13 KB
/
CfnLocationFSxWindowsProps.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
65
66
67
68
69
70
71
72
73
74
75
76
package awsdatasync
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnLocationFSxWindows`.
//
// 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"
//
// cfnLocationFSxWindowsProps := &CfnLocationFSxWindowsProps{
// SecurityGroupArns: []*string{
// jsii.String("securityGroupArns"),
// },
// User: jsii.String("user"),
//
// // the properties below are optional
// Domain: jsii.String("domain"),
// FsxFilesystemArn: jsii.String("fsxFilesystemArn"),
// Password: jsii.String("password"),
// 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-locationfsxwindows.html
//
type CfnLocationFSxWindowsProps struct {
// The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.
//
// *Pattern* : `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$`
//
// *Length constraints* : Maximum length of 128.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-securitygrouparns
//
SecurityGroupArns *[]*string `field:"required" json:"securityGroupArns" yaml:"securityGroupArns"`
// The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
//
// For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see [user](https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#FSxWuser) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-user
//
User *string `field:"required" json:"user" yaml:"user"`
// Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
//
// If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-domain
//
Domain *string `field:"optional" json:"domain" yaml:"domain"`
// Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-fsxfilesystemarn
//
FsxFilesystemArn *string `field:"optional" json:"fsxFilesystemArn" yaml:"fsxFilesystemArn"`
// Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-password
//
Password *string `field:"optional" json:"password" yaml:"password"`
// Specifies a mount path for your file system using forward slashes.
//
// This is where DataSync reads or writes data (depending on if this is a source or destination location).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-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-locationfsxwindows.html#cfn-datasync-locationfsxwindows-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}