-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnMountTargetProps.go
46 lines (43 loc) · 2 KB
/
CfnMountTargetProps.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
package awsefs
// Properties for defining a `CfnMountTarget`.
//
// 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"
//
// cfnMountTargetProps := &CfnMountTargetProps{
// FileSystemId: jsii.String("fileSystemId"),
// SecurityGroups: []*string{
// jsii.String("securityGroups"),
// },
// SubnetId: jsii.String("subnetId"),
//
// // the properties below are optional
// IpAddress: jsii.String("ipAddress"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html
//
type CfnMountTargetProps struct {
// The ID of the file system for which to create the mount target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-filesystemid
//
FileSystemId *string `field:"required" json:"fileSystemId" yaml:"fileSystemId"`
// Up to five VPC security group IDs, of the form `sg-xxxxxxxx` .
//
// These must be for the same VPC as subnet specified.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-securitygroups
//
SecurityGroups *[]*string `field:"required" json:"securityGroups" yaml:"securityGroups"`
// The ID of the subnet to add the mount target in.
//
// For file systems that use One Zone storage classes, use the subnet that is associated with the file system's Availability Zone.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-subnetid
//
SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"`
// Valid IPv4 address within the address range of the specified subnet.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-ipaddress
//
IpAddress *string `field:"optional" json:"ipAddress" yaml:"ipAddress"`
}