@awboost/cfn-resource-types 0.1.124 → 0.1.126

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.
@@ -164,6 +164,14 @@ export type ArtifactStoreMap = {
164
164
  */
165
165
  Region: string;
166
166
  };
167
+ /**
168
+ * Type definition for `AWS::CodePipeline::Pipeline.BeforeEntryConditions`.
169
+ * The configuration that specifies the rules to run before stage starts.
170
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html}
171
+ */
172
+ export type BeforeEntryConditions = {
173
+ Conditions?: Condition[];
174
+ };
167
175
  /**
168
176
  * Type definition for `AWS::CodePipeline::Pipeline.BlockerDeclaration`.
169
177
  * Reserved for future use.
@@ -179,6 +187,18 @@ export type BlockerDeclaration = {
179
187
  */
180
188
  Type: "Schedule";
181
189
  };
190
+ /**
191
+ * Type definition for `AWS::CodePipeline::Pipeline.Condition`.
192
+ * Represents information about condition.
193
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html}
194
+ */
195
+ export type Condition = {
196
+ /**
197
+ * The specified result for when the failure conditions are met, such as rolling back the stage
198
+ */
199
+ Result?: string;
200
+ Rules?: RuleDeclaration[];
201
+ };
182
202
  /**
183
203
  * Type definition for `AWS::CodePipeline::Pipeline.EncryptionKey`.
184
204
  * Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key
@@ -200,6 +220,7 @@ export type EncryptionKey = {
200
220
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html}
201
221
  */
202
222
  export type FailureConditions = {
223
+ Conditions?: Condition[];
203
224
  /**
204
225
  * The specified result for when the failure conditions are met, such as rolling back the stage
205
226
  */
@@ -344,6 +365,58 @@ export type PipelineTriggerDeclaration = {
344
365
  */
345
366
  ProviderType: "CodeStarSourceConnection";
346
367
  };
368
+ /**
369
+ * Type definition for `AWS::CodePipeline::Pipeline.RuleDeclaration`.
370
+ * Represents information about condition.
371
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html}
372
+ */
373
+ export type RuleDeclaration = {
374
+ /**
375
+ * The rule's configuration. These are key-value pairs that specify input values for a rule.
376
+ */
377
+ Configuration?: Record<string, any>;
378
+ InputArtifacts?: InputArtifact[];
379
+ /**
380
+ * The rule declaration's name.
381
+ */
382
+ Name?: string;
383
+ /**
384
+ * The rule declaration's AWS Region, such as us-east-1.
385
+ */
386
+ Region?: string;
387
+ /**
388
+ * The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline.
389
+ * @pattern `arn:aws(-[\w]+)*:iam::[0-9]{12}:role/.*`
390
+ */
391
+ RoleArn?: string;
392
+ /**
393
+ * Represents information about a rule type.
394
+ */
395
+ RuleTypeId?: RuleTypeId;
396
+ };
397
+ /**
398
+ * Type definition for `AWS::CodePipeline::Pipeline.RuleTypeId`.
399
+ * Represents information about a rule type.
400
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html}
401
+ */
402
+ export type RuleTypeId = {
403
+ /**
404
+ * A category for the provider type for the rule.
405
+ */
406
+ Category?: string;
407
+ /**
408
+ * The creator of the rule being called. Only AWS is supported.
409
+ */
410
+ Owner?: string;
411
+ /**
412
+ * The provider of the service being called by the rule.
413
+ */
414
+ Provider?: string;
415
+ /**
416
+ * A string that describes the rule version.
417
+ */
418
+ Version?: string;
419
+ };
347
420
  /**
348
421
  * Type definition for `AWS::CodePipeline::Pipeline.StageDeclaration`.
349
422
  * Represents information about a stage and its definition.
@@ -351,6 +424,10 @@ export type PipelineTriggerDeclaration = {
351
424
  */
352
425
  export type StageDeclaration = {
353
426
  Actions: ActionDeclaration[];
427
+ /**
428
+ * The method to use before stage runs.
429
+ */
430
+ BeforeEntry?: BeforeEntryConditions;
354
431
  Blockers?: BlockerDeclaration[];
355
432
  /**
356
433
  * The name of the stage.
@@ -360,6 +437,10 @@ export type StageDeclaration = {
360
437
  * The method to use when a stage has not completed successfully
361
438
  */
362
439
  OnFailure?: FailureConditions;
440
+ /**
441
+ * The method to use when a stage has completed successfully
442
+ */
443
+ OnSuccess?: SuccessConditions;
363
444
  };
364
445
  /**
365
446
  * Type definition for `AWS::CodePipeline::Pipeline.StageTransition`.
@@ -376,6 +457,14 @@ export type StageTransition = {
376
457
  */
377
458
  StageName: string;
378
459
  };
460
+ /**
461
+ * Type definition for `AWS::CodePipeline::Pipeline.SuccessConditions`.
462
+ * The configuration that specifies the result, such as rollback, to occur upon stage failure
463
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html}
464
+ */
465
+ export type SuccessConditions = {
466
+ Conditions?: Condition[];
467
+ };
379
468
  /**
380
469
  * Type definition for `AWS::CodePipeline::Pipeline.Tag`.
381
470
  * A tag is a key-value pair that is used to manage the resource.
@@ -114,7 +114,7 @@ export type TrackingOptions = {
114
114
  /**
115
115
  * The domain to use for tracking open and click events.
116
116
  */
117
- CustomRedirectDomain: string;
117
+ CustomRedirectDomain?: string;
118
118
  };
119
119
  /**
120
120
  * Type definition for `AWS::SES::ConfigurationSet.VdmOptions`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.124",
3
+ "version": "0.1.126",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },