-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcreate_export_policy.yaml
More file actions
61 lines (51 loc) · 1.29 KB
/
create_export_policy.yaml
File metadata and controls
61 lines (51 loc) · 1.29 KB
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
Description: "Create an export policy for an FSx for ONTAP file system.."
Parameters:
FileSystemId:
Description: "The File System ID."
Type: String
SecretArn:
Description: "The Secret ARN."
Type: String
SecretKey:
Description: "The key within the AWS secret that holds the password."
Default: "password"
Type: String
LinkArn:
Description: "The ARN to the Lambda link function."
Type: String
SvmName:
Description: "The SVM Name."
Type: String
PolicyName:
Description: "The Desired Export Policy Name."
Type: String
MatchCidr:
Description: "The IP CIDR to match."
Type: String
Protocols:
Description: "The protocols to allow."
Type: CommaDelimitedList
Resources:
ExportPolicy:
Type: "NetApp::FSxN::ExportPolicy"
Properties:
FsxAdminPasswordSource:
Secret:
SecretArn: !Ref SecretArn
SecretKey: !Ref SecretKey
FileSystemId: !Ref FileSystemId
LinkArn: !Ref LinkArn
SVM:
Name: !Ref SvmName
Name: !Ref PolicyName
Rules:
- AllowSuid: true
Clients:
- Match: !Ref MatchCidr
Protocols: !Ref Protocols
RoRule:
- any
RwRule:
- any
Superuser:
- any