@awboost/cfn-resource-types 0.1.39 → 0.1.40
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-ApiGateway-Authorizer.d.ts +1 -1
- package/lib/AWS-ApiGateway-Method.d.ts +2 -2
- package/lib/AWS-AppConfig-Deployment.d.ts +10 -0
- package/lib/AWS-Batch-JobQueue.d.ts +15 -0
- package/lib/AWS-CodePipeline-Pipeline.d.ts +1 -0
- package/lib/AWS-DataSync-Task.d.ts +85 -20
- package/lib/AWS-EC2-NetworkInterface.d.ts +4 -0
- package/lib/AWS-ECS-Service.d.ts +445 -2
- package/lib/AWS-ECS-Service.js +3 -1
- package/lib/AWS-IAM-Group.d.ts +26 -13
- package/lib/AWS-IAM-Group.js +3 -1
- package/lib/AWS-Logs-LogGroup.d.ts +32 -26
- package/lib/AWS-Logs-LogGroup.js +5 -1
- package/lib/AWS-Logs-MetricFilter.d.ts +33 -23
- package/lib/AWS-Logs-MetricFilter.js +2 -2
- package/lib/AWS-Logs-SubscriptionFilter.d.ts +19 -9
- package/lib/AWS-Logs-SubscriptionFilter.js +7 -2
- package/lib/AWS-Pinpoint-EmailChannel.d.ts +1 -0
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ export type ApiGatewayAuthorizerProperties = {
|
|
|
22
22
|
*/
|
|
23
23
|
AuthorizerUri?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when
|
|
25
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.
|
|
26
26
|
*/
|
|
27
27
|
IdentitySource?: string;
|
|
28
28
|
/**
|
|
@@ -99,7 +99,7 @@ export type Integration = {
|
|
|
99
99
|
*/
|
|
100
100
|
IntegrationResponses?: IntegrationResponse[];
|
|
101
101
|
/**
|
|
102
|
-
* Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in ``requestTemplates``. The valid value is one of the following: ``WHEN_NO_MATCH``: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. ``WHEN_NO_TEMPLATES``: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response
|
|
102
|
+
* Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in ``requestTemplates``. The valid value is one of the following: ``WHEN_NO_MATCH``: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. ``WHEN_NO_TEMPLATES``: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. ``NEVER``: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.
|
|
103
103
|
*/
|
|
104
104
|
PassthroughBehavior?: "WHEN_NO_MATCH" | "WHEN_NO_TEMPLATES" | "NEVER";
|
|
105
105
|
/**
|
|
@@ -122,7 +122,7 @@ export type Integration = {
|
|
|
122
122
|
Type: "AWS" | "AWS_PROXY" | "HTTP" | "HTTP_PROXY" | "MOCK";
|
|
123
123
|
/**
|
|
124
124
|
* Specifies Uniform Resource Identifier (URI) of the integration endpoint.
|
|
125
|
-
For ``HTTP`` or ``HTTP_PROXY`` integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification for standard integrations. If ``connectionType`` is ``VPC_LINK`` specify the Network Load Balancer DNS name. For ``AWS`` or ``AWS_PROXY`` integrations, the URI is of the form ``arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}``. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing
|
|
125
|
+
For ``HTTP`` or ``HTTP_PROXY`` integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification for standard integrations. If ``connectionType`` is ``VPC_LINK`` specify the Network Load Balancer DNS name. For ``AWS`` or ``AWS_PROXY`` integrations, the URI is of the form ``arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}``. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either ``arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}`` or ``arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}``
|
|
126
126
|
*/
|
|
127
127
|
Uri?: string;
|
|
128
128
|
};
|
|
@@ -10,6 +10,7 @@ export type AppConfigDeploymentProperties = {
|
|
|
10
10
|
ConfigurationVersion: string;
|
|
11
11
|
DeploymentStrategyId: string;
|
|
12
12
|
Description?: string;
|
|
13
|
+
DynamicExtensionParameters?: DynamicExtensionParameters[];
|
|
13
14
|
EnvironmentId: string;
|
|
14
15
|
KmsKeyIdentifier?: string;
|
|
15
16
|
Tags?: Tags[];
|
|
@@ -21,6 +22,15 @@ export type AppConfigDeploymentProperties = {
|
|
|
21
22
|
export type AppConfigDeploymentAttributes = {
|
|
22
23
|
Id: string;
|
|
23
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Type definition for `AWS::AppConfig::Deployment.DynamicExtensionParameters`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deployment-dynamicextensionparameters.html}
|
|
28
|
+
*/
|
|
29
|
+
export type DynamicExtensionParameters = {
|
|
30
|
+
ExtensionReference?: string;
|
|
31
|
+
ParameterName?: string;
|
|
32
|
+
ParameterValue?: string;
|
|
33
|
+
};
|
|
24
34
|
/**
|
|
25
35
|
* Type definition for `AWS::AppConfig::Deployment.Tags`.
|
|
26
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deployment-tags.html}
|
|
@@ -11,6 +11,7 @@ export type BatchJobQueueProperties = {
|
|
|
11
11
|
* @maxLength `128`
|
|
12
12
|
*/
|
|
13
13
|
JobQueueName?: string;
|
|
14
|
+
JobStateTimeLimitActions?: JobStateTimeLimitAction[];
|
|
14
15
|
/**
|
|
15
16
|
* @min `0`
|
|
16
17
|
* @max `1000`
|
|
@@ -44,6 +45,20 @@ export type ComputeEnvironmentOrder = {
|
|
|
44
45
|
ComputeEnvironment: string;
|
|
45
46
|
Order: number;
|
|
46
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* Type definition for `AWS::Batch::JobQueue.JobStateTimeLimitAction`.
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-jobstatetimelimitaction.html}
|
|
51
|
+
*/
|
|
52
|
+
export type JobStateTimeLimitAction = {
|
|
53
|
+
Action: "CANCEL";
|
|
54
|
+
/**
|
|
55
|
+
* @min `600`
|
|
56
|
+
* @max `86400`
|
|
57
|
+
*/
|
|
58
|
+
MaxTimeSeconds: number;
|
|
59
|
+
Reason: string;
|
|
60
|
+
State: "RUNNABLE";
|
|
61
|
+
};
|
|
47
62
|
/**
|
|
48
63
|
* Resource Type definition for AWS::Batch::JobQueue
|
|
49
64
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html}
|
|
@@ -27,6 +27,10 @@ export type DataSyncTaskProperties = {
|
|
|
27
27
|
* @maxLength `1`
|
|
28
28
|
*/
|
|
29
29
|
Includes?: FilterRule[];
|
|
30
|
+
/**
|
|
31
|
+
* Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
|
32
|
+
*/
|
|
33
|
+
ManifestConfig?: ManifestConfig;
|
|
30
34
|
/**
|
|
31
35
|
* The name of a task. This value is a text reference that is used to identify the task in the console.
|
|
32
36
|
* @minLength `1`
|
|
@@ -103,6 +107,61 @@ export type FilterRule = {
|
|
|
103
107
|
*/
|
|
104
108
|
Value?: string;
|
|
105
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* Type definition for `AWS::DataSync::Task.ManifestConfig`.
|
|
112
|
+
* Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
|
113
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html}
|
|
114
|
+
*/
|
|
115
|
+
export type ManifestConfig = {
|
|
116
|
+
/**
|
|
117
|
+
* Specifies what DataSync uses the manifest for.
|
|
118
|
+
*/
|
|
119
|
+
Action?: "TRANSFER";
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the file format of your manifest.
|
|
122
|
+
*/
|
|
123
|
+
Format?: "CSV";
|
|
124
|
+
/**
|
|
125
|
+
* Specifies the manifest that you want DataSync to use and where it's hosted.
|
|
126
|
+
*/
|
|
127
|
+
Source: {
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.
|
|
130
|
+
*/
|
|
131
|
+
S3?: ManifestConfigSourceS3;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Type definition for `AWS::DataSync::Task.ManifestConfigSourceS3`.
|
|
136
|
+
* Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html}
|
|
138
|
+
*/
|
|
139
|
+
export type ManifestConfigSourceS3 = {
|
|
140
|
+
/**
|
|
141
|
+
* Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.
|
|
142
|
+
* @maxLength `2048`
|
|
143
|
+
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$`
|
|
144
|
+
*/
|
|
145
|
+
BucketAccessRoleArn?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Specifies the Amazon S3 object key of your manifest.
|
|
148
|
+
* @maxLength `1024`
|
|
149
|
+
* @pattern `^[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}\p{C}]*$`
|
|
150
|
+
*/
|
|
151
|
+
ManifestObjectPath?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Specifies the object version ID of the manifest that you want DataSync to use.
|
|
154
|
+
* @maxLength `100`
|
|
155
|
+
* @pattern `^.+$`
|
|
156
|
+
*/
|
|
157
|
+
ManifestObjectVersionId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
|
|
160
|
+
* @maxLength `156`
|
|
161
|
+
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\-0-9]*:[0-9]*:.*$`
|
|
162
|
+
*/
|
|
163
|
+
S3BucketArn?: string;
|
|
164
|
+
};
|
|
106
165
|
/**
|
|
107
166
|
* Type definition for `AWS::DataSync::Task.Options`.
|
|
108
167
|
* Represents the options that are available to control the behavior of a StartTaskExecution operation.
|
|
@@ -205,26 +264,7 @@ export type TaskReportConfig = {
|
|
|
205
264
|
/**
|
|
206
265
|
* Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
207
266
|
*/
|
|
208
|
-
S3?:
|
|
209
|
-
/**
|
|
210
|
-
* Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.
|
|
211
|
-
* @maxLength `2048`
|
|
212
|
-
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$`
|
|
213
|
-
*/
|
|
214
|
-
BucketAccessRoleArn?: string;
|
|
215
|
-
/**
|
|
216
|
-
* Specifies the ARN of the S3 bucket where Datasync uploads your report.
|
|
217
|
-
* @maxLength `156`
|
|
218
|
-
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\-0-9]*:[0-9]*:.*$`
|
|
219
|
-
*/
|
|
220
|
-
S3BucketArn?: string;
|
|
221
|
-
/**
|
|
222
|
-
* Specifies a bucket prefix for your report.
|
|
223
|
-
* @maxLength `4096`
|
|
224
|
-
* @pattern `^[a-zA-Z0-9_\-\+\./\(\)\p{Zs}]*$`
|
|
225
|
-
*/
|
|
226
|
-
Subdirectory?: string;
|
|
227
|
-
};
|
|
267
|
+
S3?: TaskReportConfigDestinationS3;
|
|
228
268
|
};
|
|
229
269
|
/**
|
|
230
270
|
* Specifies whether your task report includes the new version of each object transferred into an S3 bucket, this only applies if you enable versioning on your bucket.
|
|
@@ -280,6 +320,31 @@ export type TaskReportConfig = {
|
|
|
280
320
|
*/
|
|
281
321
|
ReportLevel?: "ERRORS_ONLY" | "SUCCESSES_AND_ERRORS";
|
|
282
322
|
};
|
|
323
|
+
/**
|
|
324
|
+
* Type definition for `AWS::DataSync::Task.TaskReportConfigDestinationS3`.
|
|
325
|
+
* Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
326
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfigdestinations3.html}
|
|
327
|
+
*/
|
|
328
|
+
export type TaskReportConfigDestinationS3 = {
|
|
329
|
+
/**
|
|
330
|
+
* Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.
|
|
331
|
+
* @maxLength `2048`
|
|
332
|
+
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$`
|
|
333
|
+
*/
|
|
334
|
+
BucketAccessRoleArn?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Specifies the ARN of the S3 bucket where Datasync uploads your report.
|
|
337
|
+
* @maxLength `156`
|
|
338
|
+
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\-0-9]*:[0-9]*:.*$`
|
|
339
|
+
*/
|
|
340
|
+
S3BucketArn?: string;
|
|
341
|
+
/**
|
|
342
|
+
* Specifies a bucket prefix for your report.
|
|
343
|
+
* @maxLength `4096`
|
|
344
|
+
* @pattern `^[a-zA-Z0-9_\-\+\./\(\)\p{Zs}]*$`
|
|
345
|
+
*/
|
|
346
|
+
Subdirectory?: string;
|
|
347
|
+
};
|
|
283
348
|
/**
|
|
284
349
|
* Type definition for `AWS::DataSync::Task.TaskSchedule`.
|
|
285
350
|
* Specifies the schedule you want your task to use for repeated executions.
|
|
@@ -92,6 +92,10 @@ export type EC2NetworkInterfaceAttributes = {
|
|
|
92
92
|
* Returns the secondary private IP addresses of the network interface.
|
|
93
93
|
*/
|
|
94
94
|
SecondaryPrivateIpAddresses: string[];
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the VPC
|
|
97
|
+
*/
|
|
98
|
+
VpcId: string;
|
|
95
99
|
};
|
|
96
100
|
/**
|
|
97
101
|
* Type definition for `AWS::EC2::NetworkInterface.ConnectionTrackingSpecification`.
|