@awboost/cfn-resource-types 0.1.490 → 0.1.492
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/lib/AWS-Connect-DataTable.d.ts +109 -0
- package/lib/AWS-Connect-DataTable.js +12 -0
- package/lib/AWS-Connect-DataTableAttribute.d.ts +93 -0
- package/lib/AWS-Connect-DataTableAttribute.js +12 -0
- package/lib/AWS-Connect-EvaluationForm.d.ts +160 -18
- package/lib/AWS-DevOpsAgent-AgentSpace.d.ts +53 -0
- package/lib/AWS-DevOpsAgent-AgentSpace.js +12 -0
- package/lib/AWS-DevOpsAgent-Association.d.ts +450 -0
- package/lib/AWS-DevOpsAgent-Association.js +12 -0
- package/lib/AWS-Lambda-Function.d.ts +19 -0
- package/lib/AWS-ObservabilityAdmin-S3TableIntegration.d.ts +118 -0
- package/lib/AWS-ObservabilityAdmin-S3TableIntegration.js +13 -0
- package/lib/AWS-ObservabilityAdmin-TelemetryPipelines.d.ts +162 -0
- package/lib/AWS-ObservabilityAdmin-TelemetryPipelines.js +12 -0
- package/lib/AWS-S3-StorageLens.d.ts +61 -0
- package/lib/AWS-SecurityHub-ConnectorV2.d.ts +141 -0
- package/lib/AWS-SecurityHub-ConnectorV2.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,162 @@
|
|
|
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::ObservabilityAdmin::TelemetryPipelines
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetrypipelines.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ObservabilityAdminTelemetryPipelinesProperties = {
|
|
8
|
+
Configuration: TelemetryPipelineConfiguration;
|
|
9
|
+
/**
|
|
10
|
+
* @minLength `3`
|
|
11
|
+
* @maxLength `28`
|
|
12
|
+
* @pattern `[a-z][a-z0-9\-]+`
|
|
13
|
+
*/
|
|
14
|
+
Name?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An array of key-value pairs to apply to this resource
|
|
17
|
+
*/
|
|
18
|
+
Tags?: Tag[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Attribute type definition for `AWS::ObservabilityAdmin::TelemetryPipelines`.
|
|
22
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetrypipelines.html#aws-resource-observabilityadmin-telemetrypipelines-return-values}
|
|
23
|
+
*/
|
|
24
|
+
export type ObservabilityAdminTelemetryPipelinesAttributes = {
|
|
25
|
+
/**
|
|
26
|
+
* @minLength `1`
|
|
27
|
+
* @maxLength `1011`
|
|
28
|
+
* @pattern `^arn:aws([a-z0-9\-]+)?:([a-zA-Z0-9\-]+):([a-z0-9\-]+)?:([0-9]{12})?:(.+)$`
|
|
29
|
+
*/
|
|
30
|
+
Arn: string;
|
|
31
|
+
Pipeline: {
|
|
32
|
+
/**
|
|
33
|
+
* @minLength `1`
|
|
34
|
+
* @maxLength `1011`
|
|
35
|
+
* @pattern `^arn:aws([a-z0-9\-]+)?:([a-zA-Z0-9\-]+):([a-z0-9\-]+)?:([0-9]{12})?:(.+)$`
|
|
36
|
+
*/
|
|
37
|
+
Arn: string;
|
|
38
|
+
Configuration: {
|
|
39
|
+
/**
|
|
40
|
+
* @minLength `1`
|
|
41
|
+
* @maxLength `24000`
|
|
42
|
+
*/
|
|
43
|
+
Body: string;
|
|
44
|
+
};
|
|
45
|
+
CreatedTimeStamp: number;
|
|
46
|
+
LastUpdateTimeStamp: number;
|
|
47
|
+
/**
|
|
48
|
+
* @minLength `3`
|
|
49
|
+
* @maxLength `28`
|
|
50
|
+
* @pattern `[a-z][a-z0-9\-]+`
|
|
51
|
+
*/
|
|
52
|
+
Name: string;
|
|
53
|
+
Status: TelemetryPipelineStatus;
|
|
54
|
+
StatusReason: {
|
|
55
|
+
Description: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* An array of key-value pairs to apply to this resource
|
|
59
|
+
*/
|
|
60
|
+
Tags: {
|
|
61
|
+
/**
|
|
62
|
+
* 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 -.
|
|
63
|
+
* @minLength `1`
|
|
64
|
+
* @maxLength `128`
|
|
65
|
+
*/
|
|
66
|
+
Key: string;
|
|
67
|
+
/**
|
|
68
|
+
* 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 -.
|
|
69
|
+
* @minLength `0`
|
|
70
|
+
* @maxLength `256`
|
|
71
|
+
*/
|
|
72
|
+
Value: string;
|
|
73
|
+
}[];
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @minLength `1`
|
|
77
|
+
* @maxLength `512`
|
|
78
|
+
*/
|
|
79
|
+
PipelineIdentifier: string;
|
|
80
|
+
Status: TelemetryPipelineStatus;
|
|
81
|
+
StatusReason: {
|
|
82
|
+
Description: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Type definition for `AWS::ObservabilityAdmin::TelemetryPipelines.Tag`.
|
|
87
|
+
* A key-value pair to associate with a resource
|
|
88
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetrypipelines-tag.html}
|
|
89
|
+
*/
|
|
90
|
+
export type Tag = {
|
|
91
|
+
/**
|
|
92
|
+
* 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 -.
|
|
93
|
+
* @minLength `1`
|
|
94
|
+
* @maxLength `128`
|
|
95
|
+
*/
|
|
96
|
+
Key: string;
|
|
97
|
+
/**
|
|
98
|
+
* 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 -.
|
|
99
|
+
* @minLength `0`
|
|
100
|
+
* @maxLength `256`
|
|
101
|
+
*/
|
|
102
|
+
Value: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Type definition for `AWS::ObservabilityAdmin::TelemetryPipelines.TelemetryPipeline`.
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetrypipelines-telemetrypipeline.html}
|
|
107
|
+
*/
|
|
108
|
+
export type TelemetryPipeline = {
|
|
109
|
+
/**
|
|
110
|
+
* @minLength `1`
|
|
111
|
+
* @maxLength `1011`
|
|
112
|
+
* @pattern `^arn:aws([a-z0-9\-]+)?:([a-zA-Z0-9\-]+):([a-z0-9\-]+)?:([0-9]{12})?:(.+)$`
|
|
113
|
+
*/
|
|
114
|
+
Arn?: string;
|
|
115
|
+
Configuration?: TelemetryPipelineConfiguration;
|
|
116
|
+
CreatedTimeStamp?: number;
|
|
117
|
+
LastUpdateTimeStamp?: number;
|
|
118
|
+
/**
|
|
119
|
+
* @minLength `3`
|
|
120
|
+
* @maxLength `28`
|
|
121
|
+
* @pattern `[a-z][a-z0-9\-]+`
|
|
122
|
+
*/
|
|
123
|
+
Name?: string;
|
|
124
|
+
Status?: TelemetryPipelineStatus;
|
|
125
|
+
StatusReason?: TelemetryPipelineStatusReason;
|
|
126
|
+
/**
|
|
127
|
+
* An array of key-value pairs to apply to this resource
|
|
128
|
+
*/
|
|
129
|
+
Tags?: Tag[];
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Type definition for `AWS::ObservabilityAdmin::TelemetryPipelines.TelemetryPipelineConfiguration`.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetrypipelines-telemetrypipelineconfiguration.html}
|
|
134
|
+
*/
|
|
135
|
+
export type TelemetryPipelineConfiguration = {
|
|
136
|
+
/**
|
|
137
|
+
* @minLength `1`
|
|
138
|
+
* @maxLength `24000`
|
|
139
|
+
*/
|
|
140
|
+
Body: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Type definition for `AWS::ObservabilityAdmin::TelemetryPipelines.TelemetryPipelineStatus`.
|
|
144
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetrypipelines-telemetrypipelinestatus.html}
|
|
145
|
+
*/
|
|
146
|
+
export type TelemetryPipelineStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED";
|
|
147
|
+
/**
|
|
148
|
+
* Type definition for `AWS::ObservabilityAdmin::TelemetryPipelines.TelemetryPipelineStatusReason`.
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetrypipelines-telemetrypipelinestatusreason.html}
|
|
150
|
+
*/
|
|
151
|
+
export type TelemetryPipelineStatusReason = {
|
|
152
|
+
Description?: string;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Resource Type definition for AWS::ObservabilityAdmin::TelemetryPipelines
|
|
156
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetrypipelines.html}
|
|
157
|
+
*/
|
|
158
|
+
export declare class ObservabilityAdminTelemetryPipelines extends $Resource<"AWS::ObservabilityAdmin::TelemetryPipelines", ObservabilityAdminTelemetryPipelinesProperties, ObservabilityAdminTelemetryPipelinesAttributes> {
|
|
159
|
+
static readonly Type = "AWS::ObservabilityAdmin::TelemetryPipelines";
|
|
160
|
+
constructor(logicalId: string, properties: ObservabilityAdminTelemetryPipelinesProperties, options?: $ResourceOptions);
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=AWS-ObservabilityAdmin-TelemetryPipelines.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::ObservabilityAdmin::TelemetryPipelines
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetrypipelines.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ObservabilityAdminTelemetryPipelines extends $Resource {
|
|
7
|
+
static Type = "AWS::ObservabilityAdmin::TelemetryPipelines";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ObservabilityAdminTelemetryPipelines.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-ObservabilityAdmin-TelemetryPipelines.js.map
|
|
@@ -33,6 +33,10 @@ export type AccountLevel = {
|
|
|
33
33
|
* Enables advanced data protection metrics.
|
|
34
34
|
*/
|
|
35
35
|
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
36
|
+
/**
|
|
37
|
+
* Advanced Performance Metrics.
|
|
38
|
+
*/
|
|
39
|
+
AdvancedPerformanceMetrics?: AdvancedPerformanceMetrics;
|
|
36
40
|
/**
|
|
37
41
|
* Bucket-level metrics configurations.
|
|
38
42
|
*/
|
|
@@ -79,6 +83,17 @@ export type AdvancedDataProtectionMetrics = {
|
|
|
79
83
|
*/
|
|
80
84
|
IsEnabled?: boolean;
|
|
81
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* Type definition for `AWS::S3::StorageLens.AdvancedPerformanceMetrics`.
|
|
88
|
+
* Advanced Performance Metrics.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advancedperformancemetrics.html}
|
|
90
|
+
*/
|
|
91
|
+
export type AdvancedPerformanceMetrics = {
|
|
92
|
+
/**
|
|
93
|
+
* Specifies whether the Advanced Performance Metrics is enabled or disabled.
|
|
94
|
+
*/
|
|
95
|
+
IsEnabled?: boolean;
|
|
96
|
+
};
|
|
82
97
|
/**
|
|
83
98
|
* Type definition for `AWS::S3::StorageLens.AwsOrg`.
|
|
84
99
|
* The AWS Organizations ARN to use in the Amazon S3 Storage Lens configuration.
|
|
@@ -108,6 +123,10 @@ export type BucketLevel = {
|
|
|
108
123
|
* Enables advanced data protection metrics.
|
|
109
124
|
*/
|
|
110
125
|
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
126
|
+
/**
|
|
127
|
+
* Advanced Performance Metrics.
|
|
128
|
+
*/
|
|
129
|
+
AdvancedPerformanceMetrics?: AdvancedPerformanceMetrics;
|
|
111
130
|
/**
|
|
112
131
|
* Enables detailed status codes metrics.
|
|
113
132
|
*/
|
|
@@ -151,6 +170,10 @@ export type DataExport = {
|
|
|
151
170
|
* S3 bucket destination settings for the Amazon S3 Storage Lens metrics export.
|
|
152
171
|
*/
|
|
153
172
|
S3BucketDestination?: S3BucketDestination;
|
|
173
|
+
/**
|
|
174
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
175
|
+
*/
|
|
176
|
+
StorageLensTableDestination?: StorageLensTableDestination;
|
|
154
177
|
};
|
|
155
178
|
/**
|
|
156
179
|
* Type definition for `AWS::S3::StorageLens.DetailedStatusCodesMetrics`.
|
|
@@ -284,6 +307,10 @@ export type StorageLensConfiguration = {
|
|
|
284
307
|
* S3 buckets and Regions to include/exclude in the Amazon S3 Storage Lens configuration.
|
|
285
308
|
*/
|
|
286
309
|
Exclude?: BucketsAndRegions;
|
|
310
|
+
/**
|
|
311
|
+
* Expanded Prefixes Data Export.
|
|
312
|
+
*/
|
|
313
|
+
ExpandedPrefixesDataExport?: StorageLensExpandedPrefixesDataExport;
|
|
287
314
|
/**
|
|
288
315
|
* The ID that identifies the Amazon S3 Storage Lens configuration.
|
|
289
316
|
* @minLength `1`
|
|
@@ -299,6 +326,25 @@ export type StorageLensConfiguration = {
|
|
|
299
326
|
* Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
|
|
300
327
|
*/
|
|
301
328
|
IsEnabled: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* The delimiter to divide S3 key into hierarchy of prefixes.
|
|
331
|
+
*/
|
|
332
|
+
PrefixDelimiter?: string;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Type definition for `AWS::S3::StorageLens.StorageLensExpandedPrefixesDataExport`.
|
|
336
|
+
* Expanded Prefixes Data Export.
|
|
337
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensexpandedprefixesdataexport.html}
|
|
338
|
+
*/
|
|
339
|
+
export type StorageLensExpandedPrefixesDataExport = {
|
|
340
|
+
/**
|
|
341
|
+
* S3 bucket destination settings for the Amazon S3 Storage Lens metrics export.
|
|
342
|
+
*/
|
|
343
|
+
S3BucketDestination?: S3BucketDestination;
|
|
344
|
+
/**
|
|
345
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
346
|
+
*/
|
|
347
|
+
StorageLensTableDestination?: StorageLensTableDestination;
|
|
302
348
|
};
|
|
303
349
|
/**
|
|
304
350
|
* Type definition for `AWS::S3::StorageLens.StorageLensGroupLevel`.
|
|
@@ -320,6 +366,21 @@ export type StorageLensGroupSelectionCriteria = {
|
|
|
320
366
|
Exclude?: string[];
|
|
321
367
|
Include?: string[];
|
|
322
368
|
};
|
|
369
|
+
/**
|
|
370
|
+
* Type definition for `AWS::S3::StorageLens.StorageLensTableDestination`.
|
|
371
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
372
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelenstabledestination.html}
|
|
373
|
+
*/
|
|
374
|
+
export type StorageLensTableDestination = {
|
|
375
|
+
/**
|
|
376
|
+
* Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS).
|
|
377
|
+
*/
|
|
378
|
+
Encryption?: Encryption;
|
|
379
|
+
/**
|
|
380
|
+
* Specifies whether the export to S3 Tables is enabled or disabled.
|
|
381
|
+
*/
|
|
382
|
+
IsEnabled: boolean;
|
|
383
|
+
};
|
|
323
384
|
/**
|
|
324
385
|
* Type definition for `AWS::S3::StorageLens.Tag`.
|
|
325
386
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-tag.html}
|
|
@@ -0,0 +1,141 @@
|
|
|
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 schema for AWS::SecurityHub::ConnectorV2
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-connectorv2.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubConnectorV2Properties = {
|
|
8
|
+
/**
|
|
9
|
+
* A description of the connector
|
|
10
|
+
* @minLength `0`
|
|
11
|
+
* @maxLength `256`
|
|
12
|
+
* @pattern `.*\S.*`
|
|
13
|
+
*/
|
|
14
|
+
Description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The ARN of KMS key used for the connector
|
|
17
|
+
* @minLength `20`
|
|
18
|
+
* @maxLength `2048`
|
|
19
|
+
* @pattern `.*\S.*`
|
|
20
|
+
*/
|
|
21
|
+
KmsKeyArn?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the connector
|
|
24
|
+
* @minLength `1`
|
|
25
|
+
* @maxLength `64`
|
|
26
|
+
* @pattern `.*\S.*`
|
|
27
|
+
*/
|
|
28
|
+
Name: string;
|
|
29
|
+
/**
|
|
30
|
+
* The provider configuration of the connector
|
|
31
|
+
*/
|
|
32
|
+
Provider: Provider;
|
|
33
|
+
/**
|
|
34
|
+
* A key-value pair to associate with a resource.
|
|
35
|
+
*/
|
|
36
|
+
Tags?: Tags;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Attribute type definition for `AWS::SecurityHub::ConnectorV2`.
|
|
40
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-connectorv2.html#aws-resource-securityhub-connectorv2-return-values}
|
|
41
|
+
*/
|
|
42
|
+
export type SecurityHubConnectorV2Attributes = {
|
|
43
|
+
/**
|
|
44
|
+
* The ARN of the connector
|
|
45
|
+
* @pattern `^arn:aws\S*:securityhub:[a-z0-9-]+:[0-9]{12}:connectorv2/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
|
|
46
|
+
*/
|
|
47
|
+
ConnectorArn: string;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the connector
|
|
50
|
+
* @pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
|
|
51
|
+
*/
|
|
52
|
+
ConnectorId: string;
|
|
53
|
+
/**
|
|
54
|
+
* The status of the connector
|
|
55
|
+
*/
|
|
56
|
+
ConnectorStatus: "CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION";
|
|
57
|
+
/**
|
|
58
|
+
* The timestamp formatted in ISO8601
|
|
59
|
+
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
60
|
+
*/
|
|
61
|
+
CreatedAt: string;
|
|
62
|
+
/**
|
|
63
|
+
* The timestamp formatted in ISO8601
|
|
64
|
+
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
65
|
+
*/
|
|
66
|
+
LastCheckedAt: string;
|
|
67
|
+
/**
|
|
68
|
+
* The timestamp formatted in ISO8601
|
|
69
|
+
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
70
|
+
*/
|
|
71
|
+
LastUpdatedAt: string;
|
|
72
|
+
/**
|
|
73
|
+
* The message of the connector status change
|
|
74
|
+
*/
|
|
75
|
+
Message: string;
|
|
76
|
+
};
|
|
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}
|
|
81
|
+
*/
|
|
82
|
+
export type AuthStatus = "ACTIVE" | "FAILED";
|
|
83
|
+
/**
|
|
84
|
+
* Type definition for `AWS::SecurityHub::ConnectorV2.Provider`.
|
|
85
|
+
* The provider configuration of the connector
|
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-provider.html}
|
|
87
|
+
*/
|
|
88
|
+
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
|
+
};
|
|
107
|
+
} | {
|
|
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
|
+
};
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Type definition for `AWS::SecurityHub::ConnectorV2.Tags`.
|
|
129
|
+
* A key-value pair to associate with a resource.
|
|
130
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-connectorv2-tags.html}
|
|
131
|
+
*/
|
|
132
|
+
export type Tags = Record<string, string>;
|
|
133
|
+
/**
|
|
134
|
+
* Resource schema for AWS::SecurityHub::ConnectorV2
|
|
135
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-connectorv2.html}
|
|
136
|
+
*/
|
|
137
|
+
export declare class SecurityHubConnectorV2 extends $Resource<"AWS::SecurityHub::ConnectorV2", SecurityHubConnectorV2Properties, SecurityHubConnectorV2Attributes> {
|
|
138
|
+
static readonly Type = "AWS::SecurityHub::ConnectorV2";
|
|
139
|
+
constructor(logicalId: string, properties: SecurityHubConnectorV2Properties, options?: $ResourceOptions);
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=AWS-SecurityHub-ConnectorV2.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource schema for AWS::SecurityHub::ConnectorV2
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-connectorv2.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubConnectorV2 extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::ConnectorV2";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubConnectorV2.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-ConnectorV2.js.map
|