@aws-cdk/mixins-preview 2.276.0-alpha.0 → 2.277.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 +13 -0
- package/lib/services/aws-appmesh/events.generated.js +1 -1
- 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-batch/events.generated.js +2 -2
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +12 -12
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +34 -34
- package/lib/services/aws-chime/events.generated.js +1 -1
- 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-connect/events.generated.js +4 -4
- package/lib/services/aws-dataexchange/events.generated.js +4 -4
- 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-dsql/.jsiirc.json +16 -0
- package/lib/services/aws-dsql/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-dsql/index.d.ts +1 -0
- package/lib/services/aws-dsql/index.js +37 -0
- package/lib/services/aws-dsql/logs-delivery-mixins.generated.d.ts +145 -0
- package/lib/services/aws-dsql/logs-delivery-mixins.generated.js +226 -0
- package/lib/services/aws-dsql/mixins.d.ts +1 -0
- package/lib/services/aws-dsql/mixins.js +17 -0
- package/lib/services/aws-ec2/events.generated.js +8 -8
- package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-ecr/events.generated.js +7 -7
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-ecs/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +26 -26
- package/lib/services/aws-elasticache/events.generated.js +10 -10
- package/lib/services/aws-elasticloadbalancing/events.generated.js +1 -1
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.d.ts +4 -0
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +13 -9
- package/lib/services/aws-elementalinference/logs-delivery-mixins.generated.js +3 -3
- 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-gamelift/logs-delivery-mixins.generated.js +3 -3
- 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-ivs/events.generated.js +4 -4
- 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.js +5 -5
- package/lib/services/aws-logs/logs-destination.js +4 -4
- package/lib/services/aws-managedblockchain/events.generated.js +2 -2
- package/lib/services/aws-medialive/events.generated.js +6 -6
- package/lib/services/aws-mediapackage/events.generated.js +4 -4
- 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-mgn/events.generated.js +3 -3
- package/lib/services/aws-networkfirewall/events.generated.js +3 -3
- 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 +4 -4
- package/lib/services/aws-organizations/events.generated.js +2 -2
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +9 -9
- 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-route53recoveryreadiness/events.generated.js +6 -6
- package/lib/services/aws-route53resolver/events.generated.js +3 -3
- package/lib/services/aws-rtbfabric/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-s3/events.generated.js +12 -12
- package/lib/services/aws-s3/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/events.generated.js +14 -14
- package/lib/services/aws-securityhub/events.generated.js +3 -3
- package/lib/services/aws-securityhub/logs-delivery-mixins.generated.js +6 -6
- 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-storagegateway/events.generated.js +3 -3
- package/lib/services/aws-synthetics/events.generated.js +3 -3
- package/lib/services/aws-transcribe/events.generated.js +3 -3
- package/lib/services/aws-transfer/events.generated.js +56 -56
- package/lib/services/aws-translate/events.generated.js +2 -2
- package/lib/services/aws-voiceid/events.generated.js +9 -9
- package/lib/services/aws-wellarchitected/events.generated.js +1 -1
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +3 -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 +1 -0
- package/lib/services/index.js +3 -2
- package/package.json +12 -10
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import * as cdk from "aws-cdk-lib/core";
|
|
2
|
+
import * as interfaces from "aws-cdk-lib/interfaces";
|
|
3
|
+
import * as constructs from "constructs";
|
|
4
|
+
import * as logsDelivery from "../aws-logs/logs-delivery";
|
|
5
|
+
import * as service from "aws-cdk-lib/aws-dsql";
|
|
6
|
+
/**
|
|
7
|
+
* Builder for CfnClusterLogsMixin to generate AUDIT_LOGS for CfnCluster
|
|
8
|
+
*
|
|
9
|
+
* @cloudformationResource AWS::DSQL::Cluster
|
|
10
|
+
* @logType AUDIT_LOGS
|
|
11
|
+
* @stability external
|
|
12
|
+
*/
|
|
13
|
+
export declare class CfnClusterAuditLogs {
|
|
14
|
+
/**
|
|
15
|
+
* Send logs to an S3 Bucket
|
|
16
|
+
*
|
|
17
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
18
|
+
*/
|
|
19
|
+
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnClusterAuditLogsS3Props): CfnClusterLogsMixin;
|
|
20
|
+
/**
|
|
21
|
+
* Delivers logs to a pre-created delivery destination
|
|
22
|
+
*
|
|
23
|
+
* Supported destinations are S3
|
|
24
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
25
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
26
|
+
*
|
|
27
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
28
|
+
*/
|
|
29
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnClusterAuditLogsDestProps): CfnClusterLogsMixin;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The `AWS::DSQL::Cluster` resource specifies an cluster. You can use this resource to create, modify, and manage clusters.
|
|
33
|
+
*
|
|
34
|
+
* This resource supports both single-Region clusters and multi-Region clusters through the `MultiRegionProperties` parameter.
|
|
35
|
+
*
|
|
36
|
+
* > Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters. > - The witness Region specified in `multiRegionProperties.witnessRegion` cannot be the same as the cluster's Region.
|
|
37
|
+
*
|
|
38
|
+
* *Required permissions*
|
|
39
|
+
*
|
|
40
|
+
* - **dsql:CreateCluster** - Required to create a cluster.
|
|
41
|
+
*
|
|
42
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
43
|
+
* - **dsql:TagResource** - Permission to add tags to a resource.
|
|
44
|
+
*
|
|
45
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
46
|
+
* - **dsql:PutMultiRegionProperties** - Permission to configure multi-Region properties for a cluster.
|
|
47
|
+
*
|
|
48
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
49
|
+
* - **dsql:AddPeerCluster** - When specifying `multiRegionProperties.clusters` , permission to add peer clusters.
|
|
50
|
+
*
|
|
51
|
+
* Resources:
|
|
52
|
+
*
|
|
53
|
+
* - Local cluster: `arn:aws:dsql:region:account-id:cluster/*`
|
|
54
|
+
* - Each peer cluster: exact ARN of each specified peer cluster
|
|
55
|
+
* - **dsql:PutWitnessRegion** - When specifying `multiRegionProperties.witnessRegion` , permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.
|
|
56
|
+
*
|
|
57
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
58
|
+
*
|
|
59
|
+
* Condition Keys: `dsql:WitnessRegion` (matching the specified witness region)
|
|
60
|
+
*
|
|
61
|
+
* @cloudformationResource AWS::DSQL::Cluster
|
|
62
|
+
* @mixin true
|
|
63
|
+
* @stability external
|
|
64
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
|
|
65
|
+
*/
|
|
66
|
+
export declare class CfnClusterLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
67
|
+
static readonly AUDIT_LOGS: CfnClusterAuditLogs;
|
|
68
|
+
protected readonly logType: string;
|
|
69
|
+
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
70
|
+
/**
|
|
71
|
+
* Create a mixin to enable vended logs for `AWS::DSQL::Cluster`.
|
|
72
|
+
*
|
|
73
|
+
* @param logType Type of logs that are getting vended
|
|
74
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
75
|
+
*/
|
|
76
|
+
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
77
|
+
/**
|
|
78
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
79
|
+
*/
|
|
80
|
+
supports(construct: constructs.IConstruct): construct is service.CfnCluster;
|
|
81
|
+
/**
|
|
82
|
+
* Apply vended logs configuration to the construct
|
|
83
|
+
*/
|
|
84
|
+
applyTo(resource: constructs.IConstruct): void;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Output Format options for each destination of CfnClusterAuditLogs.
|
|
88
|
+
*/
|
|
89
|
+
export declare class CfnClusterAuditLogsOutputFormat {
|
|
90
|
+
}
|
|
91
|
+
export declare namespace CfnClusterAuditLogsOutputFormat {
|
|
92
|
+
enum S3 {
|
|
93
|
+
PLAIN = "plain",
|
|
94
|
+
JSON = "json",
|
|
95
|
+
W3C = "w3c",
|
|
96
|
+
PARQUET = "parquet"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export declare enum CfnClusterAuditLogsRecordFields {
|
|
100
|
+
TIMESTAMP = "timestamp",
|
|
101
|
+
RESOURCE_ARN = "resource_arn",
|
|
102
|
+
EVENT_TIMESTAMP = "event_timestamp",
|
|
103
|
+
RESOURCE_ID = "resource_id",
|
|
104
|
+
SCHEMA_VERSION = "schema_version",
|
|
105
|
+
AWS_REGION = "aws_region",
|
|
106
|
+
CLUSTER_ID = "cluster_id",
|
|
107
|
+
TYPE = "type",
|
|
108
|
+
DATABASE = "database",
|
|
109
|
+
SESSION_ID = "session_id",
|
|
110
|
+
IAM_PRINCIPAL = "iam_principal",
|
|
111
|
+
IAM_ARN = "iam_arn",
|
|
112
|
+
SESSION_USER = "session_user",
|
|
113
|
+
USER_ID = "user_id",
|
|
114
|
+
CLIENT_APPLICATION = "client_application",
|
|
115
|
+
TRANSACTION_ID = "transaction_id",
|
|
116
|
+
STATEMENT_ID = "statement_id",
|
|
117
|
+
SUBSTATEMENT_ID = "substatement_id",
|
|
118
|
+
CLASS = "class",
|
|
119
|
+
COMMAND = "command",
|
|
120
|
+
OBJECT_TYPE = "object_type",
|
|
121
|
+
OBJECT_NAME = "object_name",
|
|
122
|
+
STATEMENT_TEXT = "statement_text",
|
|
123
|
+
PARAMETERS = "parameters",
|
|
124
|
+
ROWS_AFFECTED = "rows_affected"
|
|
125
|
+
}
|
|
126
|
+
export interface CfnClusterAuditLogsS3Props {
|
|
127
|
+
/**
|
|
128
|
+
* Encrpytion key for your delivery bucket
|
|
129
|
+
*/
|
|
130
|
+
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
131
|
+
/**
|
|
132
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
133
|
+
*/
|
|
134
|
+
readonly outputFormat?: CfnClusterAuditLogsOutputFormat.S3;
|
|
135
|
+
/**
|
|
136
|
+
* Record fields that can be provided to a log delivery
|
|
137
|
+
*/
|
|
138
|
+
readonly recordFields?: Array<CfnClusterAuditLogsRecordFields>;
|
|
139
|
+
}
|
|
140
|
+
export interface CfnClusterAuditLogsDestProps {
|
|
141
|
+
/**
|
|
142
|
+
* Record fields that can be provided to a log delivery
|
|
143
|
+
*/
|
|
144
|
+
readonly recordFields?: Array<CfnClusterAuditLogsRecordFields>;
|
|
145
|
+
}
|
|
@@ -0,0 +1,226 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CfnClusterAuditLogsRecordFields = exports.CfnClusterAuditLogsOutputFormat = exports.CfnClusterLogsMixin = exports.CfnClusterAuditLogs = void 0;
|
|
37
|
+
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
38
|
+
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
39
|
+
/* eslint-disable @stylistic/max-len, eol-last */
|
|
40
|
+
const cdk = __importStar(require("aws-cdk-lib/core"));
|
|
41
|
+
const logsDelivery = __importStar(require("../aws-logs/logs-delivery"));
|
|
42
|
+
const service = __importStar(require("aws-cdk-lib/aws-dsql"));
|
|
43
|
+
/**
|
|
44
|
+
* Builder for CfnClusterLogsMixin to generate AUDIT_LOGS for CfnCluster
|
|
45
|
+
*
|
|
46
|
+
* @cloudformationResource AWS::DSQL::Cluster
|
|
47
|
+
* @logType AUDIT_LOGS
|
|
48
|
+
* @stability external
|
|
49
|
+
*/
|
|
50
|
+
class CfnClusterAuditLogs {
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_dsql.mixins.CfnClusterAuditLogs", version: "2.277.0-alpha.0" };
|
|
52
|
+
/**
|
|
53
|
+
* Send logs to an S3 Bucket
|
|
54
|
+
*
|
|
55
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
56
|
+
*/
|
|
57
|
+
toS3(bucket, props) {
|
|
58
|
+
try {
|
|
59
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_dsql_mixins_CfnClusterAuditLogsS3Props(props);
|
|
60
|
+
}
|
|
61
|
+
catch (error) {
|
|
62
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
63
|
+
Error.captureStackTrace(error, this.toS3);
|
|
64
|
+
}
|
|
65
|
+
throw error;
|
|
66
|
+
}
|
|
67
|
+
{
|
|
68
|
+
return new CfnClusterLogsMixin("AUDIT_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
69
|
+
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
70
|
+
kmsKey: props?.encryptionKey,
|
|
71
|
+
outputFormat: props?.outputFormat,
|
|
72
|
+
providedFields: props?.recordFields,
|
|
73
|
+
mandatoryFields: undefined
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Delivers logs to a pre-created delivery destination
|
|
79
|
+
*
|
|
80
|
+
* Supported destinations are S3
|
|
81
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
82
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
83
|
+
*
|
|
84
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
85
|
+
*/
|
|
86
|
+
toDestination(destination, props) {
|
|
87
|
+
try {
|
|
88
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_dsql_mixins_CfnClusterAuditLogsDestProps(props);
|
|
89
|
+
}
|
|
90
|
+
catch (error) {
|
|
91
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
92
|
+
Error.captureStackTrace(error, this.toDestination);
|
|
93
|
+
}
|
|
94
|
+
throw error;
|
|
95
|
+
}
|
|
96
|
+
{
|
|
97
|
+
return new CfnClusterLogsMixin("AUDIT_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
98
|
+
providedFields: props?.recordFields,
|
|
99
|
+
mandatoryFields: undefined
|
|
100
|
+
}));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.CfnClusterAuditLogs = CfnClusterAuditLogs;
|
|
105
|
+
/**
|
|
106
|
+
* The `AWS::DSQL::Cluster` resource specifies an cluster. You can use this resource to create, modify, and manage clusters.
|
|
107
|
+
*
|
|
108
|
+
* This resource supports both single-Region clusters and multi-Region clusters through the `MultiRegionProperties` parameter.
|
|
109
|
+
*
|
|
110
|
+
* > Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters. > - The witness Region specified in `multiRegionProperties.witnessRegion` cannot be the same as the cluster's Region.
|
|
111
|
+
*
|
|
112
|
+
* *Required permissions*
|
|
113
|
+
*
|
|
114
|
+
* - **dsql:CreateCluster** - Required to create a cluster.
|
|
115
|
+
*
|
|
116
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
117
|
+
* - **dsql:TagResource** - Permission to add tags to a resource.
|
|
118
|
+
*
|
|
119
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
120
|
+
* - **dsql:PutMultiRegionProperties** - Permission to configure multi-Region properties for a cluster.
|
|
121
|
+
*
|
|
122
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
123
|
+
* - **dsql:AddPeerCluster** - When specifying `multiRegionProperties.clusters` , permission to add peer clusters.
|
|
124
|
+
*
|
|
125
|
+
* Resources:
|
|
126
|
+
*
|
|
127
|
+
* - Local cluster: `arn:aws:dsql:region:account-id:cluster/*`
|
|
128
|
+
* - Each peer cluster: exact ARN of each specified peer cluster
|
|
129
|
+
* - **dsql:PutWitnessRegion** - When specifying `multiRegionProperties.witnessRegion` , permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.
|
|
130
|
+
*
|
|
131
|
+
* Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
|
132
|
+
*
|
|
133
|
+
* Condition Keys: `dsql:WitnessRegion` (matching the specified witness region)
|
|
134
|
+
*
|
|
135
|
+
* @cloudformationResource AWS::DSQL::Cluster
|
|
136
|
+
* @mixin true
|
|
137
|
+
* @stability external
|
|
138
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
|
|
139
|
+
*/
|
|
140
|
+
class CfnClusterLogsMixin extends cdk.Mixin {
|
|
141
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_dsql.mixins.CfnClusterLogsMixin", version: "2.277.0-alpha.0" };
|
|
142
|
+
static AUDIT_LOGS = new CfnClusterAuditLogs();
|
|
143
|
+
logType;
|
|
144
|
+
logDelivery;
|
|
145
|
+
/**
|
|
146
|
+
* Create a mixin to enable vended logs for `AWS::DSQL::Cluster`.
|
|
147
|
+
*
|
|
148
|
+
* @param logType Type of logs that are getting vended
|
|
149
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
150
|
+
*/
|
|
151
|
+
constructor(logType, logDelivery) {
|
|
152
|
+
super();
|
|
153
|
+
try {
|
|
154
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
155
|
+
}
|
|
156
|
+
catch (error) {
|
|
157
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
158
|
+
Error.captureStackTrace(error, CfnClusterLogsMixin);
|
|
159
|
+
}
|
|
160
|
+
throw error;
|
|
161
|
+
}
|
|
162
|
+
this.logType = logType;
|
|
163
|
+
this.logDelivery = logDelivery;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
167
|
+
*/
|
|
168
|
+
supports(construct) {
|
|
169
|
+
return (cdk.CfnResource.isCfnResource(construct) && service.CfnCluster.isCfnCluster(construct));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Apply vended logs configuration to the construct
|
|
173
|
+
*/
|
|
174
|
+
applyTo(resource) {
|
|
175
|
+
if (!this.supports(resource)) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
const sourceArn = service.CfnCluster.arnForCluster(resource);
|
|
179
|
+
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.CfnClusterLogsMixin = CfnClusterLogsMixin;
|
|
183
|
+
/**
|
|
184
|
+
* Output Format options for each destination of CfnClusterAuditLogs.
|
|
185
|
+
*/
|
|
186
|
+
class CfnClusterAuditLogsOutputFormat {
|
|
187
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_dsql.mixins.CfnClusterAuditLogsOutputFormat", version: "2.277.0-alpha.0" };
|
|
188
|
+
}
|
|
189
|
+
exports.CfnClusterAuditLogsOutputFormat = CfnClusterAuditLogsOutputFormat;
|
|
190
|
+
(function (CfnClusterAuditLogsOutputFormat) {
|
|
191
|
+
let S3;
|
|
192
|
+
(function (S3) {
|
|
193
|
+
S3["PLAIN"] = "plain";
|
|
194
|
+
S3["JSON"] = "json";
|
|
195
|
+
S3["W3C"] = "w3c";
|
|
196
|
+
S3["PARQUET"] = "parquet";
|
|
197
|
+
})(S3 = CfnClusterAuditLogsOutputFormat.S3 || (CfnClusterAuditLogsOutputFormat.S3 = {}));
|
|
198
|
+
})(CfnClusterAuditLogsOutputFormat || (exports.CfnClusterAuditLogsOutputFormat = CfnClusterAuditLogsOutputFormat = {}));
|
|
199
|
+
var CfnClusterAuditLogsRecordFields;
|
|
200
|
+
(function (CfnClusterAuditLogsRecordFields) {
|
|
201
|
+
CfnClusterAuditLogsRecordFields["TIMESTAMP"] = "timestamp";
|
|
202
|
+
CfnClusterAuditLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
|
|
203
|
+
CfnClusterAuditLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
204
|
+
CfnClusterAuditLogsRecordFields["RESOURCE_ID"] = "resource_id";
|
|
205
|
+
CfnClusterAuditLogsRecordFields["SCHEMA_VERSION"] = "schema_version";
|
|
206
|
+
CfnClusterAuditLogsRecordFields["AWS_REGION"] = "aws_region";
|
|
207
|
+
CfnClusterAuditLogsRecordFields["CLUSTER_ID"] = "cluster_id";
|
|
208
|
+
CfnClusterAuditLogsRecordFields["TYPE"] = "type";
|
|
209
|
+
CfnClusterAuditLogsRecordFields["DATABASE"] = "database";
|
|
210
|
+
CfnClusterAuditLogsRecordFields["SESSION_ID"] = "session_id";
|
|
211
|
+
CfnClusterAuditLogsRecordFields["IAM_PRINCIPAL"] = "iam_principal";
|
|
212
|
+
CfnClusterAuditLogsRecordFields["IAM_ARN"] = "iam_arn";
|
|
213
|
+
CfnClusterAuditLogsRecordFields["SESSION_USER"] = "session_user";
|
|
214
|
+
CfnClusterAuditLogsRecordFields["USER_ID"] = "user_id";
|
|
215
|
+
CfnClusterAuditLogsRecordFields["CLIENT_APPLICATION"] = "client_application";
|
|
216
|
+
CfnClusterAuditLogsRecordFields["TRANSACTION_ID"] = "transaction_id";
|
|
217
|
+
CfnClusterAuditLogsRecordFields["STATEMENT_ID"] = "statement_id";
|
|
218
|
+
CfnClusterAuditLogsRecordFields["SUBSTATEMENT_ID"] = "substatement_id";
|
|
219
|
+
CfnClusterAuditLogsRecordFields["CLASS"] = "class";
|
|
220
|
+
CfnClusterAuditLogsRecordFields["COMMAND"] = "command";
|
|
221
|
+
CfnClusterAuditLogsRecordFields["OBJECT_TYPE"] = "object_type";
|
|
222
|
+
CfnClusterAuditLogsRecordFields["OBJECT_NAME"] = "object_name";
|
|
223
|
+
CfnClusterAuditLogsRecordFields["STATEMENT_TEXT"] = "statement_text";
|
|
224
|
+
CfnClusterAuditLogsRecordFields["PARAMETERS"] = "parameters";
|
|
225
|
+
CfnClusterAuditLogsRecordFields["ROWS_AFFECTED"] = "rows_affected";
|
|
226
|
+
})(CfnClusterAuditLogsRecordFields || (exports.CfnClusterAuditLogsRecordFields = CfnClusterAuditLogsRecordFields = {}));
|
|
@@ -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.ec2@EBSMultiVolumeSnapshotsCompletionStatus
|
|
8
8
|
*/
|
|
9
9
|
class EBSMultiVolumeSnapshotsCompletionStatus {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSMultiVolumeSnapshotsCompletionStatus", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSMultiVolumeSnapshotsCompletionStatus", version: "2.277.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for EBS Multi-Volume Snapshots Completion Status
|
|
13
13
|
*/
|
|
@@ -72,7 +72,7 @@ function convertEBSMultiVolumeSnapshotsCompletionStatusDetailToEventPattern(obj)
|
|
|
72
72
|
* EventBridge event pattern for aws.ec2@EBSSnapshotNotification
|
|
73
73
|
*/
|
|
74
74
|
class EBSSnapshotNotification {
|
|
75
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSSnapshotNotification", version: "2.
|
|
75
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSSnapshotNotification", version: "2.277.0-alpha.0" };
|
|
76
76
|
/**
|
|
77
77
|
* EventBridge event pattern for EBS Snapshot Notification
|
|
78
78
|
*/
|
|
@@ -122,7 +122,7 @@ function convertEBSSnapshotNotificationDetailToEventPattern(obj) {
|
|
|
122
122
|
* EventBridge event pattern for aws.ec2@EBSVolumeNotification
|
|
123
123
|
*/
|
|
124
124
|
class EBSVolumeNotification {
|
|
125
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSVolumeNotification", version: "2.
|
|
125
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EBSVolumeNotification", version: "2.277.0-alpha.0" };
|
|
126
126
|
/**
|
|
127
127
|
* EventBridge event pattern for EBS Volume Notification
|
|
128
128
|
*/
|
|
@@ -168,7 +168,7 @@ function convertEBSVolumeNotificationDetailToEventPattern(obj) {
|
|
|
168
168
|
* EventBridge event pattern for aws.ec2@EC2FastLaunchStateChangeNotification
|
|
169
169
|
*/
|
|
170
170
|
class EC2FastLaunchStateChangeNotification {
|
|
171
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2FastLaunchStateChangeNotification", version: "2.
|
|
171
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2FastLaunchStateChangeNotification", version: "2.277.0-alpha.0" };
|
|
172
172
|
/**
|
|
173
173
|
* EventBridge event pattern for EC2 Fast Launch State-change Notification
|
|
174
174
|
*/
|
|
@@ -214,7 +214,7 @@ function convertEC2FastLaunchStateChangeNotificationDetailToEventPattern(obj) {
|
|
|
214
214
|
* EventBridge event pattern for aws.ec2@AWSAPICallViaCloudTrail
|
|
215
215
|
*/
|
|
216
216
|
class AWSAPICallViaCloudTrail {
|
|
217
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.AWSAPICallViaCloudTrail", version: "2.
|
|
217
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.AWSAPICallViaCloudTrail", version: "2.277.0-alpha.0" };
|
|
218
218
|
/**
|
|
219
219
|
* EventBridge event pattern for AWS API Call via CloudTrail
|
|
220
220
|
*/
|
|
@@ -1260,7 +1260,7 @@ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj, iRef) {
|
|
|
1260
1260
|
* EventBridge event patterns for Instance
|
|
1261
1261
|
*/
|
|
1262
1262
|
class InstanceEvents {
|
|
1263
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.InstanceEvents", version: "2.
|
|
1263
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.InstanceEvents", version: "2.277.0-alpha.0" };
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Create InstanceEvents from a Instance reference
|
|
1266
1266
|
*/
|
|
@@ -1346,7 +1346,7 @@ exports.InstanceEvents = InstanceEvents;
|
|
|
1346
1346
|
* EventBridge event pattern for aws.ec2@EC2InstanceStateChangeNotification
|
|
1347
1347
|
*/
|
|
1348
1348
|
class EC2InstanceStateChangeNotification {
|
|
1349
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2InstanceStateChangeNotification", version: "2.
|
|
1349
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2InstanceStateChangeNotification", version: "2.277.0-alpha.0" };
|
|
1350
1350
|
/**
|
|
1351
1351
|
* EventBridge event pattern for EC2 Instance State-change Notification
|
|
1352
1352
|
*/
|
|
@@ -1390,7 +1390,7 @@ function convertEC2InstanceStateChangeNotificationDetailToEventPattern(obj, iRef
|
|
|
1390
1390
|
* EventBridge event pattern for aws.ec2@EC2SpotInstanceInterruptionWarning
|
|
1391
1391
|
*/
|
|
1392
1392
|
class EC2SpotInstanceInterruptionWarning {
|
|
1393
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2SpotInstanceInterruptionWarning", version: "2.
|
|
1393
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.events.EC2SpotInstanceInterruptionWarning", version: "2.277.0-alpha.0" };
|
|
1394
1394
|
/**
|
|
1395
1395
|
* EventBridge event pattern for EC2 Spot Instance Interruption Warning
|
|
1396
1396
|
*/
|
|
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-ec2"));
|
|
|
48
48
|
* @stability external
|
|
49
49
|
*/
|
|
50
50
|
class CfnInstanceConsoleLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceConsoleLogs", version: "2.
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceConsoleLogs", version: "2.277.0-alpha.0" };
|
|
52
52
|
/**
|
|
53
53
|
* Send logs to an S3 Bucket
|
|
54
54
|
*
|
|
@@ -159,7 +159,7 @@ exports.CfnInstanceConsoleLogs = CfnInstanceConsoleLogs;
|
|
|
159
159
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html
|
|
160
160
|
*/
|
|
161
161
|
class CfnInstanceLogsMixin extends cdk.Mixin {
|
|
162
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceLogsMixin", version: "2.
|
|
162
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceLogsMixin", version: "2.277.0-alpha.0" };
|
|
163
163
|
static CONSOLE_LOGS = new CfnInstanceConsoleLogs();
|
|
164
164
|
logType;
|
|
165
165
|
logDelivery;
|
|
@@ -205,7 +205,7 @@ exports.CfnInstanceLogsMixin = CfnInstanceLogsMixin;
|
|
|
205
205
|
* Output Format options for each destination of CfnInstanceConsoleLogs.
|
|
206
206
|
*/
|
|
207
207
|
class CfnInstanceConsoleLogsOutputFormat {
|
|
208
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceConsoleLogsOutputFormat", version: "2.
|
|
208
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnInstanceConsoleLogsOutputFormat", version: "2.277.0-alpha.0" };
|
|
209
209
|
}
|
|
210
210
|
exports.CfnInstanceConsoleLogsOutputFormat = CfnInstanceConsoleLogsOutputFormat;
|
|
211
211
|
(function (CfnInstanceConsoleLogsOutputFormat) {
|
|
@@ -244,7 +244,7 @@ var CfnInstanceConsoleLogsRecordFields;
|
|
|
244
244
|
* @stability external
|
|
245
245
|
*/
|
|
246
246
|
class CfnRouteServerPeerEventLogs {
|
|
247
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerEventLogs", version: "2.
|
|
247
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerEventLogs", version: "2.277.0-alpha.0" };
|
|
248
248
|
/**
|
|
249
249
|
* Send logs to an S3 Bucket
|
|
250
250
|
*
|
|
@@ -355,7 +355,7 @@ exports.CfnRouteServerPeerEventLogs = CfnRouteServerPeerEventLogs;
|
|
|
355
355
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routeserverpeer.html
|
|
356
356
|
*/
|
|
357
357
|
class CfnRouteServerPeerLogsMixin extends cdk.Mixin {
|
|
358
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerLogsMixin", version: "2.
|
|
358
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerLogsMixin", version: "2.277.0-alpha.0" };
|
|
359
359
|
static EVENT_LOGS = new CfnRouteServerPeerEventLogs();
|
|
360
360
|
logType;
|
|
361
361
|
logDelivery;
|
|
@@ -401,7 +401,7 @@ exports.CfnRouteServerPeerLogsMixin = CfnRouteServerPeerLogsMixin;
|
|
|
401
401
|
* Output Format options for each destination of CfnRouteServerPeerEventLogs.
|
|
402
402
|
*/
|
|
403
403
|
class CfnRouteServerPeerEventLogsOutputFormat {
|
|
404
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerEventLogsOutputFormat", version: "2.
|
|
404
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ec2.mixins.CfnRouteServerPeerEventLogsOutputFormat", version: "2.277.0-alpha.0" };
|
|
405
405
|
}
|
|
406
406
|
exports.CfnRouteServerPeerEventLogsOutputFormat = CfnRouteServerPeerEventLogsOutputFormat;
|
|
407
407
|
(function (CfnRouteServerPeerEventLogsOutputFormat) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.ecr@AWSAPICallViaCloudTrail
|
|
8
8
|
*/
|
|
9
9
|
class AWSAPICallViaCloudTrail {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.AWSAPICallViaCloudTrail", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.AWSAPICallViaCloudTrail", version: "2.277.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for AWS API Call via CloudTrail
|
|
13
13
|
*/
|
|
@@ -178,7 +178,7 @@ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj, iRef) {
|
|
|
178
178
|
* EventBridge event patterns for Repository
|
|
179
179
|
*/
|
|
180
180
|
class RepositoryEvents {
|
|
181
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.RepositoryEvents", version: "2.
|
|
181
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.RepositoryEvents", version: "2.277.0-alpha.0" };
|
|
182
182
|
/**
|
|
183
183
|
* Create RepositoryEvents from a Repository reference
|
|
184
184
|
*/
|
|
@@ -330,7 +330,7 @@ exports.RepositoryEvents = RepositoryEvents;
|
|
|
330
330
|
* EventBridge event pattern for aws.ecr@ECRImageAction
|
|
331
331
|
*/
|
|
332
332
|
class ECRImageAction {
|
|
333
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRImageAction", version: "2.
|
|
333
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRImageAction", version: "2.277.0-alpha.0" };
|
|
334
334
|
/**
|
|
335
335
|
* EventBridge event pattern for ECR Image Action
|
|
336
336
|
*/
|
|
@@ -381,7 +381,7 @@ function convertECRImageActionDetailToEventPattern(obj, iRef) {
|
|
|
381
381
|
* EventBridge event pattern for aws.ecr@ECRImageScan
|
|
382
382
|
*/
|
|
383
383
|
class ECRImageScan {
|
|
384
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRImageScan", version: "2.
|
|
384
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRImageScan", version: "2.277.0-alpha.0" };
|
|
385
385
|
/**
|
|
386
386
|
* EventBridge event pattern for ECR Image Scan
|
|
387
387
|
*/
|
|
@@ -447,7 +447,7 @@ function convertECRImageScanDetailToEventPattern(obj, iRef) {
|
|
|
447
447
|
* EventBridge event pattern for aws.ecr@ECRPullThroughCacheAction
|
|
448
448
|
*/
|
|
449
449
|
class ECRPullThroughCacheAction {
|
|
450
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRPullThroughCacheAction", version: "2.
|
|
450
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRPullThroughCacheAction", version: "2.277.0-alpha.0" };
|
|
451
451
|
/**
|
|
452
452
|
* EventBridge event pattern for ECR Pull Through Cache Action
|
|
453
453
|
*/
|
|
@@ -497,7 +497,7 @@ function convertECRPullThroughCacheActionDetailToEventPattern(obj, iRef) {
|
|
|
497
497
|
* EventBridge event pattern for aws.ecr@ECRReferrerAction
|
|
498
498
|
*/
|
|
499
499
|
class ECRReferrerAction {
|
|
500
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRReferrerAction", version: "2.
|
|
500
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRReferrerAction", version: "2.277.0-alpha.0" };
|
|
501
501
|
/**
|
|
502
502
|
* EventBridge event pattern for ECR Referrer Action
|
|
503
503
|
*/
|
|
@@ -548,7 +548,7 @@ function convertECRReferrerActionDetailToEventPattern(obj, iRef) {
|
|
|
548
548
|
* EventBridge event pattern for aws.ecr@ECRReplicationAction
|
|
549
549
|
*/
|
|
550
550
|
class ECRReplicationAction {
|
|
551
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRReplicationAction", version: "2.
|
|
551
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecr.events.ECRReplicationAction", version: "2.277.0-alpha.0" };
|
|
552
552
|
/**
|
|
553
553
|
* EventBridge event pattern for ECR Replication Action
|
|
554
554
|
*/
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.ecs@AWSAPICallViaCloudTrail
|
|
8
8
|
*/
|
|
9
9
|
class AWSAPICallViaCloudTrail {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.AWSAPICallViaCloudTrail", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.AWSAPICallViaCloudTrail", version: "2.277.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for AWS API Call via CloudTrail
|
|
13
13
|
*/
|
|
@@ -391,7 +391,7 @@ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj, iRef) {
|
|
|
391
391
|
* EventBridge event patterns for Cluster
|
|
392
392
|
*/
|
|
393
393
|
class ClusterEvents {
|
|
394
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ClusterEvents", version: "2.
|
|
394
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ClusterEvents", version: "2.277.0-alpha.0" };
|
|
395
395
|
/**
|
|
396
396
|
* Create ClusterEvents from a Cluster reference
|
|
397
397
|
*/
|
|
@@ -499,7 +499,7 @@ exports.ClusterEvents = ClusterEvents;
|
|
|
499
499
|
* EventBridge event pattern for aws.ecs@ECSContainerInstanceStateChange
|
|
500
500
|
*/
|
|
501
501
|
class ECSContainerInstanceStateChange {
|
|
502
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSContainerInstanceStateChange", version: "2.
|
|
502
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSContainerInstanceStateChange", version: "2.277.0-alpha.0" };
|
|
503
503
|
/**
|
|
504
504
|
* EventBridge event pattern for ECS Container Instance State Change
|
|
505
505
|
*/
|
|
@@ -641,7 +641,7 @@ function convertECSContainerInstanceStateChangeDetailToEventPattern(obj, iRef) {
|
|
|
641
641
|
* EventBridge event pattern for aws.ecs@ECSServiceAction
|
|
642
642
|
*/
|
|
643
643
|
class ECSServiceAction {
|
|
644
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSServiceAction", version: "2.
|
|
644
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSServiceAction", version: "2.277.0-alpha.0" };
|
|
645
645
|
/**
|
|
646
646
|
* EventBridge event pattern for ECS Service Action
|
|
647
647
|
*/
|
|
@@ -698,7 +698,7 @@ function convertECSServiceActionDetailToEventPattern(obj, iRef) {
|
|
|
698
698
|
* EventBridge event pattern for aws.ecs@ECSTaskStateChange
|
|
699
699
|
*/
|
|
700
700
|
class ECSTaskStateChange {
|
|
701
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSTaskStateChange", version: "2.
|
|
701
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.events.ECSTaskStateChange", version: "2.277.0-alpha.0" };
|
|
702
702
|
/**
|
|
703
703
|
* EventBridge event pattern for ECS Task State Change
|
|
704
704
|
*/
|
|
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-ecs"));
|
|
|
48
48
|
* @stability external
|
|
49
49
|
*/
|
|
50
50
|
class CfnClusterActionLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterActionLogs", version: "2.
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterActionLogs", version: "2.277.0-alpha.0" };
|
|
52
52
|
/**
|
|
53
53
|
* Send logs to an S3 Bucket
|
|
54
54
|
*
|
|
@@ -157,7 +157,7 @@ exports.CfnClusterActionLogs = CfnClusterActionLogs;
|
|
|
157
157
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html
|
|
158
158
|
*/
|
|
159
159
|
class CfnClusterLogsMixin extends cdk.Mixin {
|
|
160
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterLogsMixin", version: "2.
|
|
160
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterLogsMixin", version: "2.277.0-alpha.0" };
|
|
161
161
|
static ACTION_LOGS = new CfnClusterActionLogs();
|
|
162
162
|
logType;
|
|
163
163
|
logDelivery;
|
|
@@ -203,7 +203,7 @@ exports.CfnClusterLogsMixin = CfnClusterLogsMixin;
|
|
|
203
203
|
* Output Format options for each destination of CfnClusterActionLogs.
|
|
204
204
|
*/
|
|
205
205
|
class CfnClusterActionLogsOutputFormat {
|
|
206
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterActionLogsOutputFormat", version: "2.
|
|
206
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ecs.mixins.CfnClusterActionLogsOutputFormat", version: "2.277.0-alpha.0" };
|
|
207
207
|
}
|
|
208
208
|
exports.CfnClusterActionLogsOutputFormat = CfnClusterActionLogsOutputFormat;
|
|
209
209
|
(function (CfnClusterActionLogsOutputFormat) {
|