@awboost/cfn-resource-types 0.1.506 → 0.1.507

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.
@@ -80,6 +80,7 @@ export type AutoScalingAutoScalingGroupProperties = {
80
80
  If you specify ``LaunchTemplate``, ``MixedInstancesPolicy``, or ``LaunchConfigurationName``, don't specify ``InstanceId``.
81
81
  */
82
82
  InstanceId?: string;
83
+ InstanceLifecyclePolicy?: InstanceLifecyclePolicy;
83
84
  /**
84
85
  * An instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the *Amazon EC2 Auto Scaling User Guide*.
85
86
  */
@@ -314,6 +315,13 @@ export type CpuPerformanceFactorRequest = {
314
315
  */
315
316
  References?: PerformanceFactorReferenceRequest[];
316
317
  };
318
+ /**
319
+ * Type definition for `AWS::AutoScaling::AutoScalingGroup.InstanceLifecyclePolicy`.
320
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancelifecyclepolicy.html}
321
+ */
322
+ export type InstanceLifecyclePolicy = {
323
+ RetentionTriggers?: RetentionTriggers;
324
+ };
317
325
  /**
318
326
  * Type definition for `AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy`.
319
327
  * ``InstanceMaintenancePolicy`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
@@ -584,6 +592,7 @@ export type LaunchTemplate = {
584
592
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html}
585
593
  */
586
594
  export type LaunchTemplateOverrides = {
595
+ ImageId?: string;
587
596
  /**
588
597
  * The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
589
598
  You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.
@@ -849,6 +858,13 @@ export type PerformanceFactorReferenceRequest = {
849
858
  */
850
859
  InstanceFamily?: string;
851
860
  };
861
+ /**
862
+ * Type definition for `AWS::AutoScaling::AutoScalingGroup.RetentionTriggers`.
863
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-retentiontriggers.html}
864
+ */
865
+ export type RetentionTriggers = {
866
+ TerminateHookAbandon?: string;
867
+ };
852
868
  /**
853
869
  * Type definition for `AWS::AutoScaling::AutoScalingGroup.TagProperty`.
854
870
  * A structure that specifies a tag for the ``Tags`` property of [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html}
6
6
  */
7
7
  export type ConnectHoursOfOperationProperties = {
8
+ /**
9
+ * List of child hours of operations.
10
+ */
11
+ ChildHoursOfOperations?: HoursOfOperationsIdentifier[];
8
12
  /**
9
13
  * Configuration information for the hours of operation: day, start time, and end time.
10
14
  * @maxLength `100`
@@ -32,6 +36,10 @@ export type ConnectHoursOfOperationProperties = {
32
36
  * @maxLength `127`
33
37
  */
34
38
  Name: string;
39
+ /**
40
+ * List of parent hours of operations.
41
+ */
42
+ ParentHoursOfOperations?: HoursOfOperationsIdentifier[];
35
43
  /**
36
44
  * One or more tags.
37
45
  * @maxLength `50`
@@ -110,6 +118,14 @@ export type HoursOfOperationOverride = {
110
118
  * @maxLength `127`
111
119
  */
112
120
  OverrideName: string;
121
+ /**
122
+ * The type of hours of operation override.
123
+ */
124
+ OverrideType?: OverrideType;
125
+ /**
126
+ * Configuration for recurring hours of operation overrides.
127
+ */
128
+ RecurrenceConfig?: RecurrenceConfig;
113
129
  };
114
130
  /**
115
131
  * Type definition for `AWS::Connect::HoursOfOperation.HoursOfOperationOverrideConfig`.
@@ -130,6 +146,23 @@ export type HoursOfOperationOverrideConfig = {
130
146
  */
131
147
  StartTime: OverrideTimeSlice;
132
148
  };
149
+ /**
150
+ * Type definition for `AWS::Connect::HoursOfOperation.HoursOfOperationsIdentifier`.
151
+ * Identifier for hours of operation.
152
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationsidentifier.html}
153
+ */
154
+ export type HoursOfOperationsIdentifier = {
155
+ /**
156
+ * The identifier for the hours of operation.
157
+ */
158
+ Id: string;
159
+ /**
160
+ * The name of the hours of operation.
161
+ * @minLength `1`
162
+ * @maxLength `127`
163
+ */
164
+ Name?: string;
165
+ };
133
166
  /**
134
167
  * Type definition for `AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice`.
135
168
  * The start time or end time for an hours of operation.
@@ -168,6 +201,58 @@ export type OverrideTimeSlice = {
168
201
  */
169
202
  Minutes: number;
170
203
  };
204
+ /**
205
+ * Type definition for `AWS::Connect::HoursOfOperation.OverrideType`.
206
+ * The type of hours of operation override.
207
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetype.html}
208
+ */
209
+ export type OverrideType = "STANDARD" | "OPEN" | "CLOSED";
210
+ /**
211
+ * Type definition for `AWS::Connect::HoursOfOperation.RecurrenceConfig`.
212
+ * Configuration for recurring hours of operation overrides.
213
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-recurrenceconfig.html}
214
+ */
215
+ export type RecurrenceConfig = {
216
+ /**
217
+ * Pattern for recurring hours of operation overrides.
218
+ */
219
+ RecurrencePattern: RecurrencePattern;
220
+ };
221
+ /**
222
+ * Type definition for `AWS::Connect::HoursOfOperation.RecurrenceFrequency`.
223
+ * The frequency of recurrence for hours of operation overrides.
224
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-recurrencefrequency.html}
225
+ */
226
+ export type RecurrenceFrequency = "WEEKLY" | "MONTHLY" | "YEARLY";
227
+ /**
228
+ * Type definition for `AWS::Connect::HoursOfOperation.RecurrencePattern`.
229
+ * Pattern for recurring hours of operation overrides.
230
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-recurrencepattern.html}
231
+ */
232
+ export type RecurrencePattern = {
233
+ /**
234
+ * List of months (1-12) for recurrence pattern.
235
+ */
236
+ ByMonth?: number[];
237
+ /**
238
+ * List of month days (-1 to 31) for recurrence pattern.
239
+ */
240
+ ByMonthDay?: number[];
241
+ /**
242
+ * @minLength `0`
243
+ * @maxLength `1`
244
+ */
245
+ ByWeekdayOccurrence?: number[];
246
+ /**
247
+ * The frequency of recurrence for hours of operation overrides.
248
+ */
249
+ Frequency?: RecurrenceFrequency;
250
+ /**
251
+ * @min `1`
252
+ * @max `6`
253
+ */
254
+ Interval?: number;
255
+ };
171
256
  /**
172
257
  * Type definition for `AWS::Connect::HoursOfOperation.Tag`.
173
258
  * A key-value pair to associate with a resource.
@@ -1,7 +1,7 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource type definition for AWS::DAX::SubnetGroup
4
+ * Resource Type definition for AWS::DAX::SubnetGroup
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html}
6
6
  */
7
7
  export type DAXSubnetGroupProperties = {
@@ -10,10 +10,17 @@ export type DAXSubnetGroupProperties = {
10
10
  SubnetIds: string[];
11
11
  };
12
12
  /**
13
- * Resource type definition for AWS::DAX::SubnetGroup
13
+ * Attribute type definition for `AWS::DAX::SubnetGroup`.
14
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html#aws-resource-dax-subnetgroup-return-values}
15
+ */
16
+ export type DAXSubnetGroupAttributes = {
17
+ Id: string;
18
+ };
19
+ /**
20
+ * Resource Type definition for AWS::DAX::SubnetGroup
14
21
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html}
15
22
  */
16
- export declare class DAXSubnetGroup extends $Resource<"AWS::DAX::SubnetGroup", DAXSubnetGroupProperties, Record<string, never>> {
23
+ export declare class DAXSubnetGroup extends $Resource<"AWS::DAX::SubnetGroup", DAXSubnetGroupProperties, DAXSubnetGroupAttributes> {
17
24
  static readonly Type = "AWS::DAX::SubnetGroup";
18
25
  constructor(logicalId: string, properties: DAXSubnetGroupProperties, options?: $ResourceOptions);
19
26
  }
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource type definition for AWS::DAX::SubnetGroup
3
+ * Resource Type definition for AWS::DAX::SubnetGroup
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html}
5
5
  */
6
6
  export class DAXSubnetGroup extends $Resource {
@@ -14,12 +14,14 @@ export type EC2ClientVpnEndpointProperties = {
14
14
  Description?: string;
15
15
  DisconnectOnSessionTimeout?: boolean;
16
16
  DnsServers?: string[];
17
+ EndpointIpAddressType?: string;
17
18
  SecurityGroupIds?: string[];
18
19
  SelfServicePortal?: string;
19
20
  ServerCertificateArn: string;
20
21
  SessionTimeoutHours?: number;
21
22
  SplitTunnel?: boolean;
22
23
  TagSpecifications?: TagSpecification[];
24
+ TrafficIpAddressType?: string;
23
25
  TransportProtocol?: string;
24
26
  VpcId?: string;
25
27
  VpnPort?: number;
@@ -13,6 +13,7 @@ export type LogsLogGroupProperties = {
13
13
  * Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.
14
14
  */
15
15
  DataProtectionPolicy?: Record<string, any>;
16
+ DeletionProtectionEnabled?: boolean;
16
17
  /**
17
18
  * Creates or updates a *field index policy* for the specified log group. Only log groups in the Standard log class support field index policies. For more information about log classes, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html).
18
19
  You can use field index policies to create *field indexes* on fields found in log events in the log group. Creating field indexes lowers the costs for CWL Insights queries that reference those field indexes, because these queries attempt to skip the processing of log events that are known to not match the indexed field. Good fields to index are fields that you often need to query for and fields that have high cardinality of values Common examples of indexes include request ID, session ID, userID, and instance IDs. For more information, see [Create field indexes to improve query performance and reduce costs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-Field-Indexing.html).
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbpeeringconnection.html}
6
6
  */
7
7
  export type ODBOdbPeeringConnectionProperties = {
8
+ /**
9
+ * The additional CIDR blocks for the ODB peering connection.
10
+ */
11
+ AdditionalPeerNetworkCidrs?: string[];
8
12
  /**
9
13
  * The name of the ODB peering connection.
10
14
  * @minLength `1`
@@ -52,6 +56,10 @@ export type ODBOdbPeeringConnectionAttributes = {
52
56
  * The Amazon Resource Name (ARN) of the peer network.
53
57
  */
54
58
  PeerNetworkArn: string;
59
+ /**
60
+ * The CIDR blocks for the ODB peering connection.
61
+ */
62
+ PeerNetworkCidrs: string[];
55
63
  };
56
64
  /**
57
65
  * Type definition for `AWS::ODB::OdbPeeringConnection.Tag`.
@@ -27,7 +27,7 @@ export type SecurityHubConnectorV2Properties = {
27
27
  */
28
28
  Name: string;
29
29
  /**
30
- * The provider configuration of the connector
30
+ * The third-party provider configuration for the connector
31
31
  */
32
32
  Provider: Provider;
33
33
  /**
@@ -75,54 +75,53 @@ export type SecurityHubConnectorV2Attributes = {
75
75
  Message: string;
76
76
  };
77
77
  /**
78
- * Type definition for `AWS::SecurityHub::ConnectorV2.AuthStatus`.
79
- * The auth status of the connector
80
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-authstatus.html}
78
+ * Type definition for `AWS::SecurityHub::ConnectorV2.JiraCloudProviderConfiguration`.
79
+ * The initial configuration settings required to establish an integration between Security Hub and Jira Cloud
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-jiracloudproviderconfiguration.html}
81
81
  */
82
- export type AuthStatus = "ACTIVE" | "FAILED";
82
+ export type JiraCloudProviderConfiguration = {
83
+ /**
84
+ * The project key for a Jira Cloud instance
85
+ * @minLength `2`
86
+ * @maxLength `10`
87
+ */
88
+ ProjectKey: string;
89
+ };
83
90
  /**
84
91
  * Type definition for `AWS::SecurityHub::ConnectorV2.Provider`.
85
- * The provider configuration of the connector
92
+ * The third-party provider configuration for the connector
86
93
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html}
87
94
  */
88
95
  export type Provider = {
89
- JiraCloud: {
90
- /**
91
- * The auth status of the connector
92
- */
93
- AuthStatus?: AuthStatus;
94
- /**
95
- * The authUrl of the JiraCloud connector
96
- * @pattern `.*\S.*`
97
- */
98
- AuthUrl?: string;
99
- CloudId?: string;
100
- Domain?: string;
101
- /**
102
- * @minLength `2`
103
- * @maxLength `10`
104
- */
105
- ProjectKey: string;
106
- };
96
+ /**
97
+ * The initial configuration settings required to establish an integration between Security Hub and Jira Cloud
98
+ */
99
+ JiraCloud: JiraCloudProviderConfiguration;
107
100
  } | {
108
- ServiceNow: {
109
- /**
110
- * The auth status of the connector
111
- */
112
- AuthStatus?: AuthStatus;
113
- /**
114
- * @minLength `1`
115
- * @maxLength `128`
116
- */
117
- InstanceName: string;
118
- /**
119
- * The ARN of secrets manager containing ClientId and ClientSecret
120
- * @minLength `20`
121
- * @maxLength `2048`
122
- * @pattern `.*\S.*`
123
- */
124
- SecretArn: string;
125
- };
101
+ /**
102
+ * The initial configuration settings required to establish an integration between Security Hub and ServiceNow ITSM
103
+ */
104
+ ServiceNow: ServiceNowProviderConfiguration;
105
+ };
106
+ /**
107
+ * Type definition for `AWS::SecurityHub::ConnectorV2.ServiceNowProviderConfiguration`.
108
+ * The initial configuration settings required to establish an integration between Security Hub and ServiceNow ITSM
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-servicenowproviderconfiguration.html}
110
+ */
111
+ export type ServiceNowProviderConfiguration = {
112
+ /**
113
+ * The instance name of ServiceNow ITSM
114
+ * @minLength `1`
115
+ * @maxLength `128`
116
+ */
117
+ InstanceName: string;
118
+ /**
119
+ * The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the ServiceNow credentials
120
+ * @minLength `20`
121
+ * @maxLength `2048`
122
+ * @pattern `.*\S.*`
123
+ */
124
+ SecretArn: string;
126
125
  };
127
126
  /**
128
127
  * Type definition for `AWS::SecurityHub::ConnectorV2.Tags`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.506",
3
+ "version": "0.1.507",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },