Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-logs

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-logs - npm Package Compare versions

Comparing version 0.26.0 to 0.27.0

6

lib/cross-account-destination.d.ts

@@ -11,3 +11,3 @@ import iam = require('@aws-cdk/aws-iam');

*/
destinationName?: string;
readonly destinationName?: string;
/**

@@ -18,7 +18,7 @@ * The role to assume that grants permissions to write to 'target'.

*/
role: iam.Role;
readonly role: iam.Role;
/**
* The log destination target's ARN
*/
targetArn: string;
readonly targetArn: string;
}

@@ -25,0 +25,0 @@ /**

@@ -56,2 +56,2 @@ "use strict";

exports.CrossAccountDestination = CrossAccountDestination;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Jvc3MtYWNjb3VudC1kZXN0aW5hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNyb3NzLWFjY291bnQtZGVzdGluYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3Q0FBeUM7QUFDekMsb0NBQXFDO0FBRXJDLHFEQUFrRDtBQXdCbEQ7Ozs7Ozs7OztHQVNHO0FBQ0gsTUFBYSx1QkFBd0IsU0FBUSxHQUFHLENBQUMsU0FBUztJQXFCeEQsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFtQztRQUMvRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBckJuQjs7V0FFRztRQUNhLG1CQUFjLEdBQXVCLElBQUksR0FBRyxDQUFDLGNBQWMsRUFBRSxDQUFDO1FBb0I1RSwrRUFBK0U7UUFDL0UsTUFBTSxlQUFlLEdBQUcsS0FBSyxDQUFDLGVBQWUsSUFBSSxJQUFJLEdBQUcsQ0F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fQ==

@@ -73,3 +73,3 @@ import cloudwatch = require('@aws-cdk/aws-cloudwatch');

export interface LogGroupImportProps {
logGroupArn: string;
readonly logGroupArn: string;
}

@@ -138,2 +138,75 @@ /**

/**
* How long, in days, the log contents will be retained.
*/
export declare enum RetentionDays {
/**
* 1 day
*/
OneDay = 1,
/**
* 3 days
*/
ThreeDays = 3,
/**
* 5 days
*/
FiveDays = 5,
/**
* 1 week
*/
OneWeek = 7,
/**
* 2 weeks
*/
TwoWeeks = 14,
/**
* 1 month
*/
OneMonth = 30,
/**
* 2 months
*/
TwoMonths = 60,
/**
* 3 months
*/
ThreeMonths = 90,
/**
* 4 months
*/
FourMonths = 120,
/**
* 5 months
*/
FiveMonths = 150,
/**
* 6 months
*/
SixMonths = 180,
/**
* 1 year
*/
OneYear = 365,
/**
* 13 months
*/
ThirteenMonths = 400,
/**
* 18 months
*/
EighteenMonths = 545,
/**
* 2 years
*/
TwoYears = 731,
/**
* 5 years
*/
FiveYears = 1827,
/**
* 10 years
*/
TenYears = 3653
}
/**
* Properties for a LogGroup

@@ -147,3 +220,3 @@ */

*/
logGroupName?: string;
readonly logGroupName?: string;
/**

@@ -156,3 +229,3 @@ * How long, in days, the log contents will be retained.

*/
retentionDays?: number;
readonly retentionDays?: RetentionDays;
/**

@@ -168,3 +241,3 @@ * Retain the log group if the stack or containing construct ceases to exist

*/
retainLogGroup?: boolean;
readonly retainLogGroup?: boolean;
}

@@ -204,3 +277,3 @@ /**

*/
logStreamName?: string;
readonly logStreamName?: string;
}

@@ -216,7 +289,7 @@ /**

*/
destination: ILogSubscriptionDestination;
readonly destination: ILogSubscriptionDestination;
/**
* Log events matching this pattern will be sent to the destination.
*/
filterPattern: IFilterPattern;
readonly filterPattern: IFilterPattern;
}

@@ -230,11 +303,11 @@ /**

*/
filterPattern: IFilterPattern;
readonly filterPattern: IFilterPattern;
/**
* The namespace of the metric to emit.
*/
metricNamespace: string;
readonly metricNamespace: string;
/**
* The name of the metric to emit.
*/
metricName: string;
readonly metricName: string;
/**

@@ -255,3 +328,3 @@ * The value to emit for the metric.

*/
metricValue?: string;
readonly metricValue?: string;
/**

@@ -262,3 +335,3 @@ * The value to emit if the pattern does not match a particular event.

*/
defaultValue?: number;
readonly defaultValue?: number;
}

@@ -91,2 +91,76 @@ "use strict";

/**
* How long, in days, the log contents will be retained.
*/
var RetentionDays;
(function (RetentionDays) {
/**
* 1 day
*/
RetentionDays[RetentionDays["OneDay"] = 1] = "OneDay";
/**
* 3 days
*/
RetentionDays[RetentionDays["ThreeDays"] = 3] = "ThreeDays";
/**
* 5 days
*/
RetentionDays[RetentionDays["FiveDays"] = 5] = "FiveDays";
/**
* 1 week
*/
RetentionDays[RetentionDays["OneWeek"] = 7] = "OneWeek";
/**
* 2 weeks
*/
RetentionDays[RetentionDays["TwoWeeks"] = 14] = "TwoWeeks";
/**
* 1 month
*/
RetentionDays[RetentionDays["OneMonth"] = 30] = "OneMonth";
/**
* 2 months
*/
RetentionDays[RetentionDays["TwoMonths"] = 60] = "TwoMonths";
/**
* 3 months
*/
RetentionDays[RetentionDays["ThreeMonths"] = 90] = "ThreeMonths";
/**
* 4 months
*/
RetentionDays[RetentionDays["FourMonths"] = 120] = "FourMonths";
/**
* 5 months
*/
RetentionDays[RetentionDays["FiveMonths"] = 150] = "FiveMonths";
/**
* 6 months
*/
RetentionDays[RetentionDays["SixMonths"] = 180] = "SixMonths";
/**
* 1 year
*/
RetentionDays[RetentionDays["OneYear"] = 365] = "OneYear";
/**
* 13 months
*/
RetentionDays[RetentionDays["ThirteenMonths"] = 400] = "ThirteenMonths";
/**
* 18 months
*/
RetentionDays[RetentionDays["EighteenMonths"] = 545] = "EighteenMonths";
/**
* 2 years
*/
RetentionDays[RetentionDays["TwoYears"] = 731] = "TwoYears";
/**
* 5 years
*/
RetentionDays[RetentionDays["FiveYears"] = 1827] = "FiveYears";
/**
* 10 years
*/
RetentionDays[RetentionDays["TenYears"] = 3653] = "TenYears";
})(RetentionDays = exports.RetentionDays || (exports.RetentionDays = {}));
/**
* Define a CloudWatch Log Group

@@ -105,3 +179,3 @@ */

if (retentionInDays === undefined) {
retentionInDays = 731;
retentionInDays = RetentionDays.TwoYears;
}

@@ -151,2 +225,2 @@ if (retentionInDays === Infinity) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibG9nLWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0RBQXVEO0FBQ3ZELHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFDckMsNkNBQXlDO0FBQ3pDLHFEQUErQztBQUMvQyxtREFBK0M7QUFDL0MsdUNBQTBEO0FBQzFELCtEQUF3RjtBQStFeEY7O0dBRUc7QUFDSCxNQUFzQixZQUFhLFNBQVEsR0FBRyxDQUFDLFNBQVM7SUFXdEQ7Ozs7OztPQU1HO0lBQ0ksU0FBUyxDQUFDLEtBQW9CLEVBQUUsRUFBVSxFQUFFLFFBQTJCLEVBQUU7UUFDOUUsT0FBTyxJQUFJLHNCQUFTLENBQUMsS0FBSyxFQUFFLEVBQUUsa0JBQzVCLFFBQVEsRUFBRSxJQUFJLElBQ1gsS0FBSyxFQUNSLENBQUM7SUFDTCxDQUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0kscUJBQXFCLENBQUMsS0FBb0IsRUFBRSxFQUFVLEVBQUUsS0FBaUM7UUFDOUYsT0FBTyxJQUFJLHdDQUFrQixDQUFDLEtBQUssRUFBRSxFQUFFLGtCQUNyQyxRQUFRLEVBQUUsSUFBSSxJQUNYLEtBQUssRUFDUixDQUFDO0lBQ0wsQ0FBQztJQUVEOzs7Ozs7T0FNRztJQUNJLGVBQWUsQ0FBQyxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUEyQjtRQUNsRixPQUFPLElBQUksNEJBQVksQ0FBQyxLQUFLLEVBQUUsRUFBRSxr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biAgICogVGhlIHZhbHVlIHRvIGVtaXQgaWYgdGhlIHBhdHRlcm4gZG9lcyBub3QgbWF0Y2ggYSBwYXJ0aWN1bGFyIGV2ZW50LlxuICAgKlxuICAgKiBAZGVmYXVsdCBObyBtZXRyaWMgZW1pdHRlZC5cbiAgICovXG4gIHJlYWRvbmx5IGRlZmF1bHRWYWx1ZT86IG51bWJlcjtcbn1cbiJdfQ==

@@ -17,3 +17,3 @@ import cdk = require('@aws-cdk/cdk');

export interface LogStreamImportProps {
logStreamName: string;
readonly logStreamName: string;
}

@@ -27,3 +27,3 @@ /**

*/
logGroup: ILogGroup;
readonly logGroup: ILogGroup;
/**

@@ -36,3 +36,3 @@ * The name of the log stream to create.

*/
logStreamName?: string;
readonly logStreamName?: string;
/**

@@ -49,3 +49,3 @@ * Retain the log stream if the stack or containing construct ceases to exist

*/
retainLogStream?: boolean;
readonly retainLogStream?: boolean;
}

@@ -52,0 +52,0 @@ /**

@@ -49,2 +49,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nLXN0cmVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImxvZy1zdHJlYW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFFckMscURBQWdEO0FBcURoRDs7R0FFRztBQUNILE1BQWEsU0FBVSxTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBQzFDOztPQUVHO0lBQ0ksTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUEyQjtRQUNoRixPQUFPLElBQUksaUJBQWlCLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUNqRCxDQUFDO0lBT0QsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFxQjtRQUNqRSxLQUFLLENBQUMsS0FBSyxFQUFF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coKVxuICAgIH07XG4gIH1cbn1cblxuLyoqXG4gKiBBbiBpbXBvcnRlZCBMb2dTdHJlYW1cbiAqL1xuY2xhc3MgSW1wb3J0ZWRMb2dTdHJlYW0gZXh0ZW5kcyBjZGsuQ29uc3RydWN0IGltcGxlbWVudHMgSUxvZ1N0cmVhbSB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGlzIGxvZyBzdHJlYW1cbiAgICovXG4gIHB1YmxpYyByZWFkb25seSBsb2dTdHJlYW1OYW1lOiBzdHJpbmc7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IGNkay5Db25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByaXZhdGUgcmVhZG9ubHkgcHJvcHM6IExvZ1N0cmVhbUltcG9ydFByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkKTtcblxuICAgIHRoaXMubG9nU3RyZWFtTmFtZSA9IHByb3BzLmxvZ1N0cmVhbU5hbWU7XG4gIH1cblxuICBwdWJsaWMgZXhwb3J0KCkge1xuICAgIHJldHVybiB0aGlzLnByb3BzO1xuICB9XG59XG4iXX0=

@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk');

*/
destinationName: string;
readonly destinationName: string;
/**

@@ -17,3 +17,3 @@ * `AWS::Logs::Destination.DestinationPolicy`

*/
destinationPolicy: string;
readonly destinationPolicy: string;
/**

@@ -23,3 +23,3 @@ * `AWS::Logs::Destination.RoleArn`

*/
roleArn: string;
readonly roleArn: string;
/**

@@ -29,3 +29,3 @@ * `AWS::Logs::Destination.TargetArn`

*/
targetArn: string;
readonly targetArn: string;
}

@@ -70,3 +70,3 @@ /**

*/
logGroupName?: string;
readonly logGroupName?: string;
/**

@@ -76,3 +76,3 @@ * `AWS::Logs::LogGroup.RetentionInDays`

*/
retentionInDays?: number | cdk.Token;
readonly retentionInDays?: number | cdk.Token;
}

@@ -117,3 +117,3 @@ /**

*/
logGroupName: string;
readonly logGroupName: string;
/**

@@ -123,3 +123,3 @@ * `AWS::Logs::LogStream.LogStreamName`

*/
logStreamName?: string;
readonly logStreamName?: string;
}

@@ -160,3 +160,3 @@ /**

*/
filterPattern: string;
readonly filterPattern: string;
/**

@@ -166,3 +166,3 @@ * `AWS::Logs::MetricFilter.LogGroupName`

*/
logGroupName: string;
readonly logGroupName: string;
/**

@@ -172,3 +172,3 @@ * `AWS::Logs::MetricFilter.MetricTransformations`

*/
metricTransformations: Array<CfnMetricFilter.MetricTransformationProperty | cdk.Token> | cdk.Token;
readonly metricTransformations: Array<CfnMetricFilter.MetricTransformationProperty | cdk.Token> | cdk.Token;
}

@@ -209,3 +209,3 @@ /**

*/
defaultValue?: number | cdk.Token;
readonly defaultValue?: number | cdk.Token;
/**

@@ -215,3 +215,3 @@ * `CfnMetricFilter.MetricTransformationProperty.MetricName`

*/
metricName: string;
readonly metricName: string;
/**

@@ -221,3 +221,3 @@ * `CfnMetricFilter.MetricTransformationProperty.MetricNamespace`

*/
metricNamespace: string;
readonly metricNamespace: string;
/**

@@ -227,3 +227,3 @@ * `CfnMetricFilter.MetricTransformationProperty.MetricValue`

*/
metricValue: string;
readonly metricValue: string;
}

@@ -240,3 +240,3 @@ }

*/
destinationArn: string;
readonly destinationArn: string;
/**

@@ -246,3 +246,3 @@ * `AWS::Logs::SubscriptionFilter.FilterPattern`

*/
filterPattern: string;
readonly filterPattern: string;
/**

@@ -252,3 +252,3 @@ * `AWS::Logs::SubscriptionFilter.LogGroupName`

*/
logGroupName: string;
readonly logGroupName: string;
/**

@@ -258,3 +258,3 @@ * `AWS::Logs::SubscriptionFilter.RoleArn`

*/
roleArn?: string;
readonly roleArn?: string;
}

@@ -261,0 +261,0 @@ /**

@@ -11,15 +11,15 @@ import cdk = require('@aws-cdk/cdk');

*/
logGroup: ILogGroup;
readonly logGroup: ILogGroup;
/**
* Pattern to search for log events.
*/
filterPattern: IFilterPattern;
readonly filterPattern: IFilterPattern;
/**
* The namespace of the metric to emit.
*/
metricNamespace: string;
readonly metricNamespace: string;
/**
* The name of the metric to emit.
*/
metricName: string;
readonly metricName: string;
/**

@@ -40,3 +40,3 @@ * The value to emit for the metric.

*/
metricValue?: string;
readonly metricValue?: string;
/**

@@ -47,3 +47,3 @@ * The value to emit if the pattern does not match a particular event.

*/
defaultValue?: number;
readonly defaultValue?: number;
}

@@ -50,0 +50,0 @@ /**

@@ -32,2 +32,2 @@ "use strict";

exports.MetricFilter = MetricFilter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0cmljLWZpbHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm1ldHJpYy1maWx0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFFckMscURBQW1EO0FBb0RuRDs7R0FFRztBQUNILE1BQWEsWUFBYSxTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBQzdDLFlBQVksS0FBb0IsRUFBRSxFQUFVLEVBQUUsS0FBd0I7UUFDcEUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUVqQixzRUFBc0U7UUFDdEUsaURBQWlEO1FBQ2pELEVBQUU7UUFDRixrRUFBa0U7UUFDbEUsK0RBQStEO1FBQy9ELCtEQUErRDtRQUMvRCxFQUFFO1FBQ0YscUdBQXFHO1FBQ3JHLElBQUksZ0NBQWUsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQ3BDLFlBQVksRUFBRSxLQUFLLENBQUMsUUFBUSxDQUFDLFlBQVk7WUFDekMsYUFBYSxFQUFFLEtBQUssQ0FBQyxhQUFhLENBQUMsZ0JBQWdCO1lBQ25ELHFCQUFxQixFQUFFLENBQUM7b0JBQ3RCLGVBQWUsRUFBRSxLQUFLLENBQUMsZUFBZTtvQkFDdEMsVUFBVSxFQUFFLEtBQUssQ0FBQyxVQUFVO29CQUM1QixXQUFXLEVBQUUsS0FBSyxDQUFDLFd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pbHRlcnMuXG4gICAgLy9cbiAgICAvLyBodHRwczovL2RvY3MuYXdzLmFtYXpvbi5jb20vQVdTQ2xvdWRGb3JtYXRpb24vbGF0ZXN0L1VzZXJHdWlkZS9hd3MtcmVzb3VyY2UtbG9ncy1tZXRyaWNmaWx0ZXIuaHRtbFxuICAgIG5ldyBDZm5NZXRyaWNGaWx0ZXIodGhpcywgJ1Jlc291cmNlJywge1xuICAgICAgbG9nR3JvdXBOYW1lOiBwcm9wcy5sb2dHcm91cC5sb2dHcm91cE5hbWUsXG4gICAgICBmaWx0ZXJQYXR0ZXJuOiBwcm9wcy5maWx0ZXJQYXR0ZXJuLmxvZ1BhdHRlcm5TdHJpbmcsXG4gICAgICBtZXRyaWNUcmFuc2Zvcm1hdGlvbnM6IFt7XG4gICAgICAgIG1ldHJpY05hbWVzcGFjZTogcHJvcHMubWV0cmljTmFtZXNwYWNlLFxuICAgICAgICBtZXRyaWNOYW1lOiBwcm9wcy5tZXRyaWNOYW1lLFxuICAgICAgICBtZXRyaWNWYWx1ZTogcHJvcHMubWV0cmljVmFsdWUgIT09IHVuZGVmaW5lZCA/IHByb3BzLm1ldHJpY1ZhbHVlIDogJzEnLFxuICAgICAgICBkZWZhdWx0VmFsdWU6IHByb3BzLmRlZmF1bHRWYWx1ZVxuICAgICAgfV1cbiAgICB9KTtcbiAgfVxufVxuIl19

@@ -182,3 +182,3 @@ /**

*/
comparison: string;
readonly comparison: string;
/**

@@ -189,3 +189,3 @@ * String value to compare to

*/
stringValue?: string;
readonly stringValue?: string;
/**

@@ -196,3 +196,3 @@ * Number value to compare to

*/
numberValue?: number;
readonly numberValue?: number;
}

@@ -404,2 +404,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0dGVybi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInBhdHRlcm4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9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UxJRF9PUEVSQVRPUlMuam9pbignLCAnKX1gKTtcbiAgfVxuXG4gIHJldHVybiBvcGVyYXRvcjtcbn1cblxuLyoqXG4gKiBSZW5kZXIgYSB0YWJsZSByZXN0cmljdGlvblxuICovXG5mdW5jdGlvbiByZW5kZXJSZXN0cmljdGlvbihjb2x1bW46IHN0cmluZywgcmVzdHJpY3Rpb246IENvbHVtblJlc3RyaWN0aW9uKSB7XG4gIGlmIChyZXN0cmljdGlvbi5udW1iZXJWYWx1ZSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgcmV0dXJuIGAke2NvbHVtbn0gJHtyZXN0cmljdGlvbi5jb21wYXJpc29ufSAke3Jlc3RyaWN0aW9uLm51bWJlclZhbHVlfWA7XG4gIH0gZWxzZSBpZiAocmVzdHJpY3Rpb24uc3RyaW5nVmFsdWUpIHtcbiAgICByZXR1cm4gYCR7Y29sdW1ufSAke3Jlc3RyaWN0aW9uLmNvbXBhcmlzb259ICR7cXVvdGVUZXJtKHJlc3RyaWN0aW9uLnN0cmluZ1ZhbHVlKX1gO1xuICB9IGVsc2Uge1xuICAgIHRocm93IG5ldyBFcnJvcignSW52YWxpZCByZXN0cmljdGlvbicpO1xuICB9XG59XG5cbmZ1bmN0aW9uIHN1bSh4czogbnVtYmVyW10pOiBudW1iZXIge1xuICByZXR1cm4geHMucmVkdWNlKChhLCBjKSA9PiBhICsgYywgMCk7XG59XG4iXX0=

@@ -43,3 +43,3 @@ import iam = require('@aws-cdk/aws-iam');

*/
logGroup: ILogGroup;
readonly logGroup: ILogGroup;
/**

@@ -50,7 +50,7 @@ * The destination to send the filtered events to.

*/
destination: ILogSubscriptionDestination;
readonly destination: ILogSubscriptionDestination;
/**
* Log events matching this pattern will be sent to the destination.
*/
filterPattern: IFilterPattern;
readonly filterPattern: IFilterPattern;
}

@@ -57,0 +57,0 @@ /**

@@ -21,2 +21,2 @@ "use strict";

exports.SubscriptionFilter = SubscriptionFilter;
//# sourceMappingURL=data:application/json;base64,eyJ2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Jlc291cmNlJywge1xuICAgICAgbG9nR3JvdXBOYW1lOiBwcm9wcy5sb2dHcm91cC5sb2dHcm91cE5hbWUsXG4gICAgICBkZXN0aW5hdGlvbkFybjogZGVzdFByb3BzLmFybixcbiAgICAgIHJvbGVBcm46IGRlc3RQcm9wcy5yb2xlICYmIGRlc3RQcm9wcy5yb2xlLnJvbGVBcm4sXG4gICAgICBmaWx0ZXJQYXR0ZXJuOiBwcm9wcy5maWx0ZXJQYXR0ZXJuLmxvZ1BhdHRlcm5TdHJpbmdcbiAgICB9KTtcbiAgfVxufVxuIl19
{
"name": "@aws-cdk/aws-logs",
"version": "0.26.0",
"version": "0.27.0",
"description": "The CDK Construct Library for AWS::Logs",

@@ -23,3 +23,7 @@ "main": "lib/index.js",

},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.aws-logs",
"module": "aws_cdk.aws_logs"
}
}

@@ -58,18 +62,18 @@ },

"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"cfn2ts": "^0.26.0",
"pkglint": "^0.26.0"
"@aws-cdk/assert": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"cfn2ts": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/aws-cloudwatch": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-cloudwatch": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-cloudwatch": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-cloudwatch": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},

@@ -76,0 +80,0 @@ "engines": {

@@ -10,3 +10,3 @@ "use strict";

const logGroup = new lib_1.LogGroup(stack, 'LogGroup', {
retentionDays: 7
retentionDays: lib_1.RetentionDays.OneWeek
});

@@ -28,2 +28,2 @@ /// !hide

Array.isArray(infiniteLogGroup);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZS5yZXRlbnRpb24ubGl0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXhhbXBsZS5yZXRlbnRpb24ubGl0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQXFDO0FBQ3JDLGdDQUFrQztBQUVsQyxNQUFNLEtBQUssR0FBRyxJQUFJLFdBQUssRUFBRSxDQUFDO0FBRTFCLFNBQVMsYUFBYTtJQUNwQixTQUFTO0lBQ1QsMENBQTBDO0lBQzFDLE1BQU0sUUFBUSxHQUFHLElBQUksY0FBUSxDQUFDLEtBQUssRUFBRSxVQUFVLEVBQUU7UUFDL0MsYUFBYSxFQUFFLENBQUM7S0FDakIsQ0FBQyxDQUFDO0lBQ0gsU0FBUztJQUNULE9BQU8sUUFBUSxDQUFDO0FBQ2xCLENBQUM7QUFFRCxTQUFTLGdCQUFnQjtJQUN2QixTQUFTO0lBQ1QsNkNBQTZDO0lBQzdDLE1BQU0sUUFBUSxHQUFHLElBQUksY0FBUSxDQUFDLEtBQUssRUFBRSxVQUFVLEVBQUU7UUFDL0MsYUFBYSxFQUFFLFFBQVE7S0FDeEIsQ0FBQyxDQUFDO0lBQ0gsU0FBUztJQUNULE9BQU8sUUFBUSxDQUFDO0FBQ2xCLENBQUM7QUFFRCxFQUFFO0FBRUYsS0FBSyxDQUFDLE9BQU8sQ0FBQyxhQUFhLENBQUMsQ0FBQztBQUM3QixLQUFLLENBQUMsT0FBTyxDQUFDLGdCQUFnQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBT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XG4gIHJldHVybiBsb2dHcm91cDtcbn1cblxuZnVuY3Rpb24gaW5maW5pdGVMb2dHcm91cCgpIHtcbiAgLy8vICFzaG93XG4gIC8vIENvbmZpZ3VyZSBsb2cgZ3JvdXAgZm9yIGluZmluaXRlIHJldGVudGlvblxuICBjb25zdCBsb2dHcm91cCA9IG5ldyBMb2dHcm91cChzdGFjaywgJ0xvZ0dyb3VwJywge1xuICAgIHJldGVudGlvbkRheXM6IEluZmluaXR5XG4gIH0pO1xuICAvLy8gIWhpZGVcbiAgcmV0dXJuIGxvZ0dyb3VwO1xufVxuXG4vL1xuXG5BcnJheS5pc0FycmF5KHNob3J0TG9nR3JvdXApO1xuQXJyYXkuaXNBcnJheShpbmZpbml0ZUxvZ0dyb3VwKTtcbiJdfQ==

@@ -12,3 +12,3 @@ "use strict";

new lib_1.LogGroup(stack, 'LogGroup', {
retentionDays: 7
retentionDays: lib_1.RetentionDays.OneWeek
});

@@ -144,2 +144,2 @@ // THEN

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5sb2dncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QubG9nZ3JvdXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUFzRTtBQUN0RSx3Q0FBeUM7QUFDekMsc0NBQXFDO0FBRXJDLGdDQUFrQztBQUVsQyxpQkFBUztJQUNQLGlCQUFpQixDQUFDLElBQVU7UUFDMUIsUUFBUTtRQUNSLE1BQU0sS0FBSyxHQUFHLElBQUksV0FBSyxFQUFFLENBQUM7UUFFMUIsT0FBTztRQUNQLElBQUksY0FBUSxDQUFDLEtBQUssRUFBRSxVQUFVLEVBQUU7WUFDOUIsYUFBYSxFQUFFLENBQUM7U0FDakIsQ0FBQyxDQUFDO1FBRUgsT0FBTztRQUNQLGVBQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMscUJBQ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1VzZXInKTtcblxuICAgIC8vIFdIRU5cbiAgICBsZy5ncmFudFdyaXRlKHVzZXIpO1xuXG4gICAgLy8gVEhFTlxuICAgIGV4cGVjdChzdGFjaykudG8oaGF2ZVJlc291cmNlKCdBV1M6OklBTTo6UG9saWN5Jywge1xuICAgICAgUG9saWN5RG9jdW1lbnQ6IHtcbiAgICAgICAgU3RhdGVtZW50OiBbXG4gICAgICAgICAge1xuICAgICAgICAgICAgQWN0aW9uOiBbIFwibG9nczpDcmVhdGVMb2dTdHJlYW1cIiwgXCJsb2dzOlB1dExvZ0V2ZW50c1wiIF0sXG4gICAgICAgICAgICBFZmZlY3Q6IFwiQWxsb3dcIixcbiAgICAgICAgICAgIFJlc291cmNlOiB7IFwiRm46OkdldEF0dFwiOiBbIFwiTG9nR3JvdXBGNUI0NjkzMVwiLCBcIkFyblwiIF0gfVxuICAgICAgICAgIH1cbiAgICAgICAgXSxcbiAgICAgICAgVmVyc2lvbjogXCIyMDEyLTEwLTE3XCJcbiAgICAgIH1cbiAgICB9KSk7XG5cbiAgICB0ZXN0LmRvbmUoKTtcbiAgfSxcbn07XG4iXX0=

@@ -25,2 +25,3 @@ {

"strictNullChecks": true,
"stripInternal": true,
"target": "ES2018",

@@ -27,0 +28,0 @@ "composite": true

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc