@awboost/cfn-resource-types 0.1.11 → 0.1.12

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.
@@ -96,6 +96,7 @@ export type InstanceRequirements = {
96
96
  InstanceGenerations?: string[];
97
97
  LocalStorage?: string;
98
98
  LocalStorageTypes?: string[];
99
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
99
100
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
100
101
  MemoryMiB: MemoryMiBRequest;
101
102
  NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
@@ -0,0 +1,127 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::InspectorV2::CisScanConfiguration`.
5
+ * CIS Scan Configuration resource schema
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
7
+ */
8
+ export type InspectorV2CisScanConfigurationProperties = {
9
+ /**
10
+ * Name of the scan
11
+ * @minLength `1`
12
+ */
13
+ ScanName?: string;
14
+ /**
15
+ * Choose a Schedule cadence
16
+ */
17
+ Schedule?: Schedule;
18
+ SecurityLevel?: CisSecurityLevel;
19
+ Tags?: CisTagMap;
20
+ Targets?: CisTargets;
21
+ };
22
+ /**
23
+ * Attribute type definition for `AWS::InspectorV2::CisScanConfiguration`.
24
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#aws-resource-inspectorv2-cisscanconfiguration-return-values}
25
+ */
26
+ export type InspectorV2CisScanConfigurationAttributes = {
27
+ /**
28
+ * CIS Scan configuration unique identifier
29
+ */
30
+ Arn: string;
31
+ };
32
+ /**
33
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.CisSecurityLevel`.
34
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cissecuritylevel.html}
35
+ */
36
+ export type CisSecurityLevel = "LEVEL_1" | "LEVEL_2";
37
+ /**
38
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.CisTagMap`.
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistagmap.html}
40
+ */
41
+ export type CisTagMap = Record<string, string>;
42
+ /**
43
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.CisTargets`.
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistargets.html}
45
+ */
46
+ export type CisTargets = {
47
+ /**
48
+ * @minLength `1`
49
+ * @maxLength `10000`
50
+ */
51
+ AccountIds: string[];
52
+ TargetResourceTags?: TargetResourceTags;
53
+ };
54
+ /**
55
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.DailySchedule`.
56
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-dailyschedule.html}
57
+ */
58
+ export type DailySchedule = {
59
+ StartTime: Time;
60
+ };
61
+ /**
62
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.Day`.
63
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-day.html}
64
+ */
65
+ export type Day = "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
66
+ /**
67
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.MonthlySchedule`.
68
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-monthlyschedule.html}
69
+ */
70
+ export type MonthlySchedule = {
71
+ Day: Day;
72
+ StartTime: Time;
73
+ };
74
+ /**
75
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.OneTimeSchedule`.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-onetimeschedule.html}
77
+ */
78
+ export type OneTimeSchedule = Record<string, any>;
79
+ /**
80
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.Schedule`.
81
+ * Choose a Schedule cadence
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-schedule.html}
83
+ */
84
+ export type Schedule = {
85
+ Daily?: DailySchedule;
86
+ Monthly?: MonthlySchedule;
87
+ OneTime?: OneTimeSchedule;
88
+ Weekly?: WeeklySchedule;
89
+ };
90
+ /**
91
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.TargetResourceTags`.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-targetresourcetags.html}
93
+ */
94
+ export type TargetResourceTags = Record<string, string[]>;
95
+ /**
96
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.Time`.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-time.html}
98
+ */
99
+ export type Time = {
100
+ /**
101
+ * @pattern `^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$`
102
+ */
103
+ TimeOfDay: string;
104
+ TimeZone: string;
105
+ };
106
+ /**
107
+ * Type definition for `AWS::InspectorV2::CisScanConfiguration.WeeklySchedule`.
108
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-weeklyschedule.html}
109
+ */
110
+ export type WeeklySchedule = {
111
+ /**
112
+ * @minLength `1`
113
+ * @maxLength `7`
114
+ */
115
+ Days: Day[];
116
+ StartTime: Time;
117
+ };
118
+ /**
119
+ * Resource type definition for `AWS::InspectorV2::CisScanConfiguration`.
120
+ * CIS Scan Configuration resource schema
121
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
122
+ */
123
+ export declare class InspectorV2CisScanConfiguration extends $Resource<"AWS::InspectorV2::CisScanConfiguration", InspectorV2CisScanConfigurationProperties, InspectorV2CisScanConfigurationAttributes> {
124
+ static readonly Type = "AWS::InspectorV2::CisScanConfiguration";
125
+ constructor(logicalId: string, properties: InspectorV2CisScanConfigurationProperties, options?: $ResourceOptions);
126
+ }
127
+ //# sourceMappingURL=AWS-InspectorV2-CisScanConfiguration.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::InspectorV2::CisScanConfiguration`.
4
+ * CIS Scan Configuration resource schema
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
6
+ */
7
+ export class InspectorV2CisScanConfiguration extends $Resource {
8
+ static Type = "AWS::InspectorV2::CisScanConfiguration";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, InspectorV2CisScanConfiguration.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-InspectorV2-CisScanConfiguration.js.map
@@ -56,6 +56,10 @@ export type LocationMapAttributes = {
56
56
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html}
57
57
  */
58
58
  export type MapConfiguration = {
59
+ /**
60
+ * @maxLength `10`
61
+ */
62
+ CustomLayers?: string[];
59
63
  /**
60
64
  * @minLength `3`
61
65
  * @maxLength `3`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },