@awboost/cfntypes 1.0.0-beta.59 → 1.0.0-beta.61

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/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 🚧 Warning, unstable!
2
+
3
+ Thanks for using my work! Please don't use the `v1.0.0-beta` versions right now, things are rapidly and wildly changing as I prototype other libraries in the suite. You can use `v0.*` versions but I don't intend to support this. Star the repo to keep up to date with new releases.
4
+
1
5
  # @awboost/cfntypes
2
6
 
3
7
  Typescript types for AWS CloudFormation types.
@@ -332,7 +332,7 @@ export interface ApiGatewayV2DomainNameProps {
332
332
  MutualTlsAuthentication?: ApiGatewayV2DomainNameMutualTlsAuthentication;
333
333
  DomainName: string;
334
334
  DomainNameConfigurations?: any[];
335
- Tags?: object;
335
+ Tags?: Record<string, Tag>;
336
336
  }
337
337
  /**
338
338
  * Attributes type definition for AWS::ApiGatewayV2::DomainName
@@ -67,9 +67,12 @@ export interface CloudFrontCloudFrontOriginAccessIdentityCloudFrontOriginAccessI
67
67
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-continuousdeploymentpolicyconfig.html | AWS::CloudFront::ContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfig}
68
68
  */
69
69
  export interface CloudFrontContinuousDeploymentPolicyContinuousDeploymentPolicyConfig {
70
+ Type?: string;
71
+ SingleHeaderPolicyConfig?: CloudFrontContinuousDeploymentPolicySingleHeaderPolicyConfig;
70
72
  Enabled: boolean;
71
73
  StagingDistributionDnsNames: any[];
72
74
  TrafficConfig?: CloudFrontContinuousDeploymentPolicyTrafficConfig;
75
+ SingleWeightPolicyConfig?: CloudFrontContinuousDeploymentPolicySingleWeightPolicyConfig;
73
76
  }
74
77
  /**
75
78
  * Type definition for AWS::CloudFront::ContinuousDeploymentPolicy.SessionStickinessConfig
@@ -89,6 +92,15 @@ export interface CloudFrontContinuousDeploymentPolicySingleHeaderConfig {
89
92
  Header: string;
90
93
  Value: string;
91
94
  }
95
+ /**
96
+ * Type definition for AWS::CloudFront::ContinuousDeploymentPolicy.SingleHeaderPolicyConfig
97
+ *
98
+ * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html | AWS::CloudFront::ContinuousDeploymentPolicy.SingleHeaderPolicyConfig}
99
+ */
100
+ export interface CloudFrontContinuousDeploymentPolicySingleHeaderPolicyConfig {
101
+ Header: string;
102
+ Value: string;
103
+ }
92
104
  /**
93
105
  * Type definition for AWS::CloudFront::ContinuousDeploymentPolicy.SingleWeightConfig
94
106
  *
@@ -98,6 +110,15 @@ export interface CloudFrontContinuousDeploymentPolicySingleWeightConfig {
98
110
  SessionStickinessConfig?: CloudFrontContinuousDeploymentPolicySessionStickinessConfig;
99
111
  Weight: number;
100
112
  }
113
+ /**
114
+ * Type definition for AWS::CloudFront::ContinuousDeploymentPolicy.SingleWeightPolicyConfig
115
+ *
116
+ * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html | AWS::CloudFront::ContinuousDeploymentPolicy.SingleWeightPolicyConfig}
117
+ */
118
+ export interface CloudFrontContinuousDeploymentPolicySingleWeightPolicyConfig {
119
+ SessionStickinessConfig?: CloudFrontContinuousDeploymentPolicySessionStickinessConfig;
120
+ Weight: number;
121
+ }
101
122
  /**
102
123
  * Type definition for AWS::CloudFront::ContinuousDeploymentPolicy.TrafficConfig
103
124
  *
@@ -291,11 +291,11 @@ export interface ElasticLoadBalancingV2ListenerRuleTargetGroupTuple {
291
291
  /**
292
292
  * Type definition for AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute
293
293
  *
294
- * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html | AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute}
294
+ * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html | AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute}
295
295
  */
296
296
  export interface ElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute {
297
- Value?: string;
298
297
  Key?: string;
298
+ Value?: string;
299
299
  }
300
300
  /**
301
301
  * Type definition for AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping
@@ -305,8 +305,8 @@ export interface ElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute {
305
305
  export interface ElasticLoadBalancingV2LoadBalancerSubnetMapping {
306
306
  AllocationId?: string;
307
307
  IPv6Address?: string;
308
- SubnetId: string;
309
308
  PrivateIPv4Address?: string;
309
+ SubnetId: string;
310
310
  }
311
311
  /**
312
312
  * Type definition for AWS::ElasticLoadBalancingV2::TargetGroup.Matcher
@@ -424,14 +424,14 @@ export declare class ElasticLoadBalancingV2ListenerRule extends ResourceBase<"AW
424
424
  */
425
425
  export interface ElasticLoadBalancingV2LoadBalancerProps {
426
426
  IpAddressType?: string;
427
- SecurityGroups?: any[];
428
427
  LoadBalancerAttributes?: any[];
429
- Subnets?: any[];
430
- Type?: string;
431
- Scheme?: string;
432
- Tags?: Tag[];
433
428
  Name?: string;
429
+ Scheme?: string;
430
+ SecurityGroups?: any[];
434
431
  SubnetMappings?: any[];
432
+ Subnets?: any[];
433
+ Tags?: Tag[];
434
+ Type?: string;
435
435
  }
436
436
  /**
437
437
  * Attributes type definition for AWS::ElasticLoadBalancingV2::LoadBalancer
@@ -439,12 +439,11 @@ export interface ElasticLoadBalancingV2LoadBalancerProps {
439
439
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html | AWS::ElasticLoadBalancingV2::LoadBalancer}
440
440
  */
441
441
  export interface ElasticLoadBalancingV2LoadBalancerAttribs {
442
- SecurityGroups?: any[];
443
- LoadBalancerName?: string;
444
442
  CanonicalHostedZoneID?: string;
445
- LoadBalancerArn?: string;
446
443
  DNSName?: string;
447
444
  LoadBalancerFullName?: string;
445
+ LoadBalancerName?: string;
446
+ SecurityGroups?: any[];
448
447
  }
449
448
  /**
450
449
  * Resource class for AWS::ElasticLoadBalancingV2::LoadBalancer
@@ -50,12 +50,11 @@ class ElasticLoadBalancingV2LoadBalancer extends ResourceBase {
50
50
  }
51
51
  ElasticLoadBalancingV2LoadBalancer.Type = "AWS::ElasticLoadBalancingV2::LoadBalancer";
52
52
  ElasticLoadBalancingV2LoadBalancer.AttributeNames = [
53
- "SecurityGroups",
54
- "LoadBalancerName",
55
53
  "CanonicalHostedZoneID",
56
- "LoadBalancerArn",
57
54
  "DNSName",
58
55
  "LoadBalancerFullName",
56
+ "LoadBalancerName",
57
+ "SecurityGroups",
59
58
  ];
60
59
  export { ElasticLoadBalancingV2LoadBalancer };
61
60
  /**
@@ -119,15 +119,6 @@ export interface EventsEndpointRoutingConfig {
119
119
  export interface EventsEndpointSecondary {
120
120
  Route: string;
121
121
  }
122
- /**
123
- * Type definition for AWS::Events::EventBus.TagEntry
124
- *
125
- * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-tagentry.html | AWS::Events::EventBus.TagEntry}
126
- */
127
- export interface EventsEventBusTagEntry {
128
- Value: string;
129
- Key: string;
130
- }
131
122
  /**
132
123
  * Type definition for AWS::Events::EventBusPolicy.Condition
133
124
  *
@@ -144,9 +135,9 @@ export interface EventsEventBusPolicyCondition {
144
135
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-awsvpcconfiguration.html | AWS::Events::Rule.AwsVpcConfiguration}
145
136
  */
146
137
  export interface EventsRuleAwsVpcConfiguration {
138
+ AssignPublicIp?: string;
147
139
  SecurityGroups?: any[];
148
140
  Subnets: any[];
149
- AssignPublicIp?: string;
150
141
  }
151
142
  /**
152
143
  * Type definition for AWS::Events::Rule.BatchArrayProperties
@@ -163,9 +154,9 @@ export interface EventsRuleBatchArrayProperties {
163
154
  */
164
155
  export interface EventsRuleBatchParameters {
165
156
  ArrayProperties?: EventsRuleBatchArrayProperties;
157
+ JobDefinition: string;
166
158
  JobName: string;
167
159
  RetryStrategy?: EventsRuleBatchRetryStrategy;
168
- JobDefinition: string;
169
160
  }
170
161
  /**
171
162
  * Type definition for AWS::Events::Rule.BatchRetryStrategy
@@ -181,8 +172,8 @@ export interface EventsRuleBatchRetryStrategy {
181
172
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html | AWS::Events::Rule.CapacityProviderStrategyItem}
182
173
  */
183
174
  export interface EventsRuleCapacityProviderStrategyItem {
184
- CapacityProvider: string;
185
175
  Base?: number;
176
+ CapacityProvider: string;
186
177
  Weight?: number;
187
178
  }
188
179
  /**
@@ -199,19 +190,19 @@ export interface EventsRuleDeadLetterConfig {
199
190
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html | AWS::Events::Rule.EcsParameters}
200
191
  */
201
192
  export interface EventsRuleEcsParameters {
202
- PlatformVersion?: string;
203
- Group?: string;
193
+ CapacityProviderStrategy?: any[];
204
194
  EnableECSManagedTags?: boolean;
205
195
  EnableExecuteCommand?: boolean;
196
+ Group?: string;
197
+ LaunchType?: string;
198
+ NetworkConfiguration?: EventsRuleNetworkConfiguration;
206
199
  PlacementConstraints?: any[];
207
- PropagateTags?: string;
208
- TaskCount?: number;
209
200
  PlacementStrategies?: any[];
210
- CapacityProviderStrategy?: any[];
211
- LaunchType?: string;
201
+ PlatformVersion?: string;
202
+ PropagateTags?: string;
212
203
  ReferenceId?: string;
213
204
  TagList?: any[];
214
- NetworkConfiguration?: EventsRuleNetworkConfiguration;
205
+ TaskCount?: number;
215
206
  TaskDefinitionArn: string;
216
207
  }
217
208
  /**
@@ -220,8 +211,8 @@ export interface EventsRuleEcsParameters {
220
211
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html | AWS::Events::Rule.HttpParameters}
221
212
  */
222
213
  export interface EventsRuleHttpParameters {
223
- PathParameterValues?: any[];
224
214
  HeaderParameters?: Record<string, any>;
215
+ PathParameterValues?: any[];
225
216
  QueryStringParameters?: Record<string, any>;
226
217
  }
227
218
  /**
@@ -255,8 +246,8 @@ export interface EventsRuleNetworkConfiguration {
255
246
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementconstraint.html | AWS::Events::Rule.PlacementConstraint}
256
247
  */
257
248
  export interface EventsRulePlacementConstraint {
258
- Type?: string;
259
249
  Expression?: string;
250
+ Type?: string;
260
251
  }
261
252
  /**
262
253
  * Type definition for AWS::Events::Rule.PlacementStrategy
@@ -273,12 +264,11 @@ export interface EventsRulePlacementStrategy {
273
264
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html | AWS::Events::Rule.RedshiftDataParameters}
274
265
  */
275
266
  export interface EventsRuleRedshiftDataParameters {
276
- StatementName?: string;
277
- Sqls?: any[];
278
267
  Database: string;
279
- SecretManagerArn?: string;
280
268
  DbUser?: string;
281
- Sql: string;
269
+ SecretManagerArn?: string;
270
+ Sql?: string;
271
+ StatementName?: string;
282
272
  WithEvent?: boolean;
283
273
  }
284
274
  /**
@@ -287,8 +277,8 @@ export interface EventsRuleRedshiftDataParameters {
287
277
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-retrypolicy.html | AWS::Events::Rule.RetryPolicy}
288
278
  */
289
279
  export interface EventsRuleRetryPolicy {
290
- MaximumRetryAttempts?: number;
291
280
  MaximumEventAgeInSeconds?: number;
281
+ MaximumRetryAttempts?: number;
292
282
  }
293
283
  /**
294
284
  * Type definition for AWS::Events::Rule.RunCommandParameters
@@ -304,8 +294,8 @@ export interface EventsRuleRunCommandParameters {
304
294
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandtarget.html | AWS::Events::Rule.RunCommandTarget}
305
295
  */
306
296
  export interface EventsRuleRunCommandTarget {
307
- Values: any[];
308
297
  Key: string;
298
+ Values: any[];
309
299
  }
310
300
  /**
311
301
  * Type definition for AWS::Events::Rule.SageMakerPipelineParameter
@@ -313,8 +303,8 @@ export interface EventsRuleRunCommandTarget {
313
303
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html | AWS::Events::Rule.SageMakerPipelineParameter}
314
304
  */
315
305
  export interface EventsRuleSageMakerPipelineParameter {
316
- Value: string;
317
306
  Name: string;
307
+ Value: string;
318
308
  }
319
309
  /**
320
310
  * Type definition for AWS::Events::Rule.SageMakerPipelineParameters
@@ -332,28 +322,37 @@ export interface EventsRuleSageMakerPipelineParameters {
332
322
  export interface EventsRuleSqsParameters {
333
323
  MessageGroupId: string;
334
324
  }
325
+ /**
326
+ * Type definition for AWS::Events::Rule.Tag
327
+ *
328
+ * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html | AWS::Events::Rule.Tag}
329
+ */
330
+ export interface EventsRuleTag {
331
+ Key?: string;
332
+ Value?: string;
333
+ }
335
334
  /**
336
335
  * Type definition for AWS::Events::Rule.Target
337
336
  *
338
337
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html | AWS::Events::Rule.Target}
339
338
  */
340
339
  export interface EventsRuleTarget {
341
- InputPath?: string;
342
- HttpParameters?: EventsRuleHttpParameters;
340
+ Arn: string;
341
+ BatchParameters?: EventsRuleBatchParameters;
343
342
  DeadLetterConfig?: EventsRuleDeadLetterConfig;
344
- RunCommandParameters?: EventsRuleRunCommandParameters;
343
+ EcsParameters?: EventsRuleEcsParameters;
344
+ HttpParameters?: EventsRuleHttpParameters;
345
+ Id: string;
346
+ Input?: string;
347
+ InputPath?: string;
345
348
  InputTransformer?: EventsRuleInputTransformer;
346
349
  KinesisParameters?: EventsRuleKinesisParameters;
347
- RoleArn?: string;
348
350
  RedshiftDataParameters?: EventsRuleRedshiftDataParameters;
349
- Input?: string;
350
- SqsParameters?: EventsRuleSqsParameters;
351
- EcsParameters?: EventsRuleEcsParameters;
352
- BatchParameters?: EventsRuleBatchParameters;
353
- Id: string;
354
- Arn: string;
355
- SageMakerPipelineParameters?: EventsRuleSageMakerPipelineParameters;
356
351
  RetryPolicy?: EventsRuleRetryPolicy;
352
+ RoleArn?: string;
353
+ RunCommandParameters?: EventsRuleRunCommandParameters;
354
+ SageMakerPipelineParameters?: EventsRuleSageMakerPipelineParameters;
355
+ SqsParameters?: EventsRuleSqsParameters;
357
356
  }
358
357
  /**
359
358
  * Type definition for AWS::Events::ApiDestination
@@ -487,6 +486,7 @@ export declare class EventsEndpoint extends ResourceBase<"AWS::Events::Endpoint"
487
486
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html | AWS::Events::EventBus}
488
487
  */
489
488
  export interface EventsEventBusProps {
489
+ Policy?: object;
490
490
  EventSourceName?: string;
491
491
  Tags?: Tag[];
492
492
  Name: string;
@@ -497,7 +497,6 @@ export interface EventsEventBusProps {
497
497
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html | AWS::Events::EventBus}
498
498
  */
499
499
  export interface EventsEventBusAttribs {
500
- Policy?: string;
501
500
  Arn?: string;
502
501
  Name?: string;
503
502
  }
@@ -540,14 +539,14 @@ export declare class EventsEventBusPolicy extends ResourceBase<"AWS::Events::Eve
540
539
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html | AWS::Events::Rule}
541
540
  */
542
541
  export interface EventsRuleProps {
542
+ Description?: string;
543
543
  EventBusName?: string;
544
544
  EventPattern?: object;
545
+ Name?: string;
546
+ RoleArn?: string;
545
547
  ScheduleExpression?: string;
546
- Description?: string;
547
548
  State?: string;
548
549
  Targets?: any[];
549
- RoleArn?: string;
550
- Name?: string;
551
550
  }
552
551
  /**
553
552
  * Attributes type definition for AWS::Events::Rule
@@ -62,7 +62,7 @@ class EventsEventBus extends ResourceBase {
62
62
  }
63
63
  }
64
64
  EventsEventBus.Type = "AWS::Events::EventBus";
65
- EventsEventBus.AttributeNames = ["Policy", "Arn", "Name"];
65
+ EventsEventBus.AttributeNames = ["Arn", "Name"];
66
66
  export { EventsEventBus };
67
67
  /**
68
68
  * Resource class for AWS::Events::EventBusPolicy
@@ -1097,16 +1097,17 @@ export declare class IoTFleetMetric extends ResourceBase<"AWS::IoT::FleetMetric"
1097
1097
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html | AWS::IoT::JobTemplate}
1098
1098
  */
1099
1099
  export interface IoTJobTemplateProps {
1100
- JobArn?: string;
1101
1100
  TimeoutConfig?: IoTJobTemplateTimeoutConfig;
1102
- JobExecutionsRolloutConfig?: IoTJobTemplateJobExecutionsRolloutConfig;
1103
1101
  Description: string;
1104
1102
  JobExecutionsRetryConfig?: IoTJobTemplateJobExecutionsRetryConfig;
1105
- DocumentSource?: string;
1106
1103
  AbortConfig?: IoTJobTemplateAbortConfig;
1107
- MaintenanceWindows?: any[];
1108
1104
  JobTemplateId: string;
1109
1105
  Document?: string;
1106
+ DestinationPackageVersions?: any[];
1107
+ JobArn?: string;
1108
+ JobExecutionsRolloutConfig?: IoTJobTemplateJobExecutionsRolloutConfig;
1109
+ DocumentSource?: string;
1110
+ MaintenanceWindows?: any[];
1110
1111
  PresignedUrlConfig?: IoTJobTemplatePresignedUrlConfig;
1111
1112
  Tags?: Tag[];
1112
1113
  }
@@ -19,6 +19,7 @@ export interface MediaTailorChannelDashPlaylistSettings {
19
19
  */
20
20
  export interface MediaTailorChannelHlsPlaylistSettings {
21
21
  ManifestWindowSeconds?: number;
22
+ AdMarkupType?: any[];
22
23
  }
23
24
  /**
24
25
  * Type definition for AWS::MediaTailor::Channel.LogConfigurationForChannel
@@ -388,6 +388,7 @@ export interface RDSDBInstanceProps {
388
388
  ManageMasterUserPassword?: boolean;
389
389
  SourceDbiResourceId?: string;
390
390
  DomainAuthSecretArn?: string;
391
+ AutomaticBackupReplicationRegion?: string;
391
392
  VPCSecurityGroups?: any[];
392
393
  AllowMajorVersionUpgrade?: boolean;
393
394
  DBName?: string;
@@ -4,6 +4,6 @@
4
4
  * @see {@link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html | Tag}
5
5
  */
6
6
  export interface Tag {
7
- Value: string;
8
7
  Key: string;
8
+ Value: string;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfntypes",
3
- "version": "1.0.0-beta.59",
3
+ "version": "1.0.0-beta.61",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -43,5 +43,5 @@
43
43
  "scripts": {
44
44
  "lint": "eslint src/ --ext=ts"
45
45
  },
46
- "awsResourceSpecificationVersion": "142.1.0"
46
+ "awsResourceSpecificationVersion": "143.0.0"
47
47
  }