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

@aws-cdk/aws-cloudfront

Package Overview
Dependencies
Maintainers
4
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.8.0 to 0.8.1

test/integ.cloudfront-custom.d.ts

10

lib/web_distribution.js

@@ -169,2 +169,5 @@ "use strict";

}
else if (originConfig.s3OriginSource) {
originProperty.s3OriginConfig = {};
}
if (originConfig.customOriginSource) {

@@ -186,2 +189,7 @@ originProperty.customOriginConfig = {

}
origins.forEach(origin => {
if (!origin.s3OriginConfig && !origin.customOriginConfig) {
throw new Error(`Origin ${origin.domainName} is missing either S3OriginConfig or CustomOriginConfig. At least 1 must be specified.`);
}
});
distributionConfig.origins = origins;

@@ -236,2 +244,2 @@ const defaultBehaviors = behaviors.filter(behavior => behavior.isDefaultBehavior);

exports.CloudFrontWebDistribution = CloudFrontWebDistribution;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2ViX2Rpc3RyaWJ1dGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndlYl9kaXN0cmlidXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFFQSxvQ0FBcUM7QUFDckMsaUVBQWdGO0FBRWhGLElBQVksV0FHWDtBQUhELFdBQVksV0FBVztJQUNuQixrQ0FBbUIsQ0FBQTtJQUNuQiw4QkFBZSxDQUFBO0FBQ25CLENBQUMsRUFIVyxXQUFXLEdBQVgsbUJBQVcsS0FBWCxtQkFBVyxRQUd0QjtBQUVEOztHQUVHO0FBQ0gsSUFBWSxVQUlYO0FBSkQsV0FBWSxVQUFVO0lBQ2xCLDhDQUFnQyxDQUFBO0lBQ2hDLDhDQUFnQyxDQUFBO0lBQ2hDLDhDQUFnQyxDQUFBO0FBQ3BDLEN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UFDLE9BQU8sRUFBRSxNQUFNLEVBQUMsRUFBRTtZQUM1RixNQUFNLEVBQUUsS0FBSyxDQUFDLGFBQWE7WUFDM0IsTUFBTSxFQUFFLEtBQUssQ0FBQyxhQUFhO1lBQzNCLGNBQWMsRUFBRSxLQUFLLENBQUMsY0FBYztZQUNwQyxjQUFjLEVBQUUsS0FBSyxDQUFDLGNBQWM7WUFDcEMsb0JBQW9CLEVBQUUsV0FBVyxJQUFJLG9CQUFvQixDQUFDLGVBQWU7U0FDNUUsQ0FBQztRQUNGLElBQUksQ0FBQyxLQUFLLENBQUMsaUJBQWlCLEVBQUU7WUFDMUIsUUFBUSxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsUUFBUSxFQUFFLEVBQUMsV0FBVyxFQUFFLEtBQUssQ0FBQyxXQUFXLEVBQUMsQ0FBQyxDQUFDO1NBQ3hFO1FBQ0QsT0FBTyxRQUFRLENBQUM7SUFDcEIsQ0FBQztDQUNKO0FBaktELDhEQWlLQyJ9

43

package.json
{
"name": "@aws-cdk/aws-cloudfront",
"version": "0.8.0+bb95676",
"version": "0.8.1",
"description": "CDK Constructs for AWS CloudFront",

@@ -11,11 +11,9 @@ "main": "lib/index.js",

"java": {
"package": "com.amazonaws.cdk.aws.cloudfront",
"package": "software.amazon.awscdk.services.cloudfront",
"maven": {
"groupId": "com.amazonaws.cdk",
"artifactId": "aws-cloudfront"
"groupId": "software.amazon.awscdk",
"artifactId": "cloudfront"
}
},
"dotnet": {
"namespace": "Amazon.CDK.AWS.CloudFront"
}
"sphinx": {}
}

@@ -25,3 +23,3 @@ },

"type": "git",
"url": "git://github.com/awslabs/aws-cdk"
"url": "https://github.com/awslabs/aws-cdk.git"
},

@@ -33,3 +31,5 @@ "scripts": {

"test": "cdk-test",
"pkglint": "pkglint -f"
"integ": "cdk-integ",
"pkglint": "pkglint -f",
"package": "cdk-package"
},

@@ -47,19 +47,22 @@ "cdk-build": {

"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
"url": "https://aws.amazon.com",
"organization": true
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.8.0+bb95676",
"@aws-cdk/assert": "^0.8.1",
"aws-sdk": "^2.259.1",
"cdk-build-tools": "^0.8.0+bb95676",
"cfn2ts": "^0.8.0+bb95676",
"pkglint": "^0.8.0+bb95676"
"cdk-build-tools": "^0.8.1",
"cdk-integ-tools": "^0.8.1",
"cfn2ts": "^0.8.1",
"pkglint": "^0.8.1"
},
"dependencies": {
"@aws-cdk/aws-certificatemanager": "^0.8.0+bb95676",
"@aws-cdk/aws-iam": "^0.8.0+bb95676",
"@aws-cdk/aws-kms": "^0.8.0+bb95676",
"@aws-cdk/aws-s3": "^0.8.0+bb95676",
"@aws-cdk/cdk": "^0.8.0+bb95676"
}
"@aws-cdk/aws-certificatemanager": "^0.8.1",
"@aws-cdk/aws-iam": "^0.8.1",
"@aws-cdk/aws-kms": "^0.8.1",
"@aws-cdk/aws-s3": "^0.8.1",
"@aws-cdk/cdk": "^0.8.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}

@@ -9,3 +9,3 @@ ## AWS CloudFront Construct Library

const distribution = new CloudFrontDistribution(this, 'MyDistribution', {
const distribution = new CloudFrontWebDistribution(this, 'MyDistribution', {
originConfigs: [

@@ -16,3 +16,3 @@ {

},
behaviors : [ {isDefaultBehavior}]
behaviors : [ {isDefaultBehavior: true}]
}

@@ -19,0 +19,0 @@ ]

import { Test } from 'nodeunit';
declare const _default: {
'distribution with custom origin adds custom origin'(test: Test): void;
'most basic distribution'(test: Test): void;

@@ -4,0 +5,0 @@ 'distribution with trusted signers on default distribution'(test: Test): void;

@@ -7,2 +7,83 @@ "use strict";

module.exports = {
'distribution with custom origin adds custom origin'(test) {
const stack = new cdk.Stack();
new lib_1.CloudFrontWebDistribution(stack, 'AnAmazingWebsiteProbably', {
originConfigs: [
{
originHeaders: {
"X-Custom-Header": "somevalue",
},
customOriginSource: {
domainName: "myorigin.com",
},
behaviors: [
{
isDefaultBehavior: true,
}
],
}
]
});
assert_1.expect(stack).toMatch({
"Resources": {
"AnAmazingWebsiteProbablyCFDistribution47E3983B": {
"Type": "AWS::CloudFront::Distribution",
"Properties": {
"DistributionConfig": {
"CacheBehaviors": [],
"DefaultCacheBehavior": {
"AllowedMethods": [
"GET",
"HEAD"
],
"CachedMethods": [
"GET",
"HEAD"
],
"ForwardedValues": {
"Cookies": {
"Forward": "none"
},
"QueryString": false
},
"TargetOriginId": "origin1",
"ViewerProtocolPolicy": "https-only"
},
"DefaultRootObject": "index.html",
"Enabled": true,
"HttpVersion": "http2",
"IPV6Enabled": true,
"Origins": [
{
"CustomOriginConfig": {
"HTTPPort": 80,
"HTTPSPort": 443,
"OriginKeepaliveTimeout": 5,
"OriginProtocolPolicy": "https-only",
"OriginReadTimeout": 30,
"OriginSSLProtocols": [
"TLSv1.2"
]
},
"DomainName": "myorigin.com",
"Id": "origin1",
"OriginCustomHeaders": [
{
"HeaderName": "X-Custom-Header",
"HeaderValue": "somevalue"
}
]
}
],
"PriceClass": "PriceClass_100",
"ViewerCertificate": {
"CloudFrontDefaultCertificate": true
}
}
}
}
}
});
test.done();
},
'most basic distribution'(test) {

@@ -43,3 +124,4 @@ const stack = new cdk.Stack();

},
"Id": "origin1"
"Id": "origin1",
"S3OriginConfig": {}
}

@@ -114,3 +196,4 @@ ],

},
"Id": "origin1"
"Id": "origin1",
"S3OriginConfig": {}
}

@@ -153,2 +236,2 @@ ],

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

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