@aws-cdk/mixins-preview 2.243.0-alpha.0 → 2.245.0-alpha.0
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/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +291 -1
- package/README.md +76 -14
- package/lib/services/aws-apigateway/.jsiirc.json +16 -0
- package/lib/services/aws-apigateway/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-apigateway/index.d.ts +1 -0
- package/lib/services/aws-apigateway/index.js +4 -0
- package/lib/services/aws-apigateway/logs-delivery-mixins.generated.d.ts +248 -0
- package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +349 -0
- package/lib/services/aws-apigateway/mixins.d.ts +1 -0
- package/lib/services/aws-apigateway/mixins.js +17 -0
- package/lib/services/aws-appmesh/events.generated.js +1 -1
- package/lib/services/aws-aps/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-athena/events.generated.js +2 -2
- package/lib/services/aws-autoscaling/events.generated.js +8 -8
- package/lib/services/aws-b2bi/events.generated.js +4 -4
- package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-batch/events.generated.js +2 -2
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +16 -16
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +28 -28
- package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-cloudformation/events.generated.js +1 -1
- package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-cloudwatch/events.generated.js +3 -3
- package/lib/services/aws-codebuild/events.generated.js +5 -5
- package/lib/services/aws-codecommit/events.generated.js +7 -7
- package/lib/services/aws-codedeploy/events.generated.js +2 -2
- package/lib/services/aws-codeguruprofiler/events.generated.js +1 -1
- package/lib/services/aws-codepipeline/events.generated.js +3 -3
- package/lib/services/aws-cognito/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-connect/events.generated.js +4 -4
- package/lib/services/aws-connect/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-datasync/events.generated.js +4 -4
- package/lib/services/aws-deadline/events.generated.js +1 -1
- package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-devopsguru/events.generated.js +5 -5
- package/lib/services/aws-dlm/events.generated.js +2 -2
- package/lib/services/aws-ec2/events.generated.js +8 -8
- package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +14 -14
- package/lib/services/aws-ecr/events.generated.d.ts +32 -0
- package/lib/services/aws-ecr/events.generated.js +13 -9
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +16 -16
- package/lib/services/aws-elasticache/events.generated.js +10 -10
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +9 -9
- package/lib/services/aws-emr/events.generated.js +7 -7
- package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-events/events.generated.js +1 -1
- package/lib/services/aws-events/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-fis/events.generated.js +1 -1
- package/lib/services/aws-gamelift/events.generated.js +2 -2
- package/lib/services/aws-glue/events.generated.js +7 -7
- package/lib/services/aws-guardduty/events.generated.js +7 -7
- package/lib/services/aws-healthimaging/events.generated.js +20 -20
- package/lib/services/aws-healthlake/events.generated.js +14 -14
- package/lib/services/aws-imagebuilder/events.generated.js +3 -3
- package/lib/services/aws-iotanalytics/events.generated.js +3 -3
- package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-kms/events.generated.js +5 -5
- package/lib/services/aws-logs/events.generated.js +2 -2
- package/lib/services/aws-logs/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-logs/logs-delivery.js +5 -5
- package/lib/services/aws-logs/logs-destination.d.ts +1 -15
- package/lib/services/aws-logs/logs-destination.js +57 -129
- package/lib/services/aws-logs/reflections.d.ts +0 -18
- package/lib/services/aws-logs/reflections.js +0 -32
- package/lib/services/aws-m2/logs-delivery-mixins.generated.js +9 -9
- package/lib/services/aws-managedblockchain/events.generated.js +2 -2
- package/lib/services/aws-medialive/events.generated.js +6 -6
- package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-msk/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-networkfirewall/.events.jsiirc.json +16 -0
- package/lib/services/aws-networkfirewall/events.d.ts +1 -0
- package/lib/services/aws-networkfirewall/events.generated.d.ts +310 -0
- package/lib/services/aws-networkfirewall/events.generated.js +234 -0
- package/lib/services/aws-networkfirewall/events.js +17 -0
- package/lib/services/aws-networkfirewall/index.d.ts +1 -0
- package/lib/services/aws-networkfirewall/index.js +2 -1
- package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-networkmanager/events.generated.js +3 -3
- package/lib/services/aws-omics/events.generated.js +18 -18
- package/lib/services/aws-opsworks/events.generated.js +6 -6
- package/lib/services/aws-organizations/events.generated.js +2 -2
- package/lib/services/aws-osis/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-pipes/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-qldb/events.generated.js +1 -1
- package/lib/services/aws-rds/events.generated.js +7 -7
- package/lib/services/aws-route53globalresolver/.jsiirc.json +16 -0
- package/lib/services/aws-route53globalresolver/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-route53globalresolver/index.d.ts +1 -0
- package/lib/services/aws-route53globalresolver/index.js +4 -0
- package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.d.ts +164 -0
- package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.js +228 -0
- package/lib/services/aws-route53globalresolver/mixins.d.ts +1 -0
- package/lib/services/aws-route53globalresolver/mixins.js +17 -0
- package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-route53recoveryreadiness/events.generated.js +6 -6
- package/lib/services/aws-route53resolver/events.generated.js +3 -3
- package/lib/services/aws-rum/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-s3/events.generated.js +12 -12
- package/lib/services/aws-s3/logs-delivery-mixins.generated.d.ts +1 -1
- package/lib/services/aws-s3/logs-delivery-mixins.generated.js +8 -8
- package/lib/services/aws-sagemaker/events.generated.js +16 -16
- package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-securityhub/events.generated.js +3 -3
- package/lib/services/aws-ses/events.generated.js +2 -2
- package/lib/services/aws-ses/logs-delivery-mixins.generated.js +8 -8
- package/lib/services/aws-shield/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/events.generated.js +1 -1
- package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-synthetics/events.generated.js +3 -3
- package/lib/services/aws-transfer/events.generated.js +56 -56
- package/lib/services/aws-transfer/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-voiceid/events.generated.js +9 -9
- package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-wafv2/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.d.ts +8 -1
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +10 -3
- package/lib/services/aws-workspaces/events.generated.js +2 -2
- package/lib/services/aws-xray/events.generated.js +1 -1
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.js +4 -2
- package/package.json +15 -10
- package/scripts/spec2logs/generate.js +1 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CfnRestApiAccessLogsRecordFields = exports.CfnRestApiAccessLogsOutputFormat = exports.CfnRestApiExecutionLogsRecordFields = exports.CfnRestApiExecutionLogsOutputFormat = exports.CfnRestApiLogsMixin = exports.CfnRestApiAccessLogs = exports.CfnRestApiExecutionLogs = void 0;
|
|
4
|
+
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
5
|
+
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
6
|
+
/* eslint-disable @stylistic/max-len, eol-last */
|
|
7
|
+
const cdk = require("aws-cdk-lib/core");
|
|
8
|
+
const logsDelivery = require("../aws-logs/logs-delivery");
|
|
9
|
+
const service = require("aws-cdk-lib/aws-apigateway");
|
|
10
|
+
/**
|
|
11
|
+
* Builder for CfnRestApiLogsMixin to generate EXECUTION_LOGS for CfnRestApi
|
|
12
|
+
*
|
|
13
|
+
* @cloudformationResource AWS::ApiGateway::RestApi
|
|
14
|
+
* @logType EXECUTION_LOGS
|
|
15
|
+
* @stability external
|
|
16
|
+
*/
|
|
17
|
+
class CfnRestApiExecutionLogs {
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiExecutionLogs", version: "2.245.0-alpha.0" };
|
|
19
|
+
/**
|
|
20
|
+
* Send logs to an S3 Bucket
|
|
21
|
+
*
|
|
22
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
23
|
+
*/
|
|
24
|
+
toS3(bucket, props) {
|
|
25
|
+
try {
|
|
26
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiExecutionLogsS3Props(props);
|
|
27
|
+
}
|
|
28
|
+
catch (error) {
|
|
29
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
30
|
+
Error.captureStackTrace(error, this.toS3);
|
|
31
|
+
}
|
|
32
|
+
throw error;
|
|
33
|
+
}
|
|
34
|
+
{
|
|
35
|
+
return new CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
36
|
+
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
37
|
+
kmsKey: props?.encryptionKey,
|
|
38
|
+
outputFormat: props?.outputFormat,
|
|
39
|
+
providedFields: props?.recordFields,
|
|
40
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Send logs to a CloudWatch Log Group
|
|
46
|
+
*
|
|
47
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
48
|
+
*/
|
|
49
|
+
toLogGroup(logGroup, props) {
|
|
50
|
+
try {
|
|
51
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiExecutionLogsLogGroupProps(props);
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
55
|
+
Error.captureStackTrace(error, this.toLogGroup);
|
|
56
|
+
}
|
|
57
|
+
throw error;
|
|
58
|
+
}
|
|
59
|
+
{
|
|
60
|
+
return new CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
61
|
+
outputFormat: props?.outputFormat,
|
|
62
|
+
providedFields: props?.recordFields,
|
|
63
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Send logs to a Firehose Delivery Stream
|
|
69
|
+
*
|
|
70
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
71
|
+
*/
|
|
72
|
+
toFirehose(deliveryStream, props) {
|
|
73
|
+
try {
|
|
74
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiExecutionLogsFirehoseProps(props);
|
|
75
|
+
}
|
|
76
|
+
catch (error) {
|
|
77
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
78
|
+
Error.captureStackTrace(error, this.toFirehose);
|
|
79
|
+
}
|
|
80
|
+
throw error;
|
|
81
|
+
}
|
|
82
|
+
{
|
|
83
|
+
return new CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
84
|
+
outputFormat: props?.outputFormat,
|
|
85
|
+
providedFields: props?.recordFields,
|
|
86
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Delivers logs to a pre-created delivery destination
|
|
92
|
+
*
|
|
93
|
+
* Supported destinations are S3, CWL, FH
|
|
94
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
95
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
96
|
+
*
|
|
97
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
98
|
+
*/
|
|
99
|
+
toDestination(destination, props) {
|
|
100
|
+
try {
|
|
101
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiExecutionLogsDestProps(props);
|
|
102
|
+
}
|
|
103
|
+
catch (error) {
|
|
104
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
105
|
+
Error.captureStackTrace(error, this.toDestination);
|
|
106
|
+
}
|
|
107
|
+
throw error;
|
|
108
|
+
}
|
|
109
|
+
{
|
|
110
|
+
return new CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
111
|
+
providedFields: props?.recordFields,
|
|
112
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
113
|
+
}));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.CfnRestApiExecutionLogs = CfnRestApiExecutionLogs;
|
|
118
|
+
/**
|
|
119
|
+
* Builder for CfnRestApiLogsMixin to generate ACCESS_LOGS for CfnRestApi
|
|
120
|
+
*
|
|
121
|
+
* @cloudformationResource AWS::ApiGateway::RestApi
|
|
122
|
+
* @logType ACCESS_LOGS
|
|
123
|
+
* @stability external
|
|
124
|
+
*/
|
|
125
|
+
class CfnRestApiAccessLogs {
|
|
126
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiAccessLogs", version: "2.245.0-alpha.0" };
|
|
127
|
+
/**
|
|
128
|
+
* Send logs to an S3 Bucket
|
|
129
|
+
*
|
|
130
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
131
|
+
*/
|
|
132
|
+
toS3(bucket, props) {
|
|
133
|
+
try {
|
|
134
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsS3Props(props);
|
|
135
|
+
}
|
|
136
|
+
catch (error) {
|
|
137
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
138
|
+
Error.captureStackTrace(error, this.toS3);
|
|
139
|
+
}
|
|
140
|
+
throw error;
|
|
141
|
+
}
|
|
142
|
+
{
|
|
143
|
+
return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
144
|
+
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
145
|
+
kmsKey: props?.encryptionKey,
|
|
146
|
+
outputFormat: props?.outputFormat,
|
|
147
|
+
providedFields: props?.recordFields,
|
|
148
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Send logs to a CloudWatch Log Group
|
|
154
|
+
*
|
|
155
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
156
|
+
*/
|
|
157
|
+
toLogGroup(logGroup, props) {
|
|
158
|
+
try {
|
|
159
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsLogGroupProps(props);
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
163
|
+
Error.captureStackTrace(error, this.toLogGroup);
|
|
164
|
+
}
|
|
165
|
+
throw error;
|
|
166
|
+
}
|
|
167
|
+
{
|
|
168
|
+
return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
169
|
+
outputFormat: props?.outputFormat,
|
|
170
|
+
providedFields: props?.recordFields,
|
|
171
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
172
|
+
}));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Send logs to a Firehose Delivery Stream
|
|
177
|
+
*
|
|
178
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
179
|
+
*/
|
|
180
|
+
toFirehose(deliveryStream, props) {
|
|
181
|
+
try {
|
|
182
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsFirehoseProps(props);
|
|
183
|
+
}
|
|
184
|
+
catch (error) {
|
|
185
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
186
|
+
Error.captureStackTrace(error, this.toFirehose);
|
|
187
|
+
}
|
|
188
|
+
throw error;
|
|
189
|
+
}
|
|
190
|
+
{
|
|
191
|
+
return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
192
|
+
outputFormat: props?.outputFormat,
|
|
193
|
+
providedFields: props?.recordFields,
|
|
194
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
195
|
+
}));
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Delivers logs to a pre-created delivery destination
|
|
200
|
+
*
|
|
201
|
+
* Supported destinations are S3, CWL, FH
|
|
202
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
203
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
204
|
+
*
|
|
205
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
206
|
+
*/
|
|
207
|
+
toDestination(destination, props) {
|
|
208
|
+
try {
|
|
209
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsDestProps(props);
|
|
210
|
+
}
|
|
211
|
+
catch (error) {
|
|
212
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
213
|
+
Error.captureStackTrace(error, this.toDestination);
|
|
214
|
+
}
|
|
215
|
+
throw error;
|
|
216
|
+
}
|
|
217
|
+
{
|
|
218
|
+
return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
219
|
+
providedFields: props?.recordFields,
|
|
220
|
+
mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
|
|
221
|
+
}));
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.CfnRestApiAccessLogs = CfnRestApiAccessLogs;
|
|
226
|
+
/**
|
|
227
|
+
* The `AWS::ApiGateway::RestApi` resource creates a REST API.
|
|
228
|
+
*
|
|
229
|
+
* For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference* .
|
|
230
|
+
*
|
|
231
|
+
* > On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/) , becoming the foundation of the OpenAPI Specification.
|
|
232
|
+
*
|
|
233
|
+
* @cloudformationResource AWS::ApiGateway::RestApi
|
|
234
|
+
* @mixin true
|
|
235
|
+
* @stability external
|
|
236
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
|
|
237
|
+
*/
|
|
238
|
+
class CfnRestApiLogsMixin extends cdk.Mixin {
|
|
239
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiLogsMixin", version: "2.245.0-alpha.0" };
|
|
240
|
+
static EXECUTION_LOGS = new CfnRestApiExecutionLogs();
|
|
241
|
+
static ACCESS_LOGS = new CfnRestApiAccessLogs();
|
|
242
|
+
logType;
|
|
243
|
+
logDelivery;
|
|
244
|
+
/**
|
|
245
|
+
* Create a mixin to enable vended logs for `AWS::ApiGateway::RestApi`.
|
|
246
|
+
*
|
|
247
|
+
* @param logType Type of logs that are getting vended
|
|
248
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
249
|
+
*/
|
|
250
|
+
constructor(logType, logDelivery) {
|
|
251
|
+
super();
|
|
252
|
+
try {
|
|
253
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
254
|
+
}
|
|
255
|
+
catch (error) {
|
|
256
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
257
|
+
Error.captureStackTrace(error, CfnRestApiLogsMixin);
|
|
258
|
+
}
|
|
259
|
+
throw error;
|
|
260
|
+
}
|
|
261
|
+
this.logType = logType;
|
|
262
|
+
this.logDelivery = logDelivery;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
266
|
+
*/
|
|
267
|
+
supports(construct) {
|
|
268
|
+
return (cdk.CfnResource.isCfnResource(construct) && service.CfnRestApi.isCfnRestApi(construct));
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Apply vended logs configuration to the construct
|
|
272
|
+
*/
|
|
273
|
+
applyTo(resource) {
|
|
274
|
+
if (!this.supports(resource)) {
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
const sourceArn = service.CfnRestApi.arnForRestApi(resource);
|
|
278
|
+
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
exports.CfnRestApiLogsMixin = CfnRestApiLogsMixin;
|
|
282
|
+
/**
|
|
283
|
+
* Output Format options for each destination of CfnRestApiExecutionLogs.
|
|
284
|
+
*/
|
|
285
|
+
class CfnRestApiExecutionLogsOutputFormat {
|
|
286
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiExecutionLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
287
|
+
}
|
|
288
|
+
exports.CfnRestApiExecutionLogsOutputFormat = CfnRestApiExecutionLogsOutputFormat;
|
|
289
|
+
(function (CfnRestApiExecutionLogsOutputFormat) {
|
|
290
|
+
let S3;
|
|
291
|
+
(function (S3) {
|
|
292
|
+
S3["JSON"] = "json";
|
|
293
|
+
S3["PLAIN"] = "plain";
|
|
294
|
+
S3["W3C"] = "w3c";
|
|
295
|
+
S3["PARQUET"] = "parquet";
|
|
296
|
+
})(S3 = CfnRestApiExecutionLogsOutputFormat.S3 || (CfnRestApiExecutionLogsOutputFormat.S3 = {}));
|
|
297
|
+
let LogGroup;
|
|
298
|
+
(function (LogGroup) {
|
|
299
|
+
LogGroup["PLAIN"] = "plain";
|
|
300
|
+
LogGroup["JSON"] = "json";
|
|
301
|
+
})(LogGroup = CfnRestApiExecutionLogsOutputFormat.LogGroup || (CfnRestApiExecutionLogsOutputFormat.LogGroup = {}));
|
|
302
|
+
let Firehose;
|
|
303
|
+
(function (Firehose) {
|
|
304
|
+
Firehose["JSON"] = "json";
|
|
305
|
+
Firehose["PLAIN"] = "plain";
|
|
306
|
+
Firehose["RAW"] = "raw";
|
|
307
|
+
})(Firehose = CfnRestApiExecutionLogsOutputFormat.Firehose || (CfnRestApiExecutionLogsOutputFormat.Firehose = {}));
|
|
308
|
+
})(CfnRestApiExecutionLogsOutputFormat || (exports.CfnRestApiExecutionLogsOutputFormat = CfnRestApiExecutionLogsOutputFormat = {}));
|
|
309
|
+
var CfnRestApiExecutionLogsRecordFields;
|
|
310
|
+
(function (CfnRestApiExecutionLogsRecordFields) {
|
|
311
|
+
CfnRestApiExecutionLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
|
|
312
|
+
CfnRestApiExecutionLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
313
|
+
CfnRestApiExecutionLogsRecordFields["STAGE"] = "stage";
|
|
314
|
+
CfnRestApiExecutionLogsRecordFields["PAYLOAD"] = "payload";
|
|
315
|
+
})(CfnRestApiExecutionLogsRecordFields || (exports.CfnRestApiExecutionLogsRecordFields = CfnRestApiExecutionLogsRecordFields = {}));
|
|
316
|
+
/**
|
|
317
|
+
* Output Format options for each destination of CfnRestApiAccessLogs.
|
|
318
|
+
*/
|
|
319
|
+
class CfnRestApiAccessLogsOutputFormat {
|
|
320
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiAccessLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
321
|
+
}
|
|
322
|
+
exports.CfnRestApiAccessLogsOutputFormat = CfnRestApiAccessLogsOutputFormat;
|
|
323
|
+
(function (CfnRestApiAccessLogsOutputFormat) {
|
|
324
|
+
let S3;
|
|
325
|
+
(function (S3) {
|
|
326
|
+
S3["JSON"] = "json";
|
|
327
|
+
S3["PLAIN"] = "plain";
|
|
328
|
+
S3["W3C"] = "w3c";
|
|
329
|
+
S3["PARQUET"] = "parquet";
|
|
330
|
+
})(S3 = CfnRestApiAccessLogsOutputFormat.S3 || (CfnRestApiAccessLogsOutputFormat.S3 = {}));
|
|
331
|
+
let LogGroup;
|
|
332
|
+
(function (LogGroup) {
|
|
333
|
+
LogGroup["PLAIN"] = "plain";
|
|
334
|
+
LogGroup["JSON"] = "json";
|
|
335
|
+
})(LogGroup = CfnRestApiAccessLogsOutputFormat.LogGroup || (CfnRestApiAccessLogsOutputFormat.LogGroup = {}));
|
|
336
|
+
let Firehose;
|
|
337
|
+
(function (Firehose) {
|
|
338
|
+
Firehose["JSON"] = "json";
|
|
339
|
+
Firehose["PLAIN"] = "plain";
|
|
340
|
+
Firehose["RAW"] = "raw";
|
|
341
|
+
})(Firehose = CfnRestApiAccessLogsOutputFormat.Firehose || (CfnRestApiAccessLogsOutputFormat.Firehose = {}));
|
|
342
|
+
})(CfnRestApiAccessLogsOutputFormat || (exports.CfnRestApiAccessLogsOutputFormat = CfnRestApiAccessLogsOutputFormat = {}));
|
|
343
|
+
var CfnRestApiAccessLogsRecordFields;
|
|
344
|
+
(function (CfnRestApiAccessLogsRecordFields) {
|
|
345
|
+
CfnRestApiAccessLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
|
|
346
|
+
CfnRestApiAccessLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
347
|
+
CfnRestApiAccessLogsRecordFields["STAGE"] = "stage";
|
|
348
|
+
CfnRestApiAccessLogsRecordFields["PAYLOAD"] = "payload";
|
|
349
|
+
})(CfnRestApiAccessLogsRecordFields || (exports.CfnRestApiAccessLogsRecordFields = CfnRestApiAccessLogsRecordFields = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './logs-delivery-mixins.generated';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./logs-delivery-mixins.generated"), exports);
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.appmesh@AWSServiceEventViaCloudTrail
|
|
8
8
|
*/
|
|
9
9
|
class AWSServiceEventViaCloudTrail {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_appmesh.events.AWSServiceEventViaCloudTrail", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_appmesh.events.AWSServiceEventViaCloudTrail", version: "2.245.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for AWS Service Event via CloudTrail
|
|
13
13
|
*/
|
|
@@ -15,7 +15,7 @@ const service = require("aws-cdk-lib/aws-aps");
|
|
|
15
15
|
* @stability external
|
|
16
16
|
*/
|
|
17
17
|
class CfnWorkspaceManagedPrometheusLogs {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogs", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogs", version: "2.245.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Send logs to an S3 Bucket
|
|
21
21
|
*
|
|
@@ -113,7 +113,7 @@ exports.CfnWorkspaceManagedPrometheusLogs = CfnWorkspaceManagedPrometheusLogs;
|
|
|
113
113
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
|
|
114
114
|
*/
|
|
115
115
|
class CfnWorkspaceLogsMixin extends cdk.Mixin {
|
|
116
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceLogsMixin", version: "2.
|
|
116
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceLogsMixin", version: "2.245.0-alpha.0" };
|
|
117
117
|
static MANAGED_PROMETHEUS_LOGS = new CfnWorkspaceManagedPrometheusLogs();
|
|
118
118
|
logType;
|
|
119
119
|
logDelivery;
|
|
@@ -159,7 +159,7 @@ exports.CfnWorkspaceLogsMixin = CfnWorkspaceLogsMixin;
|
|
|
159
159
|
* Output Format options for each destination of CfnWorkspaceManagedPrometheusLogs.
|
|
160
160
|
*/
|
|
161
161
|
class CfnWorkspaceManagedPrometheusLogsOutputFormat {
|
|
162
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogsOutputFormat", version: "2.
|
|
162
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
163
163
|
}
|
|
164
164
|
exports.CfnWorkspaceManagedPrometheusLogsOutputFormat = CfnWorkspaceManagedPrometheusLogsOutputFormat;
|
|
165
165
|
(function (CfnWorkspaceManagedPrometheusLogsOutputFormat) {
|
|
@@ -190,7 +190,7 @@ exports.CfnWorkspaceManagedPrometheusLogsOutputFormat = CfnWorkspaceManagedProme
|
|
|
190
190
|
* @stability external
|
|
191
191
|
*/
|
|
192
192
|
class CfnScraperApplicationLogs {
|
|
193
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogs", version: "2.
|
|
193
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogs", version: "2.245.0-alpha.0" };
|
|
194
194
|
/**
|
|
195
195
|
* Send logs to an S3 Bucket
|
|
196
196
|
*
|
|
@@ -296,7 +296,7 @@ exports.CfnScraperApplicationLogs = CfnScraperApplicationLogs;
|
|
|
296
296
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
297
297
|
*/
|
|
298
298
|
class CfnScraperLogsMixin extends cdk.Mixin {
|
|
299
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperLogsMixin", version: "2.
|
|
299
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperLogsMixin", version: "2.245.0-alpha.0" };
|
|
300
300
|
static APPLICATION_LOGS = new CfnScraperApplicationLogs();
|
|
301
301
|
logType;
|
|
302
302
|
logDelivery;
|
|
@@ -342,7 +342,7 @@ exports.CfnScraperLogsMixin = CfnScraperLogsMixin;
|
|
|
342
342
|
* Output Format options for each destination of CfnScraperApplicationLogs.
|
|
343
343
|
*/
|
|
344
344
|
class CfnScraperApplicationLogsOutputFormat {
|
|
345
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogsOutputFormat", version: "2.
|
|
345
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
346
346
|
}
|
|
347
347
|
exports.CfnScraperApplicationLogsOutputFormat = CfnScraperApplicationLogsOutputFormat;
|
|
348
348
|
(function (CfnScraperApplicationLogsOutputFormat) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.athena@AthenaQueryStateChange
|
|
8
8
|
*/
|
|
9
9
|
class AthenaQueryStateChange {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_athena.events.AthenaQueryStateChange", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_athena.events.AthenaQueryStateChange", version: "2.245.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for Athena Query State Change
|
|
13
13
|
*/
|
|
@@ -56,7 +56,7 @@ function convertAthenaQueryStateChangeDetailToEventPattern(obj, iRef) {
|
|
|
56
56
|
* EventBridge event patterns for WorkGroup
|
|
57
57
|
*/
|
|
58
58
|
class WorkGroupEvents {
|
|
59
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_athena.events.WorkGroupEvents", version: "2.
|
|
59
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_athena.events.WorkGroupEvents", version: "2.245.0-alpha.0" };
|
|
60
60
|
/**
|
|
61
61
|
* Create WorkGroupEvents from a WorkGroup reference
|
|
62
62
|
*/
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.autoscaling@AWSAPICallViaCloudTrail
|
|
8
8
|
*/
|
|
9
9
|
class AWSAPICallViaCloudTrail {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.AWSAPICallViaCloudTrail", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.AWSAPICallViaCloudTrail", version: "2.245.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for AWS API Call via CloudTrail
|
|
13
13
|
*/
|
|
@@ -329,7 +329,7 @@ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj) {
|
|
|
329
329
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceLaunchLifecycleAction
|
|
330
330
|
*/
|
|
331
331
|
class EC2InstanceLaunchLifecycleAction {
|
|
332
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchLifecycleAction", version: "2.
|
|
332
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchLifecycleAction", version: "2.245.0-alpha.0" };
|
|
333
333
|
/**
|
|
334
334
|
* EventBridge event pattern for EC2 Instance-launch Lifecycle Action
|
|
335
335
|
*/
|
|
@@ -379,7 +379,7 @@ function convertEC2InstanceLaunchLifecycleActionDetailToEventPattern(obj, iRef)
|
|
|
379
379
|
* EventBridge event patterns for AutoScalingGroup
|
|
380
380
|
*/
|
|
381
381
|
class AutoScalingGroupEvents {
|
|
382
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.AutoScalingGroupEvents", version: "2.
|
|
382
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.AutoScalingGroupEvents", version: "2.245.0-alpha.0" };
|
|
383
383
|
/**
|
|
384
384
|
* Create AutoScalingGroupEvents from a AutoScalingGroup reference
|
|
385
385
|
*/
|
|
@@ -531,7 +531,7 @@ exports.AutoScalingGroupEvents = AutoScalingGroupEvents;
|
|
|
531
531
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceLaunchSuccessful
|
|
532
532
|
*/
|
|
533
533
|
class EC2InstanceLaunchSuccessful {
|
|
534
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchSuccessful", version: "2.
|
|
534
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchSuccessful", version: "2.245.0-alpha.0" };
|
|
535
535
|
/**
|
|
536
536
|
* EventBridge event pattern for EC2 Instance Launch Successful
|
|
537
537
|
*/
|
|
@@ -601,7 +601,7 @@ function convertEC2InstanceLaunchSuccessfulDetailToEventPattern(obj, iRef) {
|
|
|
601
601
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceLaunchUnsuccessful
|
|
602
602
|
*/
|
|
603
603
|
class EC2InstanceLaunchUnsuccessful {
|
|
604
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchUnsuccessful", version: "2.
|
|
604
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceLaunchUnsuccessful", version: "2.245.0-alpha.0" };
|
|
605
605
|
/**
|
|
606
606
|
* EventBridge event pattern for EC2 Instance Launch Unsuccessful
|
|
607
607
|
*/
|
|
@@ -671,7 +671,7 @@ function convertEC2InstanceLaunchUnsuccessfulDetailToEventPattern(obj, iRef) {
|
|
|
671
671
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceTerminateLifecycleAction
|
|
672
672
|
*/
|
|
673
673
|
class EC2InstanceTerminateLifecycleAction {
|
|
674
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateLifecycleAction", version: "2.
|
|
674
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateLifecycleAction", version: "2.245.0-alpha.0" };
|
|
675
675
|
/**
|
|
676
676
|
* EventBridge event pattern for EC2 Instance-terminate Lifecycle Action
|
|
677
677
|
*/
|
|
@@ -721,7 +721,7 @@ function convertEC2InstanceTerminateLifecycleActionDetailToEventPattern(obj, iRe
|
|
|
721
721
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceTerminateSuccessful
|
|
722
722
|
*/
|
|
723
723
|
class EC2InstanceTerminateSuccessful {
|
|
724
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateSuccessful", version: "2.
|
|
724
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateSuccessful", version: "2.245.0-alpha.0" };
|
|
725
725
|
/**
|
|
726
726
|
* EventBridge event pattern for EC2 Instance Terminate Successful
|
|
727
727
|
*/
|
|
@@ -791,7 +791,7 @@ function convertEC2InstanceTerminateSuccessfulDetailToEventPattern(obj, iRef) {
|
|
|
791
791
|
* EventBridge event pattern for aws.autoscaling@EC2InstanceTerminateUnsuccessful
|
|
792
792
|
*/
|
|
793
793
|
class EC2InstanceTerminateUnsuccessful {
|
|
794
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateUnsuccessful", version: "2.
|
|
794
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_autoscaling.events.EC2InstanceTerminateUnsuccessful", version: "2.245.0-alpha.0" };
|
|
795
795
|
/**
|
|
796
796
|
* EventBridge event pattern for EC2 Instance Terminate Unsuccessful
|
|
797
797
|
*/
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.b2bi@AcknowledgementCompleted
|
|
8
8
|
*/
|
|
9
9
|
class AcknowledgementCompleted {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.AcknowledgementCompleted", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.AcknowledgementCompleted", version: "2.245.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for Acknowledgement Completed
|
|
13
13
|
*/
|
|
@@ -92,7 +92,7 @@ function convertAcknowledgementCompletedDetailToEventPattern(obj) {
|
|
|
92
92
|
* EventBridge event pattern for aws.b2bi@AcknowledgementFailed
|
|
93
93
|
*/
|
|
94
94
|
class AcknowledgementFailed {
|
|
95
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.AcknowledgementFailed", version: "2.
|
|
95
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.AcknowledgementFailed", version: "2.245.0-alpha.0" };
|
|
96
96
|
/**
|
|
97
97
|
* EventBridge event pattern for Acknowledgement Failed
|
|
98
98
|
*/
|
|
@@ -161,7 +161,7 @@ function convertAcknowledgementFailedDetailToEventPattern(obj) {
|
|
|
161
161
|
* EventBridge event pattern for aws.b2bi@TransformationCompleted
|
|
162
162
|
*/
|
|
163
163
|
class TransformationCompleted {
|
|
164
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.TransformationCompleted", version: "2.
|
|
164
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.TransformationCompleted", version: "2.245.0-alpha.0" };
|
|
165
165
|
/**
|
|
166
166
|
* EventBridge event pattern for Transformation Completed
|
|
167
167
|
*/
|
|
@@ -244,7 +244,7 @@ function convertTransformationCompletedDetailToEventPattern(obj) {
|
|
|
244
244
|
* EventBridge event pattern for aws.b2bi@TransformationFailed
|
|
245
245
|
*/
|
|
246
246
|
class TransformationFailed {
|
|
247
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.TransformationFailed", version: "2.
|
|
247
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.events.TransformationFailed", version: "2.245.0-alpha.0" };
|
|
248
248
|
/**
|
|
249
249
|
* EventBridge event pattern for Transformation Failed
|
|
250
250
|
*/
|
|
@@ -15,7 +15,7 @@ const service = require("aws-cdk-lib/aws-b2bi");
|
|
|
15
15
|
* @stability external
|
|
16
16
|
*/
|
|
17
17
|
class CfnTransformerB2biExecutionLogs {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerB2biExecutionLogs", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerB2biExecutionLogs", version: "2.245.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Send logs to an S3 Bucket
|
|
21
21
|
*
|
|
@@ -122,7 +122,7 @@ exports.CfnTransformerB2biExecutionLogs = CfnTransformerB2biExecutionLogs;
|
|
|
122
122
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
|
|
123
123
|
*/
|
|
124
124
|
class CfnTransformerLogsMixin extends cdk.Mixin {
|
|
125
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerLogsMixin", version: "2.
|
|
125
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerLogsMixin", version: "2.245.0-alpha.0" };
|
|
126
126
|
static B2BI_EXECUTION_LOGS = new CfnTransformerB2biExecutionLogs();
|
|
127
127
|
logType;
|
|
128
128
|
logDelivery;
|
|
@@ -168,7 +168,7 @@ exports.CfnTransformerLogsMixin = CfnTransformerLogsMixin;
|
|
|
168
168
|
* Output Format options for each destination of CfnTransformerB2biExecutionLogs.
|
|
169
169
|
*/
|
|
170
170
|
class CfnTransformerB2biExecutionLogsOutputFormat {
|
|
171
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerB2biExecutionLogsOutputFormat", version: "2.
|
|
171
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_b2bi.mixins.CfnTransformerB2biExecutionLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
172
172
|
}
|
|
173
173
|
exports.CfnTransformerB2biExecutionLogsOutputFormat = CfnTransformerB2biExecutionLogsOutputFormat;
|
|
174
174
|
(function (CfnTransformerB2biExecutionLogsOutputFormat) {
|
|
@@ -15,7 +15,7 @@ const service = require("aws-cdk-lib/aws-backupgateway");
|
|
|
15
15
|
* @stability external
|
|
16
16
|
*/
|
|
17
17
|
class CfnHypervisorBgwHypervisorLogs {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorBgwHypervisorLogs", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorBgwHypervisorLogs", version: "2.245.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Send logs to an S3 Bucket
|
|
21
21
|
*
|
|
@@ -112,7 +112,7 @@ exports.CfnHypervisorBgwHypervisorLogs = CfnHypervisorBgwHypervisorLogs;
|
|
|
112
112
|
* @stability external
|
|
113
113
|
*/
|
|
114
114
|
class CfnHypervisorDataAccessLogs {
|
|
115
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorDataAccessLogs", version: "2.
|
|
115
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorDataAccessLogs", version: "2.245.0-alpha.0" };
|
|
116
116
|
/**
|
|
117
117
|
* Send logs to an S3 Bucket
|
|
118
118
|
*
|
|
@@ -212,7 +212,7 @@ exports.CfnHypervisorDataAccessLogs = CfnHypervisorDataAccessLogs;
|
|
|
212
212
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backupgateway-hypervisor.html
|
|
213
213
|
*/
|
|
214
214
|
class CfnHypervisorLogsMixin extends cdk.Mixin {
|
|
215
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorLogsMixin", version: "2.
|
|
215
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorLogsMixin", version: "2.245.0-alpha.0" };
|
|
216
216
|
static BGW_HYPERVISOR_LOGS = new CfnHypervisorBgwHypervisorLogs();
|
|
217
217
|
static DATA_ACCESS_LOGS = new CfnHypervisorDataAccessLogs();
|
|
218
218
|
logType;
|
|
@@ -259,7 +259,7 @@ exports.CfnHypervisorLogsMixin = CfnHypervisorLogsMixin;
|
|
|
259
259
|
* Output Format options for each destination of CfnHypervisorBgwHypervisorLogs.
|
|
260
260
|
*/
|
|
261
261
|
class CfnHypervisorBgwHypervisorLogsOutputFormat {
|
|
262
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorBgwHypervisorLogsOutputFormat", version: "2.
|
|
262
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorBgwHypervisorLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
263
263
|
}
|
|
264
264
|
exports.CfnHypervisorBgwHypervisorLogsOutputFormat = CfnHypervisorBgwHypervisorLogsOutputFormat;
|
|
265
265
|
(function (CfnHypervisorBgwHypervisorLogsOutputFormat) {
|
|
@@ -286,7 +286,7 @@ exports.CfnHypervisorBgwHypervisorLogsOutputFormat = CfnHypervisorBgwHypervisorL
|
|
|
286
286
|
* Output Format options for each destination of CfnHypervisorDataAccessLogs.
|
|
287
287
|
*/
|
|
288
288
|
class CfnHypervisorDataAccessLogsOutputFormat {
|
|
289
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorDataAccessLogsOutputFormat", version: "2.
|
|
289
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_backupgateway.mixins.CfnHypervisorDataAccessLogsOutputFormat", version: "2.245.0-alpha.0" };
|
|
290
290
|
}
|
|
291
291
|
exports.CfnHypervisorDataAccessLogsOutputFormat = CfnHypervisorDataAccessLogsOutputFormat;
|
|
292
292
|
(function (CfnHypervisorDataAccessLogsOutputFormat) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.batch@AWSAPICallViaCloudTrail
|
|
8
8
|
*/
|
|
9
9
|
class AWSAPICallViaCloudTrail {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_batch.events.AWSAPICallViaCloudTrail", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_batch.events.AWSAPICallViaCloudTrail", version: "2.245.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for AWS API Call via CloudTrail
|
|
13
13
|
*/
|
|
@@ -192,7 +192,7 @@ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj) {
|
|
|
192
192
|
* EventBridge event pattern for aws.batch@BatchJobStateChange
|
|
193
193
|
*/
|
|
194
194
|
class BatchJobStateChange {
|
|
195
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_batch.events.BatchJobStateChange", version: "2.
|
|
195
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_batch.events.BatchJobStateChange", version: "2.245.0-alpha.0" };
|
|
196
196
|
/**
|
|
197
197
|
* EventBridge event pattern for Batch Job State Change
|
|
198
198
|
*/
|