@aws-cdk/assets
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -57,5 +57,3 @@ "use strict"; | ||
this.s3ObjectKey = `${this.s3Prefix}${s3Filename}`; | ||
this.bucket = s3.Bucket.import(this, 'AssetBucket', { | ||
bucketName: this.s3BucketName | ||
}); | ||
this.bucket = s3.Bucket.fromBucketName(this, 'AssetBucket', this.s3BucketName); | ||
// form the s3 URL of the object key | ||
@@ -154,2 +152,2 @@ this.s3Url = this.bucket.urlForObject(this.s3ObjectKey); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHNDQUF1QztBQUN2QyxvQ0FBcUM7QUFDckMseUNBQTBDO0FBQzFDLHlCQUEwQjtBQUMxQiw2QkFBOEI7QUFDOUIsdUNBQW9DO0FBRXBDOztHQUVHO0FBQ0gsSUFBWSxjQVdYO0FBWEQsV0FBWSxjQUFjO0lBQ3hCOzs7T0FHRztJQUNILHNDQUFvQixDQUFBO0lBRXBCOztPQUVHO0lBQ0gsK0JBQWEsQ0FBQTtBQUNmLENBQUMsRUFYVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQVd6QjtBQW9CRDs7O0dBR0c7QUFDSCxNQUFhLEtBQU0sU0FBUSxHQUFHLENBQUMsU0FBUztJQXlDdEMsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFpQjtRQUM3RCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBRWpCLDBDQUEwQztRQUMxQyxNQUFNLE9BQU8sR0FBRyxJQUFJLGlCQUFPLENBQUMsSUFBSSxFQUFFLE9BQU8sRUFBRTtZQUN6QyxVQUFVLEVBQUUsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMs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RofWApO1xuICB9XG5cbiAgc3dpdGNoIChwYWNrYWdpbmcpIHtcbiAgICBjYXNlIEFzc2V0UGFja2FnaW5nLlppcERpcmVjdG9yeTpcbiAgICAgIGlmICghZnMuc3RhdFN5bmMoYXNzZXRQYXRoKS5pc0RpcmVjdG9yeSgpKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcihgJHthc3NldFBhdGh9IGlzIGV4cGVjdGVkIHRvIGJlIGEgZGlyZWN0b3J5IHdoZW4gYXNzZXQgcGFja2FnaW5nIGlzICd6aXAnYCk7XG4gICAgICB9XG4gICAgICBicmVhaztcblxuICAgIGNhc2UgQXNzZXRQYWNrYWdpbmcuRmlsZTpcbiAgICAgIGlmICghZnMuc3RhdFN5bmMoYXNzZXRQYXRoKS5pc0ZpbGUoKSkge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYCR7YXNzZXRQYXRofSBpcyBleHBlY3RlZCB0byBiZSBhIHJlZ3VsYXIgZmlsZSB3aGVuIGFzc2V0IHBhY2thZ2luZyBpcyAnZmlsZSdgKTtcbiAgICAgIH1cbiAgICAgIGJyZWFrO1xuXG4gICAgZGVmYXVsdDpcbiAgICAgIHRocm93IG5ldyBFcnJvcihgVW5zdXBwb3J0ZWQgYXNzZXQgcGFja2FnaW5nIGZvcm1hdDogJHtwYWNrYWdpbmd9YCk7XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/assets", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "Integration of CDK apps with local assets", | ||
@@ -23,3 +23,2 @@ "main": "lib/index.js", | ||
}, | ||
"sphinx": {}, | ||
"python": { | ||
@@ -64,14 +63,14 @@ "distName": "aws-cdk.assets", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.30.0", | ||
"@aws-cdk/assert": "^0.31.0", | ||
"@types/minimatch": "^3.0.3", | ||
"aws-cdk": "^0.30.0", | ||
"cdk-build-tools": "^0.30.0", | ||
"cdk-integ-tools": "^0.30.0", | ||
"pkglint": "^0.30.0" | ||
"aws-cdk": "^0.31.0", | ||
"cdk-build-tools": "^0.31.0", | ||
"cdk-integ-tools": "^0.31.0", | ||
"pkglint": "^0.31.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-s3": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0", | ||
"@aws-cdk/cx-api": "^0.30.0", | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/aws-s3": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0", | ||
"@aws-cdk/cx-api": "^0.31.0", | ||
"minimatch": "^3.0.4" | ||
@@ -81,6 +80,6 @@ }, | ||
"peerDependencies": { | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-s3": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0", | ||
"@aws-cdk/cx-api": "^0.30.0" | ||
"@aws-cdk/aws-iam": "^0.31.0", | ||
"@aws-cdk/aws-s3": "^0.31.0", | ||
"@aws-cdk/cdk": "^0.31.0", | ||
"@aws-cdk/cx-api": "^0.31.0" | ||
}, | ||
@@ -87,0 +86,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
268115
2850
+ Added@aws-cdk/aws-events@0.31.0(transitive)
+ Added@aws-cdk/aws-iam@0.31.0(transitive)
+ Added@aws-cdk/aws-kms@0.31.0(transitive)
+ Added@aws-cdk/aws-s3@0.31.0(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.31.0(transitive)
+ Added@aws-cdk/cdk@0.31.0(transitive)
+ Added@aws-cdk/cx-api@0.31.0(transitive)
+ Added@aws-cdk/region-info@0.31.0(transitive)
- Removed@aws-cdk/aws-events@0.30.0(transitive)
- Removed@aws-cdk/aws-iam@0.30.0(transitive)
- Removed@aws-cdk/aws-kms@0.30.0(transitive)
- Removed@aws-cdk/aws-s3@0.30.0(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.30.0(transitive)
- Removed@aws-cdk/cdk@0.30.0(transitive)
- Removed@aws-cdk/cx-api@0.30.0(transitive)
- Removed@aws-cdk/region-info@0.30.0(transitive)
Updated@aws-cdk/aws-iam@^0.31.0
Updated@aws-cdk/aws-s3@^0.31.0
Updated@aws-cdk/cdk@^0.31.0
Updated@aws-cdk/cx-api@^0.31.0