@awboost/cfn-resource-types 0.1.19 → 0.1.21
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.
- package/lib/AWS-AppSync-Resolver.d.ts +46 -29
- package/lib/AWS-AppSync-Resolver.js +3 -1
- package/lib/AWS-EFS-AccessPoint.d.ts +27 -12
- package/lib/AWS-EFS-AccessPoint.js +2 -1
- package/lib/AWS-EFS-MountTarget.d.ts +14 -2
- package/lib/AWS-EFS-MountTarget.js +1 -1
- package/lib/AWS-SSM-Document.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,14 @@
|
|
|
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::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
5
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
6
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
6
8
|
*/
|
|
7
9
|
export type AppSyncResolverProperties = {
|
|
8
10
|
/**
|
|
9
|
-
* The
|
|
11
|
+
* The APSYlong GraphQL API to which you want to attach this resolver.
|
|
10
12
|
*/
|
|
11
13
|
ApiId: string;
|
|
12
14
|
/**
|
|
@@ -14,7 +16,7 @@ export type AppSyncResolverProperties = {
|
|
|
14
16
|
*/
|
|
15
17
|
CachingConfig?: CachingConfig;
|
|
16
18
|
/**
|
|
17
|
-
* The resolver code that contains the request and response functions. When code is used, the runtime is required.
|
|
19
|
+
* The ``resolver`` code that contains the request and response functions. When code is used, the ``runtime`` is required. The runtime value must be ``APPSYNC_JS``.
|
|
18
20
|
*/
|
|
19
21
|
Code?: string;
|
|
20
22
|
/**
|
|
@@ -30,11 +32,13 @@ export type AppSyncResolverProperties = {
|
|
|
30
32
|
*/
|
|
31
33
|
FieldName: string;
|
|
32
34
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
* The resolver type.
|
|
36
|
+
+ *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
|
|
37
|
+
+ *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of ``Function`` objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
38
|
+
*/
|
|
35
39
|
Kind?: string;
|
|
36
40
|
/**
|
|
37
|
-
* The maximum number of resolver request inputs that will be sent to a single
|
|
41
|
+
* The maximum number of resolver request inputs that will be sent to a single LAMlong function in a ``BatchInvoke`` operation.
|
|
38
42
|
*/
|
|
39
43
|
MaxBatchSize?: number;
|
|
40
44
|
/**
|
|
@@ -42,11 +46,12 @@ export type AppSyncResolverProperties = {
|
|
|
42
46
|
*/
|
|
43
47
|
PipelineConfig?: PipelineConfig;
|
|
44
48
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
* The request mapping template.
|
|
50
|
+
Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
|
|
51
|
+
*/
|
|
47
52
|
RequestMappingTemplate?: string;
|
|
48
53
|
/**
|
|
49
|
-
* The location of a request mapping template in an
|
|
54
|
+
* The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
|
|
50
55
|
*/
|
|
51
56
|
RequestMappingTemplateS3Location?: string;
|
|
52
57
|
/**
|
|
@@ -54,15 +59,15 @@ export type AppSyncResolverProperties = {
|
|
|
54
59
|
*/
|
|
55
60
|
ResponseMappingTemplate?: string;
|
|
56
61
|
/**
|
|
57
|
-
* The location of a response mapping template in an
|
|
62
|
+
* The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
|
|
58
63
|
*/
|
|
59
64
|
ResponseMappingTemplateS3Location?: string;
|
|
60
65
|
/**
|
|
61
|
-
* Describes a runtime used by an
|
|
66
|
+
* Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
62
67
|
*/
|
|
63
68
|
Runtime?: AppSyncRuntime;
|
|
64
69
|
/**
|
|
65
|
-
* The SyncConfig for a resolver attached to a versioned data source.
|
|
70
|
+
* The ``SyncConfig`` for a resolver attached to a versioned data source.
|
|
66
71
|
*/
|
|
67
72
|
SyncConfig?: SyncConfig;
|
|
68
73
|
/**
|
|
@@ -75,42 +80,43 @@ export type AppSyncResolverProperties = {
|
|
|
75
80
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#aws-resource-appsync-resolver-return-values}
|
|
76
81
|
*/
|
|
77
82
|
export type AppSyncResolverAttributes = {
|
|
78
|
-
/**
|
|
79
|
-
* The Amazon Resource Name (ARN) for the resolver.
|
|
80
|
-
*/
|
|
81
83
|
ResolverArn: string;
|
|
82
84
|
};
|
|
83
85
|
/**
|
|
84
86
|
* Type definition for `AWS::AppSync::Resolver.AppSyncRuntime`.
|
|
87
|
+
* Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
85
88
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html}
|
|
86
89
|
*/
|
|
87
90
|
export type AppSyncRuntime = {
|
|
88
91
|
/**
|
|
89
|
-
* The name of the runtime to use.
|
|
92
|
+
* The ``name`` of the runtime to use. Currently, the only allowed value is ``APPSYNC_JS``.
|
|
90
93
|
*/
|
|
91
94
|
Name: string;
|
|
92
95
|
/**
|
|
93
|
-
* The version of the runtime to use.
|
|
96
|
+
* The ``version`` of the runtime to use. Currently, the only allowed version is ``1.0.0``.
|
|
94
97
|
*/
|
|
95
98
|
RuntimeVersion: string;
|
|
96
99
|
};
|
|
97
100
|
/**
|
|
98
101
|
* Type definition for `AWS::AppSync::Resolver.CachingConfig`.
|
|
102
|
+
* The caching configuration for a resolver that has caching activated.
|
|
99
103
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html}
|
|
100
104
|
*/
|
|
101
105
|
export type CachingConfig = {
|
|
102
106
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
* The caching keys for a resolver that has caching activated.
|
|
108
|
+
Valid values are entries from the ``$context.arguments``, ``$context.source``, and ``$context.identity`` maps.
|
|
109
|
+
*/
|
|
105
110
|
CachingKeys?: string[];
|
|
106
111
|
/**
|
|
107
|
-
|
|
108
|
-
|
|
112
|
+
* The TTL in seconds for a resolver that has caching activated.
|
|
113
|
+
Valid values are 1–3,600 seconds.
|
|
114
|
+
*/
|
|
109
115
|
Ttl: number;
|
|
110
116
|
};
|
|
111
117
|
/**
|
|
112
118
|
* Type definition for `AWS::AppSync::Resolver.LambdaConflictHandlerConfig`.
|
|
113
|
-
* The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
|
|
119
|
+
* The ``LambdaConflictHandlerConfig`` when configuring LAMBDA as the Conflict Handler.
|
|
114
120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html}
|
|
115
121
|
*/
|
|
116
122
|
export type LambdaConflictHandlerConfig = {
|
|
@@ -121,34 +127,45 @@ export type LambdaConflictHandlerConfig = {
|
|
|
121
127
|
};
|
|
122
128
|
/**
|
|
123
129
|
* Type definition for `AWS::AppSync::Resolver.PipelineConfig`.
|
|
130
|
+
* Use the ``PipelineConfig`` property type to specify ``PipelineConfig`` for an APSYlong resolver.
|
|
131
|
+
``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.
|
|
124
132
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html}
|
|
125
133
|
*/
|
|
126
134
|
export type PipelineConfig = {
|
|
127
135
|
/**
|
|
128
|
-
* A list of Function objects.
|
|
136
|
+
* A list of ``Function`` objects.
|
|
129
137
|
*/
|
|
130
138
|
Functions?: string[];
|
|
131
139
|
};
|
|
132
140
|
/**
|
|
133
141
|
* Type definition for `AWS::AppSync::Resolver.SyncConfig`.
|
|
142
|
+
* Describes a Sync configuration for a resolver.
|
|
143
|
+
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
|
|
134
144
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html}
|
|
135
145
|
*/
|
|
136
146
|
export type SyncConfig = {
|
|
137
147
|
/**
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
* The Conflict Detection strategy to use.
|
|
149
|
+
+ *VERSION*: Detect conflicts based on object versions for this resolver.
|
|
150
|
+
+ *NONE*: Do not detect conflicts when invoking this resolver.
|
|
151
|
+
*/
|
|
140
152
|
ConflictDetection: string;
|
|
141
153
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
154
|
+
* The Conflict Resolution strategy to perform in the event of a conflict.
|
|
155
|
+
+ *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
|
|
156
|
+
+ *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
|
|
157
|
+
+ *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the ``LambdaConflictHandlerConfig``.
|
|
158
|
+
*/
|
|
144
159
|
ConflictHandler?: string;
|
|
145
160
|
/**
|
|
146
|
-
* The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
|
|
161
|
+
* The ``LambdaConflictHandlerConfig`` when configuring ``LAMBDA`` as the Conflict Handler.
|
|
147
162
|
*/
|
|
148
163
|
LambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
|
|
149
164
|
};
|
|
150
165
|
/**
|
|
151
|
-
*
|
|
166
|
+
* The ``AWS::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
167
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
168
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
152
169
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
153
170
|
*/
|
|
154
171
|
export declare class AppSyncResolver extends $Resource<"AWS::AppSync::Resolver", AppSyncResolverProperties, AppSyncResolverAttributes> {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
4
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
5
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
5
7
|
*/
|
|
6
8
|
export class AppSyncResolver extends $Resource {
|
|
@@ -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 {
|
|
@@ -22,7 +22,7 @@ export type SSMDocumentProperties = {
|
|
|
22
22
|
/**
|
|
23
23
|
* The type of document to create.
|
|
24
24
|
*/
|
|
25
|
-
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session"
|
|
25
|
+
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session";
|
|
26
26
|
/**
|
|
27
27
|
* A name for the Systems Manager document.
|
|
28
28
|
* @pattern `^[a-zA-Z0-9_\-.]{3,128}$`
|