@aws-cdk/aws-sqs
Advanced tools
Comparing version 0.35.0 to 0.36.0
import { PolicyDocument } from '@aws-cdk/aws-iam'; | ||
import { Construct, Resource } from '@aws-cdk/cdk'; | ||
import { Construct, Resource } from '@aws-cdk/core'; | ||
import { IQueue } from './queue-base'; | ||
@@ -4,0 +4,0 @@ export interface QueuePolicyProps { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const aws_iam_1 = require("@aws-cdk/aws-iam"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const sqs_generated_1 = require("./sqs.generated"); | ||
@@ -9,3 +9,3 @@ /** | ||
*/ | ||
class QueuePolicy extends cdk_1.Resource { | ||
class QueuePolicy extends core_1.Resource { | ||
constructor(scope, id, props) { | ||
@@ -24,2 +24,2 @@ super(scope, id); | ||
exports.QueuePolicy = QueuePolicy; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9saWN5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicG9saWN5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsOENBQWtEO0FBQ2xELHNDQUFtRDtBQUVuRCxtREFBaUQ7QUFTakQ7O0dBRUc7QUFDSCxNQUFhLFdBQVksU0FBUSxjQUFRO0lBTXZDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBdUI7UUFDL0QsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQU5uQjs7V0FFRztRQUNhLGFBQVEsR0FBRyxJQUFJLHdCQUFjLEVBQUUsQ0FBQztRQUs5QyxJQUFJLDhCQUFjLENBQUMsSUFBSSxFQUFFLFVBQVUsRUFBRTtZQUNuQyxjQUFjLEVBQUUsSUFBSSxDQUFDLFFBQVE7WUFDN0IsTUFBTSxFQUFFLEtBQUssQ0FBQyxNQUFNLENBQUMsR0FBRyxDQU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ldWVQb2xpY3kgfSBmcm9tICcuL3Nxcy5nZW5lcmF0ZWQnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFF1ZXVlUG9saWN5UHJvcHMge1xuICAvKipcbiAgICogVGhlIHNldCBvZiBxdWV1ZXMgdGhpcyBwb2xpY3kgYXBwbGllcyB0by5cbiAgICovXG4gIHJlYWRvbmx5IHF1ZXVlczogSVF1ZXVlW107XG59XG5cbi8qKlxuICogQXBwbGllcyBhIHBvbGljeSB0byBTUVMgcXVldWVzLlxuICovXG5leHBvcnQgY2xhc3MgUXVldWVQb2xpY3kgZXh0ZW5kcyBSZXNvdXJjZSB7XG4gIC8qKlxuICAgKiBUaGUgSUFNIHBvbGljeSBkb2N1bWVudCBmb3IgdGhpcyBwb2xpY3kuXG4gICAqL1xuICBwdWJsaWMgcmVhZG9ubHkgZG9jdW1lbnQgPSBuZXcgUG9saWN5RG9jdW1lbnQoKTtcblxuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogUXVldWVQb2xpY3lQcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCk7XG5cbiAgICBuZXcgQ2ZuUXVldWVQb2xpY3kodGhpcywgJ1Jlc291cmNlJywge1xuICAgICAgcG9saWN5RG9jdW1lbnQ6IHRoaXMuZG9jdW1lbnQsXG4gICAgICBxdWV1ZXM6IHByb3BzLnF1ZXVlcy5tYXAocSA9PiBxLnF1ZXVlVXJsKVxuICAgIH0pO1xuICB9XG59XG4iXX0= |
import iam = require('@aws-cdk/aws-iam'); | ||
import kms = require('@aws-cdk/aws-kms'); | ||
import { IResource, Resource } from '@aws-cdk/cdk'; | ||
import { IResource, Resource } from '@aws-cdk/core'; | ||
export interface IQueue extends IResource { | ||
@@ -5,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const iam = require("@aws-cdk/aws-iam"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const policy_1 = require("./policy"); | ||
@@ -9,3 +9,3 @@ /** | ||
*/ | ||
class QueueBase extends cdk_1.Resource { | ||
class QueueBase extends core_1.Resource { | ||
/** | ||
@@ -95,2 +95,2 @@ * Adds a statement to the IAM resource policy associated with this queue. | ||
exports.QueueBase = QueueBase; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVldWUtYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInF1ZXVlLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3Q0FBeUM7QUFFekMsc0NBQW1EO0FBQ25ELHFDQUF1QztBQXNGdkM7O0dBRUc7QUFDSCxNQUFzQixTQUFVLFNBQVEsY0FBUTtJQStCOUM7Ozs7OztPQU1HO0lBQ0ksbUJBQW1CLENBQUMsU0FBOEI7UUFDdkQsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLElBQUksSUFBSSxDQUFDLGdCQUFnQixFQUFFO1lBQ3pDLElBQUksQ0FBQyxNQUFNLEdBQUcsSUFBSSxvQkFBVyxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsRUFBRSxNQUFNLEVBQUUsQ0FBRSxJQUFJLENBQUUsRUFBRSxDQUFDLENBQUM7U0FDckU7UUFFRCxJQUFJLElBQUksQ0FBQyxNQUFNLEVBQUU7WUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxhQUFhLENBQUMsU0FBUyxDQUFDLENBQUM7U0FDL0M7SUFDSCxDQUFDO0lBRUQ7Ozs7Ozs7Ozs7OztPQVlHO0lBQ0ksb0JBQW9CLENBQUMsT0FBdUI7UUFDakQsTUFBTSxHQUFHLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLEVBQzVCLG9CQUFvQixFQUNwQiw2QkFBNkIsRUFDN0IsaUJBQWlCLEVBQ2p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dGVkIGJ5IGEgS01TIGtleS5cbiAgICovXG4gIHJlYWRvbmx5IGtleUFybj86IHN0cmluZztcbn1cbiJdfQ== |
import kms = require('@aws-cdk/aws-kms'); | ||
import { Construct } from '@aws-cdk/cdk'; | ||
import { Construct, Duration } from '@aws-cdk/core'; | ||
import { IQueue, QueueAttributes, QueueBase } from './queue-base'; | ||
@@ -22,5 +22,5 @@ /** | ||
* | ||
* @default 345600 seconds (4 days) | ||
* @default Duration.days(4) | ||
*/ | ||
readonly retentionPeriodSec?: number; | ||
readonly retentionPeriod?: Duration; | ||
/** | ||
@@ -34,3 +34,3 @@ * The time in seconds that the delivery of all messages in the queue is delayed. | ||
*/ | ||
readonly deliveryDelaySec?: number; | ||
readonly deliveryDelay?: Duration; | ||
/** | ||
@@ -55,3 +55,3 @@ * The limit of how many bytes that a message can contain before Amazon SQS rejects it. | ||
*/ | ||
readonly receiveMessageWaitTimeSec?: number; | ||
readonly receiveMessageWaitTime?: Duration; | ||
/** | ||
@@ -67,5 +67,5 @@ * Timeout of processing a single message. | ||
* | ||
* @default 30 | ||
* @default Duration.seconds(30) | ||
*/ | ||
readonly visibilityTimeoutSec?: number; | ||
readonly visibilityTimeout?: Duration; | ||
/** | ||
@@ -106,5 +106,5 @@ * Send messages to this queue if they were unsuccessfully dequeued a number of times. | ||
* | ||
* @default 300 (5 minutes) | ||
* @default Duration.minutes(5) | ||
*/ | ||
readonly dataKeyReuseSec?: number; | ||
readonly dataKeyReuse?: Duration; | ||
/** | ||
@@ -152,7 +152,7 @@ * Whether this a first-in-first-out (FIFO) queue. | ||
*/ | ||
Unencrypted = "NONE", | ||
UNENCRYPTED = "NONE", | ||
/** | ||
* Server-side KMS encryption with a master key managed by SQS. | ||
*/ | ||
KmsManaged = "MANAGED", | ||
KMS_MANAGED = "MANAGED", | ||
/** | ||
@@ -163,3 +163,3 @@ * Server-side encryption with a KMS key managed by the user. | ||
*/ | ||
Kms = "KMS" | ||
KMS = "KMS" | ||
} | ||
@@ -166,0 +166,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const kms = require("@aws-cdk/aws-kms"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const queue_base_1 = require("./queue-base"); | ||
@@ -16,7 +16,7 @@ const sqs_generated_1 = require("./sqs.generated"); | ||
*/ | ||
QueueEncryption["Unencrypted"] = "NONE"; | ||
QueueEncryption["UNENCRYPTED"] = "NONE"; | ||
/** | ||
* Server-side KMS encryption with a master key managed by SQS. | ||
*/ | ||
QueueEncryption["KmsManaged"] = "MANAGED"; | ||
QueueEncryption["KMS_MANAGED"] = "MANAGED"; | ||
/** | ||
@@ -27,3 +27,3 @@ * Server-side encryption with a KMS key managed by the user. | ||
*/ | ||
QueueEncryption["Kms"] = "KMS"; | ||
QueueEncryption["KMS"] = "KMS"; | ||
})(QueueEncryption = exports.QueueEncryption || (exports.QueueEncryption = {})); | ||
@@ -35,3 +35,5 @@ /** | ||
constructor(scope, id, props = {}) { | ||
super(scope, id); | ||
super(scope, id, { | ||
physicalName: props.queueName, | ||
}); | ||
this.autoCreatePolicy = true; | ||
@@ -47,25 +49,28 @@ validate_props_1.validateProps(props); | ||
const queue = new sqs_generated_1.CfnQueue(this, 'Resource', { | ||
queueName: props.queueName, | ||
queueName: this.physicalName, | ||
...this.determineFifoProps(props), | ||
...encryptionProps, | ||
redrivePolicy, | ||
delaySeconds: props.deliveryDelaySec, | ||
delaySeconds: props.deliveryDelay && props.deliveryDelay.toSeconds(), | ||
maximumMessageSize: props.maxMessageSizeBytes, | ||
messageRetentionPeriod: props.retentionPeriodSec, | ||
receiveMessageWaitTimeSeconds: props.receiveMessageWaitTimeSec, | ||
visibilityTimeout: props.visibilityTimeoutSec, | ||
messageRetentionPeriod: props.retentionPeriod && props.retentionPeriod.toSeconds(), | ||
receiveMessageWaitTimeSeconds: props.receiveMessageWaitTime && props.receiveMessageWaitTime.toSeconds(), | ||
visibilityTimeout: props.visibilityTimeout && props.visibilityTimeout.toSeconds(), | ||
}); | ||
this.queueArn = this.getResourceArnAttribute(queue.attrArn, { | ||
service: 'sqs', | ||
resource: this.physicalName, | ||
}); | ||
this.queueName = this.getResourceNameAttribute(queue.attrQueueName); | ||
this.encryptionMasterKey = encryptionMasterKey; | ||
this.queueArn = queue.attrArn; | ||
this.queueName = queue.attrQueueName; | ||
this.queueUrl = queue.refAsString; | ||
this.queueUrl = queue.ref; | ||
function _determineEncryptionProps() { | ||
let encryption = props.encryption || QueueEncryption.Unencrypted; | ||
if (encryption !== QueueEncryption.Kms && props.encryptionMasterKey) { | ||
encryption = QueueEncryption.Kms; // KMS is implied by specifying an encryption key | ||
let encryption = props.encryption || QueueEncryption.UNENCRYPTED; | ||
if (encryption !== QueueEncryption.KMS && props.encryptionMasterKey) { | ||
encryption = QueueEncryption.KMS; // KMS is implied by specifying an encryption key | ||
} | ||
if (encryption === QueueEncryption.Unencrypted) { | ||
if (encryption === QueueEncryption.UNENCRYPTED) { | ||
return { encryptionProps: {} }; | ||
} | ||
if (encryption === QueueEncryption.KmsManaged) { | ||
if (encryption === QueueEncryption.KMS_MANAGED) { | ||
const masterKey = kms.Key.fromKeyArn(this, 'Key', 'alias/aws/sqs'); | ||
@@ -76,7 +81,7 @@ return { | ||
kmsMasterKeyId: 'alias/aws/sqs', | ||
kmsDataKeyReusePeriodSeconds: props.dataKeyReuseSec | ||
kmsDataKeyReusePeriodSeconds: props.dataKeyReuse && props.dataKeyReuse.toSeconds() | ||
} | ||
}; | ||
} | ||
if (encryption === QueueEncryption.Kms) { | ||
if (encryption === QueueEncryption.KMS) { | ||
const masterKey = props.encryptionMasterKey || new kms.Key(this, 'Key', { | ||
@@ -89,3 +94,3 @@ description: `Created by ${this.node.path}` | ||
kmsMasterKeyId: masterKey.keyArn, | ||
kmsDataKeyReusePeriodSeconds: props.dataKeyReuseSec | ||
kmsDataKeyReusePeriodSeconds: props.dataKeyReuse && props.dataKeyReuse.toSeconds() | ||
} | ||
@@ -104,3 +109,3 @@ }; | ||
static fromQueueAttributes(scope, id, attrs) { | ||
const stack = cdk_1.Stack.of(scope); | ||
const stack = core_1.Stack.of(scope); | ||
const queueName = attrs.queueName || stack.parseArn(attrs.queueArn).resource; | ||
@@ -128,3 +133,4 @@ const queueUrl = attrs.queueUrl || `https://sqs.${stack.region}.${stack.urlSuffix}/${stack.account}/${queueName}`; | ||
let fifoQueue = props.fifo; | ||
if (typeof fifoQueue === 'undefined' && typeof props.queueName === 'string' && props.queueName.endsWith('.fifo')) { | ||
const queueName = props.queueName; | ||
if (typeof fifoQueue === 'undefined' && queueName && !core_1.Token.isUnresolved(queueName) && queueName.endsWith('.fifo')) { | ||
fifoQueue = true; | ||
@@ -136,7 +142,7 @@ } | ||
// If we have a name, see that it agrees with the FIFO setting | ||
if (typeof props.queueName === 'string') { | ||
if (fifoQueue && !props.queueName.endsWith('.fifo')) { | ||
if (typeof queueName === 'string') { | ||
if (fifoQueue && !queueName.endsWith('.fifo')) { | ||
throw new Error("FIFO queue names must end in '.fifo'"); | ||
} | ||
if (!fifoQueue && props.queueName.endsWith('.fifo')) { | ||
if (!fifoQueue && queueName.endsWith('.fifo')) { | ||
throw new Error("Non-FIFO queue name may not end in '.fifo'"); | ||
@@ -155,2 +161,2 @@ } | ||
exports.Queue = Queue; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVldWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJxdWV1ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUF5QztBQUN6QyxzQ0FBZ0Q7QUFDaEQsNkNBQWtFO0FBQ2xFLG1EQUEyQztBQUMzQyxxREFBaUQ7QUF3SmpEOztHQUVHO0FBQ0gsSUFBWSxlQWlCWDtBQWpCRCxXQUFZLGVBQWU7SUFDekI7O09BRUc7SUFDSCx1Q0FBb0IsQ0FBQTtJQUVwQjs7T0FFRzt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NlZERlZHVwbGljYXRpb246IHByb3BzLmNvbnRlbnRCYXNlZERlZHVwbGljYXRpb24sXG4gICAgICBmaWZvUXVldWUsXG4gICAgfTtcbiAgfVxufVxuXG5pbnRlcmZhY2UgRmlmb1Byb3BzIHtcbiAgcmVhZG9ubHkgZmlmb1F1ZXVlPzogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY29udGVudEJhc2VkRGVkdXBsaWNhdGlvbj86IGJvb2xlYW47XG59XG5cbmludGVyZmFjZSBFbmNyeXB0aW9uUHJvcHMge1xuICByZWFkb25seSBrbXNNYXN0ZXJLZXlJZD86IHN0cmluZztcbiAgcmVhZG9ubHkga21zRGF0YUtleVJldXNlUGVyaW9kU2Vjb25kcz86IG51bWJlcjtcbn1cbiJdfQ== |
@@ -1,4 +0,6 @@ | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
/** | ||
* Properties for defining a `AWS::SQS::Queue` | ||
* | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html | ||
@@ -56,3 +58,3 @@ */ | ||
*/ | ||
readonly redrivePolicy?: object | cdk.IResolvable; | ||
readonly redrivePolicy?: any | cdk.IResolvable; | ||
/** | ||
@@ -73,2 +75,3 @@ * `AWS::SQS::Queue.Tags` | ||
* @cloudformationResource AWS::SQS::Queue | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html | ||
@@ -80,3 +83,3 @@ */ | ||
*/ | ||
static readonly cfnResourceTypeName = "AWS::SQS::Queue"; | ||
static readonly CFN_RESOURCE_TYPE_NAME = "AWS::SQS::Queue"; | ||
/** | ||
@@ -139,3 +142,3 @@ * @cloudformationAttribute Arn | ||
*/ | ||
redrivePolicy: object | cdk.IResolvable | undefined; | ||
redrivePolicy: any | cdk.IResolvable | undefined; | ||
/** | ||
@@ -170,2 +173,4 @@ * `AWS::SQS::Queue.Tags` | ||
* Properties for defining a `AWS::SQS::QueuePolicy` | ||
* | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html | ||
@@ -178,3 +183,3 @@ */ | ||
*/ | ||
readonly policyDocument: object | cdk.IResolvable; | ||
readonly policyDocument: any | cdk.IResolvable; | ||
/** | ||
@@ -190,2 +195,3 @@ * `AWS::SQS::QueuePolicy.Queues` | ||
* @cloudformationResource AWS::SQS::QueuePolicy | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html | ||
@@ -197,3 +203,3 @@ */ | ||
*/ | ||
static readonly cfnResourceTypeName = "AWS::SQS::QueuePolicy"; | ||
static readonly CFN_RESOURCE_TYPE_NAME = "AWS::SQS::QueuePolicy"; | ||
/** | ||
@@ -203,3 +209,3 @@ * `AWS::SQS::QueuePolicy.PolicyDocument` | ||
*/ | ||
policyDocument: object | cdk.IResolvable; | ||
policyDocument: any | cdk.IResolvable; | ||
/** | ||
@@ -206,0 +212,0 @@ * `AWS::SQS::QueuePolicy.Queues` |
@@ -5,6 +5,6 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-06-19T14:41:09.943Z","fingerprint":"HcgvmBltJnsL5wnhViAnChFf+RA99OFxA4LTUXiqMMY="} | ||
// @cfn2ts:meta@ {"generated":"2019-06-25T13:45:03.906Z","fingerprint":"HcgvmBltJnsL5wnhViAnChFf+RA99OFxA4LTUXiqMMY="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
/** | ||
@@ -68,2 +68,3 @@ * Determine whether the given properties match those of a `CfnQueueProps` | ||
* @cloudformationResource AWS::SQS::Queue | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html | ||
@@ -80,3 +81,3 @@ */ | ||
constructor(scope, id, props = {}) { | ||
super(scope, id, { type: CfnQueue.cfnResourceTypeName, properties: props }); | ||
super(scope, id, { type: CfnQueue.CFN_RESOURCE_TYPE_NAME, properties: props }); | ||
this.attrArn = cdk.Token.asString(this.getAtt('Arn')); | ||
@@ -94,3 +95,3 @@ this.attrQueueName = cdk.Token.asString(this.getAtt('QueueName')); | ||
this.redrivePolicy = props.redrivePolicy; | ||
this.tags = new cdk.TagManager(cdk.TagType.Standard, "AWS::SQS::Queue", props.tags); | ||
this.tags = new cdk.TagManager(cdk.TagType.STANDARD, "AWS::SQS::Queue", props.tags); | ||
this.visibilityTimeout = props.visibilityTimeout; | ||
@@ -121,3 +122,3 @@ } | ||
*/ | ||
CfnQueue.cfnResourceTypeName = "AWS::SQS::Queue"; | ||
CfnQueue.CFN_RESOURCE_TYPE_NAME = "AWS::SQS::Queue"; | ||
exports.CfnQueue = CfnQueue; | ||
@@ -164,2 +165,3 @@ /** | ||
* @cloudformationResource AWS::SQS::QueuePolicy | ||
* @stable | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html | ||
@@ -176,3 +178,3 @@ */ | ||
constructor(scope, id, props) { | ||
super(scope, id, { type: CfnQueuePolicy.cfnResourceTypeName, properties: props }); | ||
super(scope, id, { type: CfnQueuePolicy.CFN_RESOURCE_TYPE_NAME, properties: props }); | ||
cdk.requireProperty(props, 'policyDocument', this); | ||
@@ -196,4 +198,4 @@ cdk.requireProperty(props, 'queues', this); | ||
*/ | ||
CfnQueuePolicy.cfnResourceTypeName = "AWS::SQS::QueuePolicy"; | ||
CfnQueuePolicy.CFN_RESOURCE_TYPE_NAME = "AWS::SQS::QueuePolicy"; | ||
exports.CfnQueuePolicy = CfnQueuePolicy; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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ybiB7XG4gICAgICAgICAgICBwb2xpY3lEb2N1bWVudDogdGhpcy5wb2xpY3lEb2N1bWVudCxcbiAgICAgICAgICAgIHF1ZXVlczogdGhpcy5xdWV1ZXMsXG4gICAgICAgIH07XG4gICAgfVxuICAgIHByb3RlY3RlZCByZW5kZXJQcm9wZXJ0aWVzKHByb3BzOiB7W2tleTogc3RyaW5nXTogYW55fSk6IHsgW2tleTogc3RyaW5nXTogYW55IH0gIHtcbiAgICAgICAgcmV0dXJuIGNmblF1ZXVlUG9saWN5UHJvcHNUb0Nsb3VkRm9ybWF0aW9uKHByb3BzKTtcbiAgICB9XG59XG4iXX0= |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function validateProps(props) { | ||
validateRange('delivery delay', props.deliveryDelaySec, 0, 900, 'seconds'); | ||
validateRange('delivery delay', props.deliveryDelay && props.deliveryDelay.toSeconds(), 0, 900, 'seconds'); | ||
validateRange('maximum message size', props.maxMessageSizeBytes, 1024, 262144, 'bytes'); | ||
validateRange('message retention period', props.retentionPeriodSec, 60, 1209600, 'seconds'); | ||
validateRange('receive wait time', props.receiveMessageWaitTimeSec, 0, 20, 'seconds'); | ||
validateRange('visibility timeout', props.visibilityTimeoutSec, 0, 43200, 'seconds'); | ||
validateRange('message retention period', props.retentionPeriod && props.retentionPeriod.toSeconds(), 60, 1209600, 'seconds'); | ||
validateRange('receive wait time', props.receiveMessageWaitTime && props.receiveMessageWaitTime.toSeconds(), 0, 20, 'seconds'); | ||
validateRange('visibility timeout', props.visibilityTimeout && props.visibilityTimeout.toSeconds(), 0, 43200, 'seconds'); | ||
validateRange('dead letter target maximum receive count', props.deadLetterQueue && props.deadLetterQueue.maxReceiveCount, 1, +Infinity); | ||
@@ -24,2 +24,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUtcHJvcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ2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gPiBtYXhWYWx1ZSkgeyB0aHJvdyBuZXcgRXJyb3IoYCR7bGFiZWx9IG11c3QgYmUgJHttYXhWYWx1ZX0ke3VuaXRTdWZmaXh9IG9mIGxlc3MsIGJ1dCAke3ZhbHVlfSB3YXMgcHJvdmlkZWRgKTsgfVxufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-sqs", | ||
"version": "0.35.0", | ||
"version": "0.36.0", | ||
"description": "CDK Constructs for AWS SQS", | ||
@@ -66,22 +66,22 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.35.0", | ||
"@aws-cdk/aws-s3": "^0.35.0", | ||
"@aws-cdk/assert": "^0.36.0", | ||
"@aws-cdk/aws-s3": "^0.36.0", | ||
"aws-sdk": "^2.438.0", | ||
"cdk-build-tools": "^0.35.0", | ||
"cdk-integ-tools": "^0.35.0", | ||
"cfn2ts": "^0.35.0", | ||
"pkglint": "^0.35.0" | ||
"cdk-build-tools": "^0.36.0", | ||
"cdk-integ-tools": "^0.36.0", | ||
"cfn2ts": "^0.36.0", | ||
"pkglint": "^0.36.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-cloudwatch": "^0.35.0", | ||
"@aws-cdk/aws-iam": "^0.35.0", | ||
"@aws-cdk/aws-kms": "^0.35.0", | ||
"@aws-cdk/cdk": "^0.35.0" | ||
"@aws-cdk/aws-cloudwatch": "^0.36.0", | ||
"@aws-cdk/aws-iam": "^0.36.0", | ||
"@aws-cdk/aws-kms": "^0.36.0", | ||
"@aws-cdk/core": "^0.36.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-cloudwatch": "^0.35.0", | ||
"@aws-cdk/aws-iam": "^0.35.0", | ||
"@aws-cdk/aws-kms": "^0.35.0", | ||
"@aws-cdk/cdk": "^0.35.0" | ||
"@aws-cdk/aws-cloudwatch": "^0.36.0", | ||
"@aws-cdk/aws-iam": "^0.36.0", | ||
"@aws-cdk/aws-kms": "^0.36.0", | ||
"@aws-cdk/core": "^0.36.0" | ||
}, | ||
@@ -93,3 +93,4 @@ "engines": { | ||
"exclude": [ | ||
"construct-base-is-private:@aws-cdk/aws-sqs.QueueBase" | ||
"construct-base-is-private:@aws-cdk/aws-sqs.QueueBase", | ||
"props-physical-name:@aws-cdk/aws-sqs.QueuePolicyProps" | ||
] | ||
@@ -96,0 +97,0 @@ }, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const lib_1 = require("../lib"); | ||
const app = new cdk_1.App(); | ||
const stack = new cdk_1.Stack(app, 'aws-cdk-sqs'); | ||
const app = new core_1.App(); | ||
const stack = new core_1.Stack(app, 'aws-cdk-sqs'); | ||
const dlq = new lib_1.Queue(stack, 'DeadLetterQueue'); | ||
@@ -14,4 +14,4 @@ const queue = new lib_1.Queue(stack, 'Queue', { | ||
}); | ||
new cdk_1.CfnOutput(stack, 'QueueUrl', { value: queue.queueUrl }); | ||
new core_1.CfnOutput(stack, 'QueueUrl', { value: queue.queueUrl }); | ||
app.synth(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuc3FzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcuc3FzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQXFEO0FBQ3JELGdDQUErQjtBQUUvQixNQUFNLEdBQUcsR0FBRyxJQUFJLFNBQUcsRUFBRSxDQUFDO0FBRXRCLE1BQU0sS0FBSyxHQUFHLElBQUksV0FBSyxDQUFDLEdBQUcsRUFBRSxhQUFhLENBQUMsQ0FBQztBQUU1QyxNQUFNLEdBQUcsR0FBRyxJQUFJLFdBQUssQ0FBQyxLQUFLLEVBQUUsaUJBQWlCLENBQUMsQ0FBQztBQUNoRCxNQUFNL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soYXBwLCAnYXdzLWNkay1zcXMnKTtcblxuY29uc3QgZGxxID0gbmV3IFF1ZXVlKHN0YWNrLCAnRGVhZExldHRlclF1ZXVlJyk7XG5jb25zdCBxdWV1ZSA9IG5ldyBRdWV1ZShzdGFjaywgJ1F1ZXVlJywge1xuICBkZWFkTGV0dGVyUXVldWU6IHsgcXVldWU6IGRscSwgbWF4UmVjZWl2ZUNvdW50OiA1IH1cbn0pO1xuXG5uZXcgUXVldWUoc3RhY2ssICdGaWZvUXVldWUnLCB7XG4gIGZpZm86IHRydWVcbn0pO1xuXG5uZXcgQ2ZuT3V0cHV0KHN0YWNrLCAnUXVldWVVcmwnLCB7IHZhbHVlOiBxdWV1ZS5xdWV1ZVVybCB9KTtcblxuYXBwLnN5bnRoKCk7XG4iXX0= |
@@ -5,7 +5,7 @@ "use strict"; | ||
const kms = require("@aws-cdk/aws-kms"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const sqs = require("../lib"); | ||
const lib_1 = require("../lib"); | ||
function testGrant(action, ...expectedActions) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const queue = new lib_1.Queue(stack, 'MyQueue'); | ||
@@ -34,3 +34,3 @@ const principal = new iam.User(stack, 'User'); | ||
'default properties'(test) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
new sqs.Queue(stack, 'Queue'); | ||
@@ -47,3 +47,3 @@ assert_1.expect(stack).toMatch({ | ||
'with a dead letter queue'(test) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const dlq = new sqs.Queue(stack, 'DLQ'); | ||
@@ -75,3 +75,3 @@ new sqs.Queue(stack, 'Queue', { deadLetterQueue: { queue: dlq, maxReceiveCount: 3 } }); | ||
'addToPolicy will automatically create a policy for this queue'(test) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const queue = new sqs.Queue(stack, 'MyQueue'); | ||
@@ -117,3 +117,3 @@ queue.addToResourcePolicy(new iam.PolicyStatement({ | ||
// GIVEN | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
// WHEN | ||
@@ -146,3 +146,3 @@ const imports = sqs.Queue.fromQueueArn(stack, 'Imported', 'arn:aws:sqs:us-east-1:123456789012:queue1'); | ||
'grants also work on imported queues'(test) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const queue = lib_1.Queue.fromQueueAttributes(stack, 'Import', { | ||
@@ -175,3 +175,3 @@ queueArn: 'arn:aws:sqs:us-east-1:123456789012:queue1', | ||
'encryptionMasterKey can be set to a custom KMS key'(test) { | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const key = new kms.Key(stack, 'CustomKey'); | ||
@@ -186,4 +186,4 @@ const queue = new sqs.Queue(stack, 'Queue', { encryptionMasterKey: key }); | ||
'a kms key will be allocated if encryption = kms but a master key is not specified'(test) { | ||
const stack = new cdk_1.Stack(); | ||
new sqs.Queue(stack, 'Queue', { encryption: sqs.QueueEncryption.Kms }); | ||
const stack = new core_1.Stack(); | ||
new sqs.Queue(stack, 'Queue', { encryption: sqs.QueueEncryption.KMS }); | ||
assert_1.expect(stack).to(assert_1.haveResource('AWS::KMS::Key')); | ||
@@ -201,4 +201,4 @@ assert_1.expect(stack).to(assert_1.haveResource('AWS::SQS::Queue', { | ||
'it is possible to use a managed kms key'(test) { | ||
const stack = new cdk_1.Stack(); | ||
new sqs.Queue(stack, 'Queue', { encryption: sqs.QueueEncryption.KmsManaged }); | ||
const stack = new core_1.Stack(); | ||
new sqs.Queue(stack, 'Queue', { encryption: sqs.QueueEncryption.KMS_MANAGED }); | ||
assert_1.expect(stack).toMatch({ | ||
@@ -218,5 +218,5 @@ "Resources": { | ||
// GIVEN | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const queue = new sqs.Queue(stack, 'Queue', { | ||
encryption: sqs.QueueEncryption.Kms | ||
encryption: sqs.QueueEncryption.KMS | ||
}); | ||
@@ -259,3 +259,3 @@ const role = new iam.Role(stack, 'Role', { | ||
// GIVEN | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const topic = new lib_1.Queue(stack, 'Queue'); | ||
@@ -267,3 +267,3 @@ // THEN | ||
metricName: 'NumberOfMessagesSent', | ||
periodSec: 300, | ||
period: core_1.Duration.minutes(5), | ||
statistic: 'Sum' | ||
@@ -275,3 +275,3 @@ }); | ||
metricName: 'SentMessageSize', | ||
periodSec: 300, | ||
period: core_1.Duration.minutes(5), | ||
statistic: 'Average' | ||
@@ -282,2 +282,2 @@ }); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5zcXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LnNxcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsNENBQXVEO0FBQ3ZELHdDQUF5QztBQUN6Qyx3Q0FBeUM7QUFDekMsc0NBQXFDO0FBRXJDLDhCQUErQjtBQUMvQixnQ0FBK0I7QUEwUy9CLFNBQVMsU0FBUyxDQUFDLE1BQXFELEVBQUUsR0FBRyxlQUF5QjtJQUNwRyxNQUFNLEtBQUssR0FBRyxJQUFJLFdBQUssRUFBRSxDQUFDO0lBQzFCLE1BQU0sS0FBSyxHQUFHLElBQUksV0FBSyxDQUFDLEtBQUssRUFBRSxTQUFTLENBQUMsQ0FBQztJQUMxQyxNQUFNLFNBQVMsR0FBRyxJQUFJLEdBQUcsQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBRTlDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsU0FBUyxDQUFDLENBQUM7SUFFekIsZUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxxQkFBWSxDQUFDLGt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Y3Rpb25zOiBbJ3NxczoqJ10sXG4gICAgICBwcmluY2lwYWxzOiBbbmV3IGlhbS5Bcm5QcmluY2lwYWwoJ2FybicpXVxuICAgIH0pKTtcblxuICAgIGV4cGVjdChzdGFjaykudG9NYXRjaCh7XG4gICAgICBcIlJlc291cmNlc1wiOiB7XG4gICAgICAgIFwiTXlRdWV1ZUU2Q0E2MjM1XCI6IHtcbiAgICAgICAgXCJUeXBlXCI6IFwiQVdTOjpTUVM6OlF1ZXVlXCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJNeVF1ZXVlUG9saWN5NkJCRUREQUNcIjoge1xuICAgICAgICBcIlR5cGVcIjogXCJBV1M6OlNRUzo6UXVldWVQb2xpY3lcIixcbiAgICAgICAgXCJQcm9wZXJ0aWVzXCI6IHtcbiAgICAgICAgICBcIlBvbGljeURvY3VtZW50XCI6IHtcbiAgICAgICAgICBcIlN0YXRlbWVudFwiOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICBcIkFjdGlvblwiOiBcInNxczoqXCIsXG4gICAgICAgICAgICBcIkVmZmVjdFwiOiBcIkFsbG93XCIsXG4gICAgICAgICAgICBcIlByaW5jaXBhbFwiOiB7XG4gICAgICAgICAgICAgIFwiQVdTXCI6IFwiYXJuXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIlJlc291cmNlXCI6IFwiKlwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgXSxcbiAgICAgICAgICBcIlZlcnNpb25cIjogXCIyMDEyLTEwLTE3XCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwiUXVldWVzXCI6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBcIlJlZlwiOiBcIk15UXVldWVFNkNBNjIzNVwiXG4gICAgICAgICAgfVxuICAgICAgICAgIF1cbiAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH0sXG5cbiAgJ2V4cG9ydGluZyBh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9IG5ldyBTdGFjaygpO1xuICAgICAgY29uc3QgcXVldWUgPSBuZXcgc3FzLlF1ZXVlKHN0YWNrLCAnUXVldWUnLCB7XG4gICAgICAgIGVuY3J5cHRpb246IHNxcy5RdWV1ZUVuY3J5cHRpb24uS21zXG4gICAgICB9KTtcbiAgICAgIGNvbnN0IHJvbGUgPSBuZXcgaWFtLlJvbGUoc3RhY2ssICdSb2xlJywge1xuICAgICAgICBhc3N1bWVkQnk6IG5ldyBpYW0uU2VydmljZVByaW5jaXBhbCgnc29tZW9uZScpXG4gICAgICB9KTtcblxuICAgICAgLy8gV0hFTlxuICAgICAgcXVldWUuZ3JhbnRTZW5kTWVzc2FnZXMocm9sZSk7XG5cbiAgICAgIC8vIFRIRU5cbiAgICAgIGV4cGVjdChzdGFjaykudG8oaGF2ZVJlc291cmNlKCdBV1M6OklBTTo6UG9saWN5Jywge1xuICAgICAgICBcIlBvbGljeURvY3VtZW50XCI6IHtcbiAgICAgICAgICBcIlN0YXRlbWVudFwiOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIFwiQWN0aW9uXCI6IFtcbiAgICAgICAgICAgICAgICBcInNxczpTZW5kTWVzc2FnZVwiLFxuICAgICAgICAgICAgICAgIFwic3FzOkdldFF1ZXVlQXR0cmlidXRlc1wiLFxuICAgICAgICAgICAgICAgIFwic3FzOkdldFF1ZXVlVXJsXCJcbiAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgICAgXCJFZmZlY3RcIjogXCJBbGxvd1wiLFxuICAgICAgICAgICAgICBcIlJlc291cmNlXCI6IHsgXCJGbjo6R2V0QXR0XCI6IFsgXCJRdWV1ZTRBN0UzNTU1XCIsIFwiQXJuXCIgXSB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBcIkFjdGlvblwiOiBbXG4gICAgICAgICAgICAgICAgXCJrbXM6RW5jcnlwdFwiLFxuICAgICAgICAgICAgICAgIFwia21zOlJlRW5jcnlwdCpc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I6IHtcbiAgICAgICAgXCJUeXBlXCI6IFwiQVdTOjpTUVM6OlF1ZXVlXCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJNeVF1ZXVlUG9saWN5NkJCRUREQUNcIjoge1xuICAgICAgICBcIlR5cGVcIjogXCJBV1M6OlNRUzo6UXVldWVQb2xpY3lcIixcbiAgICAgICAgXCJQcm9wZXJ0aWVzXCI6IHtcbiAgICAgICAgICBcIlBvbGljeURvY3VtZW50XCI6IHtcbiAgICAgICAgICBcIlN0YXRlbWVudFwiOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICBcIkFjdGlvblwiOiBcInNxczoqXCIsXG4gICAgICAgICAgICBcIkVmZmVjdFwiOiBcIkFsbG93XCIsXG4gICAgICAgICAgICBcIlByaW5jaXBhbFwiOiB7XG4gICAgICAgICAgICAgIFwiQVdTXCI6IFwiYXJuXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIlJlc291cmNlXCI6IFwiKlwiXG4gICAgICAgICAgICB9XG4gICAgICAgICAgXSxcbiAgICAgICAgICBcIlZlcnNpb25cIjogXCIyMDEyLTEwLTE3XCJcbiAgICAgICAgICB9LFxuICAgICAgICAgIFwiUXVldWVzXCI6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBcIlJlZlwiOiBcIk15UXVldWVFNkNBNjIzNVwiXG4gICAgICAgICAgfVxuICAgICAgICAgIF1cbiAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH0sXG5cbiAgJ2V4cG9ydGluZyBhbmQgaW1wb3J0aW5nIHdvcmtzJyh0ZXN0OiBUZXN0KSB7XG4gICAgLy8gR0lWRU5cbiAgICBjb25zdCBzdGFjayA9IG5ldyBTdGFjaygpO1xuXG4gICAgLy8gV0hFTlxuICAgIGNvbnN0IGltcG9ydHMgPSBzcXMuUXVldWUuZnJvbVF1ZXVlQXJuKHN0YWNrLCAnSW1wb3J0ZW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rLCAnUm9sZScsIHtcbiAgICAgICAgYXNzdW1lZEJ5OiBuZXcgaWFtLlNlcnZpY2VQcmluY2lwYWwoJ3NvbWVvbmUnKVxuICAgICAgfSk7XG5cbiAgICAgIC8vIFdIRU5cbiAgICAgIHF1ZXVlLmdyYW50U2VuZE1lc3NhZ2VzKHJvbGUpO1xuXG4gICAgICAvLyBUSEVOXG4gICAgICBleHBlY3Qoc3RhY2spLnRvKGhhdmVSZXNvdXJjZSgnQVdTOjpJQU06OlBvbGljeScsIHtcbiAgICAgICAgXCJQb2xpY3lEb2N1bWVudFwiOiB7XG4gICAgICAgICAgXCJTdGF0ZW1lbnRcIjogW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBcIkFjdGlvblwiOiBbXG4gICAgICAgICAgICAgICAgXCJzcXM6U2VuZE1lc3NhZ2VcIixcbiAgICAgICAgICAgICAgICBcInNxczpHZXRRdWV1ZUF0dHJpYnV0ZXNcIixcbiAgICAgICAgICAgICAgICBcInNxczpHZXRRdWV1ZVVybFwiXG4gICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgIFwiRWZmZWN0XCI6IFwiQWxsb3dcIixcbiAgICAgICAgICAgICAgXCJSZXNvdXJjZVwiOiB7IFwiRm46OkdldEF0dFwiOiBbIFwiUXVldWU0QTdFMzU1NVwiLCBcIkFyblwiIF0gfVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgXCJBY3Rpb25cIjogW1xuICAgICAgICAgICAgICAgIFwia21zOkVuY3J5cHRcIixcbiAgICAgICAgICAgICAgICBcImttczpSZUVuY3J5cHQqXCIsXG4gICAgICAgICAgICAgICAgXCJrbXM6R2VuZXJhdGVEYXRhS2V5KlwiXG4gICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgIFwiRWZmZWN0XCI6IFwiQWxsb3dcIixcbiAgICAgICAgICAgICAgXCJSZXNvdXJjZVwiOiB7IFwiRm46OkdldEF0dFwiOiBbIFwiUXVld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": "../core" | ||
}, | ||
@@ -50,0 +50,0 @@ { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
274315
1679
+ Added@aws-cdk/core@^0.36.0
+ Added@aws-cdk/aws-cloudwatch@0.36.2(transitive)
+ Added@aws-cdk/aws-iam@0.36.2(transitive)
+ Added@aws-cdk/aws-kms@0.36.2(transitive)
+ Added@aws-cdk/core@0.36.2(transitive)
+ Added@aws-cdk/cx-api@0.36.2(transitive)
+ Added@aws-cdk/region-info@0.36.2(transitive)
- Removed@aws-cdk/cdk@^0.35.0
- Removed@aws-cdk/aws-cloudwatch@0.35.0(transitive)
- Removed@aws-cdk/aws-iam@0.35.0(transitive)
- Removed@aws-cdk/aws-kms@0.35.0(transitive)
- Removed@aws-cdk/cdk@0.35.0(transitive)
- Removed@aws-cdk/cx-api@0.35.0(transitive)
- Removed@aws-cdk/region-info@0.35.0(transitive)
Updated@aws-cdk/aws-iam@^0.36.0
Updated@aws-cdk/aws-kms@^0.36.0