@awboost/cfn-resource-types 0.1.10 → 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`
@@ -0,0 +1,82 @@
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::RDS::Integration`.
5
+ * An example resource schema demonstrating some basic constructs and validation rules.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
7
+ */
8
+ export type RDSIntegrationProperties = {
9
+ /**
10
+ * An optional set of non-secret key–value pairs that contains additional contextual information about the data.
11
+ */
12
+ AdditionalEncryptionContext?: EncryptionContextMap;
13
+ /**
14
+ * The name of the integration.
15
+ * @minLength `1`
16
+ * @maxLength `64`
17
+ */
18
+ IntegrationName?: string;
19
+ /**
20
+ * An optional AWS Key Management System (AWS KMS) key ARN for the key used to to encrypt the integration. The resource accepts the key ID and the key ARN forms. The key ID form can be used if the KMS key is owned by te same account. If the KMS key belongs to a different account than the calling account, the full key ARN must be specified. Do not use the key alias or the key alias ARN as this will cause a false drift of the resource.
21
+ */
22
+ KMSKeyId?: string;
23
+ /**
24
+ * The Amazon Resource Name (ARN) of the Aurora DB cluster to use as the source for replication.
25
+ */
26
+ SourceArn: string;
27
+ /**
28
+ * An array of key-value pairs to apply to this resource.
29
+ * @maxLength `50`
30
+ */
31
+ Tags?: Tag[];
32
+ /**
33
+ * The ARN of the Redshift data warehouse to use as the target for replication.
34
+ */
35
+ TargetArn: string;
36
+ };
37
+ /**
38
+ * Attribute type definition for `AWS::RDS::Integration`.
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#aws-resource-rds-integration-return-values}
40
+ */
41
+ export type RDSIntegrationAttributes = {
42
+ CreateTime: string;
43
+ /**
44
+ * The ARN of the integration.
45
+ */
46
+ IntegrationArn: string;
47
+ };
48
+ /**
49
+ * Type definition for `AWS::RDS::Integration.EncryptionContextMap`.
50
+ * An optional set of non-secret key–value pairs that contains additional contextual information about the data.
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-integration-encryptioncontextmap.html}
52
+ */
53
+ export type EncryptionContextMap = Record<string, string>;
54
+ /**
55
+ * Type definition for `AWS::RDS::Integration.Tag`.
56
+ * A key-value pair to associate with a resource.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-integration-tag.html}
58
+ */
59
+ export type Tag = {
60
+ /**
61
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
62
+ * @minLength `1`
63
+ * @maxLength `128`
64
+ */
65
+ Key: string;
66
+ /**
67
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
68
+ * @minLength `0`
69
+ * @maxLength `256`
70
+ */
71
+ Value?: string;
72
+ };
73
+ /**
74
+ * Resource type definition for `AWS::RDS::Integration`.
75
+ * An example resource schema demonstrating some basic constructs and validation rules.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
77
+ */
78
+ export declare class RDSIntegration extends $Resource<"AWS::RDS::Integration", RDSIntegrationProperties, RDSIntegrationAttributes> {
79
+ static readonly Type = "AWS::RDS::Integration";
80
+ constructor(logicalId: string, properties: RDSIntegrationProperties, options?: $ResourceOptions);
81
+ }
82
+ //# sourceMappingURL=AWS-RDS-Integration.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::RDS::Integration`.
4
+ * An example resource schema demonstrating some basic constructs and validation rules.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
6
+ */
7
+ export class RDSIntegration extends $Resource {
8
+ static Type = "AWS::RDS::Integration";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, RDSIntegration.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-RDS-Integration.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,7 +32,7 @@
32
32
  "tag-version": "git tag -a ${npm_package_name}@${npm_package_version} -m ${npm_package_name}@v${npm_package_version}"
33
33
  },
34
34
  "devDependencies": {
35
- "@awboost/cfn-codegen": "^0.2.0"
35
+ "@awboost/cfn-codegen": "^0.2.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@awboost/cfn-template-builder": "^0.3.1"