@aws-cdk/aws-sqs
Advanced tools
Comparing version 0.27.0 to 0.28.0
@@ -48,5 +48,5 @@ import autoscaling_api = require('@aws-cdk/aws-autoscaling-api'); | ||
* | ||
* @param identity Principal to grant consume rights to | ||
* @param grantee Principal to grant consume rights to | ||
*/ | ||
grantConsumeMessages(identity?: iam.IPrincipal): void; | ||
grantConsumeMessages(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -62,5 +62,5 @@ * Grant access to send messages to a queue to the given identity. | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
*/ | ||
grantSendMessages(identity?: iam.IPrincipal): void; | ||
grantSendMessages(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -75,6 +75,6 @@ * Grant an IAM principal permissions to purge all messages from the queue. | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
* @param queueActions additional queue actions to allow | ||
*/ | ||
grantPurge(identity?: iam.IPrincipal): void; | ||
grantPurge(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -84,6 +84,6 @@ * Grant the actions defined in queueActions to the identity Principal given | ||
* | ||
* @param identity Principal to grant right to | ||
* @param grantee Principal to grant right to | ||
* @param queueActions The actions to grant | ||
*/ | ||
grant(identity?: iam.IPrincipal, ...queueActions: string[]): void; | ||
grant(grantee: iam.IGrantable, ...queueActions: string[]): iam.Grant; | ||
} | ||
@@ -157,5 +157,5 @@ /** | ||
* | ||
* @param identity Principal to grant consume rights to | ||
* @param grantee Principal to grant consume rights to | ||
*/ | ||
grantConsumeMessages(identity?: iam.IPrincipal): void; | ||
grantConsumeMessages(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -171,5 +171,5 @@ * Grant access to send messages to a queue to the given identity. | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
*/ | ||
grantSendMessages(identity?: iam.IPrincipal): void; | ||
grantSendMessages(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -184,6 +184,6 @@ * Grant an IAM principal permissions to purge all messages from the queue. | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
* @param queueActions additional queue actions to allow | ||
*/ | ||
grantPurge(identity?: iam.IPrincipal): void; | ||
grantPurge(grantee: iam.IGrantable): iam.Grant; | ||
/** | ||
@@ -193,6 +193,6 @@ * Grant the actions defined in queueActions to the identity Principal given | ||
* | ||
* @param identity Principal to grant right to | ||
* @param queueActions The actions to grant | ||
* @param grantee Principal to grant right to | ||
* @param actions The actions to grant | ||
*/ | ||
grant(identity?: iam.IPrincipal, ...queueActions: string[]): void; | ||
grant(grantee: iam.IGrantable, ...actions: string[]): iam.Grant; | ||
} | ||
@@ -199,0 +199,0 @@ /** |
@@ -86,6 +86,6 @@ "use strict"; | ||
* | ||
* @param identity Principal to grant consume rights to | ||
* @param grantee Principal to grant consume rights to | ||
*/ | ||
grantConsumeMessages(identity) { | ||
this.grant(identity, 'sqs:ReceiveMessage', 'sqs:ChangeMessageVisibility', 'sqs:ChangeMessageVisibilityBatch', 'sqs:GetQueueUrl', 'sqs:DeleteMessage', 'sqs:DeleteMessageBatch', 'sqs:GetQueueAttributes'); | ||
grantConsumeMessages(grantee) { | ||
return this.grant(grantee, 'sqs:ReceiveMessage', 'sqs:ChangeMessageVisibility', 'sqs:ChangeMessageVisibilityBatch', 'sqs:GetQueueUrl', 'sqs:DeleteMessage', 'sqs:DeleteMessageBatch', 'sqs:GetQueueAttributes'); | ||
} | ||
@@ -102,6 +102,6 @@ /** | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
*/ | ||
grantSendMessages(identity) { | ||
this.grant(identity, 'sqs:SendMessage', 'sqs:SendMessageBatch', 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl'); | ||
grantSendMessages(grantee) { | ||
return this.grant(grantee, 'sqs:SendMessage', 'sqs:SendMessageBatch', 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl'); | ||
} | ||
@@ -117,7 +117,7 @@ /** | ||
* | ||
* @param identity Principal to grant send rights to | ||
* @param grantee Principal to grant send rights to | ||
* @param queueActions additional queue actions to allow | ||
*/ | ||
grantPurge(identity) { | ||
this.grant(identity, 'sqs:PurgeQueue', 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl'); | ||
grantPurge(grantee) { | ||
return this.grant(grantee, 'sqs:PurgeQueue', 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl'); | ||
} | ||
@@ -128,15 +128,15 @@ /** | ||
* | ||
* @param identity Principal to grant right to | ||
* @param queueActions The actions to grant | ||
* @param grantee Principal to grant right to | ||
* @param actions The actions to grant | ||
*/ | ||
grant(identity, ...queueActions) { | ||
if (!identity) { | ||
return; | ||
} | ||
identity.addToPolicy(new iam.PolicyStatement() | ||
.addResource(this.queueArn) | ||
.addActions(...queueActions)); | ||
grant(grantee, ...actions) { | ||
return iam.Grant.addToPrincipalOrResource({ | ||
grantee, | ||
actions, | ||
resourceArns: [this.queueArn], | ||
resource: this, | ||
}); | ||
} | ||
} | ||
exports.QueueBase = QueueBase; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVldWUtYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInF1ZXVlLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx3Q0FBeUM7QUFFekMscURBQXNEO0FBQ3RELG9DQUFxQztBQUNyQyxxQ0FBdUM7QUE0RnZDOztHQUVHO0FBQ0gsTUFBc0IsU0FBVSxTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBQXJEOztRQStCRTs7V0FFRztRQUNjLHFCQUFnQixHQUFHLElBQUksR0FBRyxFQUFVLENBQUM7SUFzSnhELENBQUM7SUEvSUM7Ozs7OztPQU1HO0lBQ0ksbUJBQW1CLENBQUMsU0FBOEI7UUFDdkQsSUFBSSxDQUFDLElB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BpYW0uSVByaW5jaXBhbCwgLi4ucXVldWVBY3Rpb25zOiBzdHJpbmdbXSkge1xuICAgICAgaWYgKCFpZGVudGl0eSkge1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIGlkZW50aXR5LmFkZFRvUG9saWN5KG5ldyBpYW0uUG9saWN5U3RhdGVtZW50KClcbiAgICAgICAgLmFkZFJlc291cmNlKHRoaXMucXVldWVBcm4pXG4gICAgICAgIC5hZGRBY3Rpb25zKC4uLnF1ZXVlQWN0aW9ucykpO1xuICB9XG59XG5cbi8qKlxuICogUmVmZXJlbmNlIHRvIGEgcXVldWVcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBRdWV1ZUltcG9ydFByb3BzIHtcbiAgLyoqXG4gICAqIFRoZSBBUk4gb2YgdGhlIHF1ZXVlLlxuICAgKi9cbiAgcmVhZG9ubHkgcXVldWVBcm46IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIFVSTCBvZiB0aGUgcXVldWUuXG4gICAqL1xuICByZWFkb25seSBxdWV1ZVVybDogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcXVldWUuXG4gICAqIEBkZWZhdWx0IGlmIHF1ZXVlIG5hbWUgaXMgbm90IHNwZWNpZmllZCwgdGhlIG5hbWUgd2lsbCBiZSBkZXJpdmVkIGZyb20gdGhlIHF1ZXVlIEFSTlxuICAgKi9cbiAgcmVhZG9ubHkgcXVldWVOYW1lPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBLTVMgZW5jcnlwdGlvbiBrZXksIGlmIHRoaXMgcXVldWUgaXMgc2VydmVyLXNpZGUgZW5jcnlwdGVkIGJ5IGEgS01TIGtleS5cbiAgICovXG4gIHJlYWRvbmx5IGtleUFybj86IHN0cmluZztcbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVldWUtYmFzZS5qcyIsInNvdXJjZVJvb3Qi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VkIGZyb20gdGhlIHF1ZXVlIEFSTlxuICAgKi9cbiAgcmVhZG9ubHkgcXVldWVOYW1lPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBLTVMgZW5jcnlwdGlvbiBrZXksIGlmIHRoaXMgcXVldWUgaXMgc2VydmVyLXNpZGUgZW5jcnlwdGVkIGJ5IGEgS01TIGtleS5cbiAgICovXG4gIHJlYWRvbmx5IGtleUFybj86IHN0cmluZztcbn1cbiJdfQ== |
@@ -5,3 +5,3 @@ "use strict"; | ||
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | ||
// @cfn2ts:meta@ {"generated":"2019-03-28T21:24:15.824Z","fingerprint":"IKbU57mlyH2uYmfnfs3dM78n0ADM2HA1GukToCZu4/s="} | ||
// @cfn2ts:meta@ {"generated":"2019-04-04T14:54:01.956Z","fingerprint":"aGZ7CHJt1g4ntTIgzm0pwTBPooMT3FCnhlZOBX9y0Qc="} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -165,2 +165,2 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | ||
exports.CfnQueuePolicy = CfnQueuePolicy; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3FzLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNxcy5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTtBQUMvRSwrREFBK0Q7QUFDL0QsOEZBQThGO0FBQzlGLHNIQUFzSDs7QUFFdEgsa0dBQWtHO0FBRWxHLG9DQUFxQztBQXFFckM7Ozs7OztHQU1HO0FBQ0gsU0FBUyxzQkFBc0IsQ0FBQyxVQUFlO0lBQzNDLElBQUksQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQyxFQUFFO1FBQUUsT0FBTyxHQUFHLENBQUMs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25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByb3BzOiBDZm5RdWV1ZVBvbGljeVByb3BzKSB7XG4gICAgICAgIHN1cGVyKHNjb3BlLCBpZCwgeyB0eXBlOiBDZm5RdWV1ZVBvbGljeS5yZXNvdXJjZVR5cGVOYW1lLCBwcm9wZXJ0aWVzOiBwcm9wcyB9KTtcbiAgICAgICAgY2RrLnJlcXVpcmVQcm9wZXJ0eShwcm9wcywgJ3BvbGljeURvY3VtZW50JywgdGhpcyk7XG4gICAgICAgIGNkay5yZXF1aXJlUHJvcGVydHkocHJvcHMsICdxdWV1ZXMnLCB0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IHByb3BlcnR5T3ZlcnJpZGVzKCk6IENmblF1ZXVlUG9saWN5UHJvcHMge1xuICAgICAgICByZXR1cm4gdGhpcy51bnR5cGVkUHJvcGVydHlPdmVycmlkZXM7XG4gICAgfVxuICAgIHByb3RlY3RlZCByZW5kZXJQcm9wZXJ0aWVzKHByb3BlcnRpZXM6IGFueSk6IHsgW2tleTogc3RyaW5nXTogYW55IH0gIHtcbiAgICAgICAgcmV0dXJuIGNmblF1ZXVlUG9saWN5UHJvcHNUb0Nsb3VkRm9ybWF0aW9uKHRoaXMubm9kZS5yZXNvbHZlKHByb3BlcnRpZXMpKTtcbiAgICB9XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-sqs", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"description": "CDK Constructs for AWS SQS", | ||
@@ -61,26 +61,26 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.27.0", | ||
"@aws-cdk/aws-s3": "^0.27.0", | ||
"@aws-cdk/assert": "^0.28.0", | ||
"@aws-cdk/aws-s3": "^0.28.0", | ||
"aws-sdk": "^2.259.1", | ||
"cdk-build-tools": "^0.27.0", | ||
"cdk-integ-tools": "^0.27.0", | ||
"cfn2ts": "^0.27.0", | ||
"pkglint": "^0.27.0" | ||
"cdk-build-tools": "^0.28.0", | ||
"cdk-integ-tools": "^0.28.0", | ||
"cfn2ts": "^0.28.0", | ||
"pkglint": "^0.28.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-autoscaling-api": "^0.27.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.27.0", | ||
"@aws-cdk/aws-iam": "^0.27.0", | ||
"@aws-cdk/aws-kms": "^0.27.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.27.0", | ||
"@aws-cdk/cdk": "^0.27.0" | ||
"@aws-cdk/aws-autoscaling-api": "^0.28.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.28.0", | ||
"@aws-cdk/aws-iam": "^0.28.0", | ||
"@aws-cdk/aws-kms": "^0.28.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.28.0", | ||
"@aws-cdk/cdk": "^0.28.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-autoscaling-api": "^0.27.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.27.0", | ||
"@aws-cdk/aws-iam": "^0.27.0", | ||
"@aws-cdk/aws-kms": "^0.27.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.27.0", | ||
"@aws-cdk/cdk": "^0.27.0" | ||
"@aws-cdk/aws-autoscaling-api": "^0.28.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.28.0", | ||
"@aws-cdk/aws-iam": "^0.28.0", | ||
"@aws-cdk/aws-kms": "^0.28.0", | ||
"@aws-cdk/aws-s3-notifications": "^0.28.0", | ||
"@aws-cdk/cdk": "^0.28.0" | ||
}, | ||
@@ -87,0 +87,0 @@ "engines": { |
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
306541
+ Added@aws-cdk/aws-autoscaling-api@0.28.0(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.28.0(transitive)
+ Added@aws-cdk/aws-iam@0.28.0(transitive)
+ Added@aws-cdk/aws-kms@0.28.0(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.28.0(transitive)
+ Added@aws-cdk/cdk@0.28.0(transitive)
+ Added@aws-cdk/cx-api@0.28.0(transitive)
+ Added@aws-cdk/region-info@0.28.0(transitive)
- Removed@aws-cdk/aws-autoscaling-api@0.27.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.27.0(transitive)
- Removed@aws-cdk/aws-iam@0.27.0(transitive)
- Removed@aws-cdk/aws-kms@0.27.0(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.27.0(transitive)
- Removed@aws-cdk/cdk@0.27.0(transitive)
- Removed@aws-cdk/cx-api@0.27.0(transitive)
- Removed@aws-cdk/region-info@0.27.0(transitive)
Updated@aws-cdk/aws-iam@^0.28.0
Updated@aws-cdk/aws-kms@^0.28.0
Updated@aws-cdk/cdk@^0.28.0