@awboost/cfn-resource-types 0.1.80 → 0.1.82
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-CodePipeline-Pipeline.d.ts +8 -0
- package/lib/AWS-KMS-Key.d.ts +7 -3
- package/lib/AWS-Lambda-EventSourceMapping.d.ts +20 -20
- package/lib/AWS-Lambda-EventSourceMapping.js +7 -7
- package/lib/AWS-Location-Tracker.d.ts +3 -0
- package/lib/AWS-MediaTailor-PlaybackConfiguration.d.ts +6 -2
- package/package.json +1 -1
|
@@ -85,6 +85,13 @@ export type EncryptionKey = {
|
|
|
85
85
|
Id: string;
|
|
86
86
|
Type: string;
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* Type definition for `AWS::CodePipeline::Pipeline.FailureConditions`.
|
|
90
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html}
|
|
91
|
+
*/
|
|
92
|
+
export type FailureConditions = {
|
|
93
|
+
Result: string;
|
|
94
|
+
};
|
|
88
95
|
/**
|
|
89
96
|
* Type definition for `AWS::CodePipeline::Pipeline.GitBranchFilterCriteria`.
|
|
90
97
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html}
|
|
@@ -166,6 +173,7 @@ export type StageDeclaration = {
|
|
|
166
173
|
Actions: ActionDeclaration[];
|
|
167
174
|
Blockers?: BlockerDeclaration[];
|
|
168
175
|
Name: string;
|
|
176
|
+
OnFailure?: FailureConditions;
|
|
169
177
|
};
|
|
170
178
|
/**
|
|
171
179
|
* Type definition for `AWS::CodePipeline::Pipeline.StageTransition`.
|
package/lib/AWS-KMS-Key.d.ts
CHANGED
|
@@ -128,9 +128,13 @@ export type KMSKeyProperties = {
|
|
|
128
128
|
*/
|
|
129
129
|
PendingWindowInDays?: number;
|
|
130
130
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
* Specifies a custom period of time between each rotation date. If no value is specified, the default value is 365 days.
|
|
132
|
+
The rotation period defines the number of days after you enable automatic key rotation that KMS will rotate your key material, and the number of days between each automatic rotation thereafter.
|
|
133
|
+
You can use the [kms:RotationPeriodInDays](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) condition key to further constrain the values that principals can specify in the ``RotationPeriodInDays`` parameter.
|
|
134
|
+
For more information about rotating KMS keys and automatic rotation, see [Rotating keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *Developer Guide*.
|
|
135
|
+
* @min `90`
|
|
136
|
+
* @max `2560`
|
|
137
|
+
*/
|
|
134
138
|
RotationPeriodInDays?: number;
|
|
135
139
|
/**
|
|
136
140
|
* Assigns one or more tags to the replica key.
|
|
@@ -3,13 +3,13 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
3
3
|
/**
|
|
4
4
|
* The ``AWS::Lambda::EventSourceMapping`` resource creates a mapping between an event source and an LAMlong function. LAM reads items from the event source and triggers the function.
|
|
5
5
|
For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
10
|
-
+
|
|
11
|
-
+
|
|
12
|
-
+
|
|
6
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
7
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
8
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
9
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
10
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
11
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
12
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
13
13
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
14
14
|
*/
|
|
15
15
|
export type LambdaEventSourceMappingProperties = {
|
|
@@ -57,7 +57,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
57
57
|
+ *Amazon DocumentDB* – The ARN of the DocumentDB change stream.
|
|
58
58
|
* @minLength `12`
|
|
59
59
|
* @maxLength `1024`
|
|
60
|
-
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso
|
|
60
|
+
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
61
61
|
*/
|
|
62
62
|
EventSourceArn?: string;
|
|
63
63
|
/**
|
|
@@ -75,7 +75,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
75
75
|
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
|
|
76
76
|
* @minLength `1`
|
|
77
77
|
* @maxLength `140`
|
|
78
|
-
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso
|
|
78
|
+
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?`
|
|
79
79
|
*/
|
|
80
80
|
FunctionName: string;
|
|
81
81
|
/**
|
|
@@ -137,9 +137,9 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
137
137
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
138
138
|
/**
|
|
139
139
|
* The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.
|
|
140
|
-
+
|
|
141
|
-
+
|
|
142
|
-
+
|
|
140
|
+
+ *LATEST* - Read only new records.
|
|
141
|
+
+ *TRIM_HORIZON* - Process all available records.
|
|
142
|
+
+ *AT_TIMESTAMP* - Specify a time from which to start reading records.
|
|
143
143
|
* @minLength `6`
|
|
144
144
|
* @maxLength `12`
|
|
145
145
|
* @pattern `(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+`
|
|
@@ -275,7 +275,7 @@ export type OnFailure = {
|
|
|
275
275
|
To retain records of failed invocations from [self-managed Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
|
|
276
276
|
* @minLength `12`
|
|
277
277
|
* @maxLength `1024`
|
|
278
|
-
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso
|
|
278
|
+
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
279
279
|
*/
|
|
280
280
|
Destination?: string;
|
|
281
281
|
};
|
|
@@ -347,13 +347,13 @@ export type SourceAccessConfiguration = {
|
|
|
347
347
|
/**
|
|
348
348
|
* The ``AWS::Lambda::EventSourceMapping`` resource creates a mapping between an event source and an LAMlong function. LAM reads items from the event source and triggers the function.
|
|
349
349
|
For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
|
|
350
|
-
+
|
|
351
|
-
+
|
|
352
|
-
+
|
|
353
|
-
+
|
|
354
|
-
+
|
|
355
|
-
+
|
|
356
|
-
+
|
|
350
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
351
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
352
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
353
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
354
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
355
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
356
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
357
357
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
358
358
|
*/
|
|
359
359
|
export declare class LambdaEventSourceMapping extends $Resource<"AWS::Lambda::EventSourceMapping", LambdaEventSourceMappingProperties, LambdaEventSourceMappingAttributes> {
|
|
@@ -2,13 +2,13 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
/**
|
|
3
3
|
* The ``AWS::Lambda::EventSourceMapping`` resource creates a mapping between an event source and an LAMlong function. LAM reads items from the event source and triggers the function.
|
|
4
4
|
For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
|
|
5
|
-
+
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
10
|
-
+
|
|
11
|
-
+
|
|
5
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
6
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
7
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
8
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
9
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
10
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
11
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
12
12
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
13
13
|
*/
|
|
14
14
|
export class LambdaEventSourceMapping extends $Resource {
|
|
@@ -19,6 +19,9 @@ export type LocationTrackerProperties = {
|
|
|
19
19
|
KmsKeyId?: string;
|
|
20
20
|
PositionFiltering?: PositionFiltering;
|
|
21
21
|
PricingPlan?: PricingPlan;
|
|
22
|
+
/**
|
|
23
|
+
* This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
|
|
24
|
+
*/
|
|
22
25
|
PricingPlanDataSource?: string;
|
|
23
26
|
/**
|
|
24
27
|
* An array of key-value pairs to apply to this resource.
|
|
@@ -119,9 +119,13 @@ export type AdMarkerPassthrough = {
|
|
|
119
119
|
*/
|
|
120
120
|
export type AvailSuppression = {
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
FillPolicy?: "PARTIAL_AVAIL" | "FULL_AVAIL_ONLY";
|
|
125
|
+
/**
|
|
126
|
+
* Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.
|
|
127
|
+
*/
|
|
128
|
+
Mode?: "OFF" | "BEHIND_LIVE_EDGE" | "AFTER_LIVE_EDGE";
|
|
125
129
|
/**
|
|
126
130
|
* A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
|
|
127
131
|
*/
|