@awboost/cfn-resource-types 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::EFS::AccessPoint`` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html).
|
|
5
|
+
This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html}
|
|
6
7
|
*/
|
|
7
8
|
export type EFSAccessPointProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* An array of key-value pairs to apply to this resource.
|
|
11
|
+
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
12
|
+
*/
|
|
8
13
|
AccessPointTags?: AccessPointTag[];
|
|
9
14
|
/**
|
|
10
|
-
*
|
|
15
|
+
* The opaque string specified in the request to ensure idempotent creation.
|
|
11
16
|
*/
|
|
12
17
|
ClientToken?: string;
|
|
13
18
|
/**
|
|
14
|
-
* The ID of the EFS file system that the access point
|
|
19
|
+
* The ID of the EFS file system that the access point applies to. Accepts only the ID format for input when specifying a file system, for example ``fs-0123456789abcedf2``.
|
|
15
20
|
*/
|
|
16
21
|
FileSystemId: string;
|
|
17
22
|
/**
|
|
18
|
-
* The
|
|
23
|
+
* The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.
|
|
19
24
|
*/
|
|
20
25
|
PosixUser?: PosixUser;
|
|
21
26
|
/**
|
|
22
|
-
*
|
|
27
|
+
* The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point.
|
|
23
28
|
*/
|
|
24
29
|
RootDirectory?: RootDirectory;
|
|
25
30
|
};
|
|
@@ -33,15 +38,18 @@ export type EFSAccessPointAttributes = {
|
|
|
33
38
|
};
|
|
34
39
|
/**
|
|
35
40
|
* Type definition for `AWS::EFS::AccessPoint.AccessPointTag`.
|
|
41
|
+
* A tag is a key-value pair attached to a file system. Allowed characters in the ``Key`` and ``Value`` properties are letters, white space, and numbers that can be represented in UTF-8, and the following characters:``+ - = . _ : /``
|
|
36
42
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-accesspointtag.html}
|
|
37
43
|
*/
|
|
38
44
|
export type AccessPointTag = {
|
|
39
45
|
/**
|
|
46
|
+
* The tag key (String). The key can't start with ``aws:``.
|
|
40
47
|
* @minLength `1`
|
|
41
48
|
* @maxLength `128`
|
|
42
49
|
*/
|
|
43
50
|
Key?: string;
|
|
44
51
|
/**
|
|
52
|
+
* The value of the tag key.
|
|
45
53
|
* @minLength `1`
|
|
46
54
|
* @maxLength `256`
|
|
47
55
|
*/
|
|
@@ -49,25 +57,29 @@ export type AccessPointTag = {
|
|
|
49
57
|
};
|
|
50
58
|
/**
|
|
51
59
|
* Type definition for `AWS::EFS::AccessPoint.CreationInfo`.
|
|
60
|
+
* Required if the ``RootDirectory`` > ``Path`` specified does not exist. Specifies the POSIX IDs and permissions to apply to the access point's ``RootDirectory`` > ``Path``. If the access point root directory does not exist, EFS creates it with these settings when a client connects to the access point. When specifying ``CreationInfo``, you must include values for all properties.
|
|
61
|
+
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
|
|
62
|
+
If you do not provide ``CreationInfo`` and the specified ``RootDirectory`` does not exist, attempts to mount the file system using the access point will fail.
|
|
52
63
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-creationinfo.html}
|
|
53
64
|
*/
|
|
54
65
|
export type CreationInfo = {
|
|
55
66
|
/**
|
|
56
|
-
* Specifies the POSIX group ID to apply to the RootDirectory
|
|
67
|
+
* Specifies the POSIX group ID to apply to the ``RootDirectory``. Accepts values from 0 to 2^32 (4294967295).
|
|
57
68
|
*/
|
|
58
69
|
OwnerGid: string;
|
|
59
70
|
/**
|
|
60
|
-
* Specifies the POSIX user ID to apply to the RootDirectory
|
|
71
|
+
* Specifies the POSIX user ID to apply to the ``RootDirectory``. Accepts values from 0 to 2^32 (4294967295).
|
|
61
72
|
*/
|
|
62
73
|
OwnerUid: string;
|
|
63
74
|
/**
|
|
64
|
-
* Specifies the POSIX permissions to apply to the RootDirectory
|
|
75
|
+
* Specifies the POSIX permissions to apply to the ``RootDirectory``, in the format of an octal number representing the file's mode bits.
|
|
65
76
|
* @pattern `^[0-7]{3,4}$`
|
|
66
77
|
*/
|
|
67
78
|
Permissions: string;
|
|
68
79
|
};
|
|
69
80
|
/**
|
|
70
81
|
* Type definition for `AWS::EFS::AccessPoint.PosixUser`.
|
|
82
|
+
* The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point.
|
|
71
83
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-posixuser.html}
|
|
72
84
|
*/
|
|
73
85
|
export type PosixUser = {
|
|
@@ -86,22 +98,25 @@ export type PosixUser = {
|
|
|
86
98
|
};
|
|
87
99
|
/**
|
|
88
100
|
* Type definition for `AWS::EFS::AccessPoint.RootDirectory`.
|
|
101
|
+
* Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's ``RootDirectory`` and its subdirectories.
|
|
89
102
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-rootdirectory.html}
|
|
90
103
|
*/
|
|
91
104
|
export type RootDirectory = {
|
|
92
105
|
/**
|
|
93
|
-
|
|
94
|
-
|
|
106
|
+
* (Optional) Specifies the POSIX IDs and permissions to apply to the access point's ``RootDirectory``. If the ``RootDirectory`` > ``Path`` specified does not exist, EFS creates the root directory using the ``CreationInfo`` settings when a client connects to an access point. When specifying the ``CreationInfo``, you must provide values for all properties.
|
|
107
|
+
If you do not provide ``CreationInfo`` and the specified ``RootDirectory`` > ``Path`` does not exist, attempts to mount the file system using the access point will fail.
|
|
108
|
+
*/
|
|
95
109
|
CreationInfo?: CreationInfo;
|
|
96
110
|
/**
|
|
97
|
-
* Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo
|
|
111
|
+
* Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the ``CreationInfo``.
|
|
98
112
|
* @minLength `1`
|
|
99
113
|
* @maxLength `100`
|
|
100
114
|
*/
|
|
101
115
|
Path?: string;
|
|
102
116
|
};
|
|
103
117
|
/**
|
|
104
|
-
*
|
|
118
|
+
* The ``AWS::EFS::AccessPoint`` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html).
|
|
119
|
+
This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action.
|
|
105
120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html}
|
|
106
121
|
*/
|
|
107
122
|
export declare class EFSAccessPoint extends $Resource<"AWS::EFS::AccessPoint", EFSAccessPointProperties, EFSAccessPointAttributes> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::EFS::AccessPoint`` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html).
|
|
4
|
+
This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html}
|
|
5
6
|
*/
|
|
6
7
|
export class EFSAccessPoint extends $Resource {
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target.
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html}
|
|
6
6
|
*/
|
|
7
7
|
export type EFSMountTargetProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the file system for which to create the mount target.
|
|
10
|
+
*/
|
|
8
11
|
FileSystemId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Valid IPv4 address within the address range of the specified subnet.
|
|
14
|
+
*/
|
|
9
15
|
IpAddress?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Up to five VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as subnet specified.
|
|
18
|
+
*/
|
|
10
19
|
SecurityGroups: string[];
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
|
|
22
|
+
*/
|
|
11
23
|
SubnetId: string;
|
|
12
24
|
};
|
|
13
25
|
/**
|
|
@@ -18,7 +30,7 @@ export type EFSMountTargetAttributes = {
|
|
|
18
30
|
Id: string;
|
|
19
31
|
};
|
|
20
32
|
/**
|
|
21
|
-
*
|
|
33
|
+
* The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target.
|
|
22
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html}
|
|
23
35
|
*/
|
|
24
36
|
export declare class EFSMountTarget extends $Resource<"AWS::EFS::MountTarget", EFSMountTargetProperties, EFSMountTargetAttributes> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html}
|
|
5
5
|
*/
|
|
6
6
|
export class EFSMountTarget extends $Resource {
|