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

@softchef/cdk-apigateways

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@softchef/cdk-apigateways - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

lib/origin-api-authorization-type.d.ts

2

changelog.md
### [2.0.4](https://github.com/SoftChef/cdk-apigateways/compare/v2.0.3...v2.0.4) (2022-03-31)
### [2.0.5](https://github.com/SoftChef/cdk-apigateways/compare/v2.0.4...v2.0.5) (2022-04-06)

@@ -14,5 +14,3 @@ import { Distribution } from 'aws-cdk-lib/aws-cloudfront';

*/
readonly originApisConfig: {
[pathPattern: string]: OriginApiConfig;
};
readonly originApisConfig: OriginApiConfig[];
/**

@@ -19,0 +17,0 @@ * Specify the CloudFront distribution properties.

@@ -15,2 +15,3 @@ "use strict";

const constructs_1 = require("constructs");
const origin_api_authorization_type_1 = require("./origin-api-authorization-type");
const redoc_bundling_1 = require("./redoc-bundling");

@@ -45,22 +46,5 @@ const DEFAULT_DOCUMENTATION_PREFIX_PATH = 'docs';

createDistribution(props) {
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
const cachePolicy = new aws_cloudfront_1.CachePolicy(this, 'DisabledCachePolicy', {
minTtl: aws_cdk_lib_1.Duration.seconds(1),
maxTtl: aws_cdk_lib_1.Duration.seconds(1),
defaultTtl: aws_cdk_lib_1.Duration.seconds(1),
headerBehavior: aws_cloudfront_1.CacheHeaderBehavior.allowList(...[
'Accept-Language',
'Accept-Charset',
'Accept',
'Authorization',
'Host',
'Origin',
'Referer',
]),
queryStringBehavior: aws_cloudfront_1.CacheQueryStringBehavior.all(),
cookieBehavior: aws_cloudfront_1.CacheCookieBehavior.all(),
enableAcceptEncodingGzip: true,
enableAcceptEncodingBrotli: true,
});
var _b, _c, _d, _e, _f, _g, _h, _j;
const distribution = new aws_cloudfront_1.Distribution(this, 'Distribution', {
...props.distribution,
defaultBehavior: {

@@ -73,12 +57,5 @@ origin: new aws_cloudfront_origins_1.S3Origin(this.s3Bucket, {

},
domainNames: (_c = props.distribution) === null || _c === void 0 ? void 0 : _c.domainNames,
certificate: (_d = props.distribution) === null || _d === void 0 ? void 0 : _d.certificate,
defaultRootObject: (_f = (_e = props.distribution) === null || _e === void 0 ? void 0 : _e.defaultRootObject) !== null && _f !== void 0 ? _f : 'index.html',
comment: (_g = props.distribution) === null || _g === void 0 ? void 0 : _g.comment,
enableIpv6: (_h = props.distribution) === null || _h === void 0 ? void 0 : _h.enableIpv6,
enabled: (_j = props.distribution) === null || _j === void 0 ? void 0 : _j.enabled,
enableLogging: (_k = props.distribution) === null || _k === void 0 ? void 0 : _k.enableLogging,
defaultRootObject: (_d = (_c = props.distribution) === null || _c === void 0 ? void 0 : _c.defaultRootObject) !== null && _d !== void 0 ? _d : 'index.html',
});
for (let pathPattern in props.originApisConfig) {
const originApiConfig = props.originApisConfig[pathPattern];
for (let originApiConfig of props.originApisConfig) {
let apiId;

@@ -98,11 +75,48 @@ if (originApiConfig.originApi instanceof aws_apigateway_1.RestApi) {

const executeApiDomain = `${apiId}.execute-api.${aws_cdk_lib_1.Stack.of(this).region}.amazonaws.com`;
distribution.addBehavior(`${props.stageName}/${pathPattern}*`, new aws_cloudfront_origins_1.HttpOrigin(executeApiDomain, {
const httpOrigin = new aws_cloudfront_origins_1.HttpOrigin(executeApiDomain, {
originPath: '/',
}), {
viewerProtocolPolicy: aws_cloudfront_1.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
allowedMethods: aws_cloudfront_1.AllowedMethods.ALLOW_ALL,
cachedMethods: aws_cloudfront_1.CachedMethods.CACHE_GET_HEAD_OPTIONS,
cachePolicy: cachePolicy,
responseHeadersPolicy: aws_cloudfront_1.ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS_WITH_PREFLIGHT,
originSslProtocols: [aws_cloudfront_1.OriginSslPolicy.TLS_V1_2],
protocolPolicy: aws_cloudfront_1.OriginProtocolPolicy.HTTPS_ONLY,
});
let defaultCachePolicy;
if (originApiConfig.cachePolicy === undefined) {
let headerBehavior;
let queryStringBehavior;
if (originApiConfig.originApiAuthorizationType === origin_api_authorization_type_1.OriginApiAuthorizationType.COGNITO) {
headerBehavior = aws_cloudfront_1.CacheHeaderBehavior.allowList(...[
'Authorization',
]);
queryStringBehavior = aws_cloudfront_1.CacheQueryStringBehavior.all();
}
else if (originApiConfig.originApiAuthorizationType === origin_api_authorization_type_1.OriginApiAuthorizationType.IAM) {
headerBehavior = aws_cloudfront_1.CacheHeaderBehavior.allowList(...[
'Authorization',
'Host',
]);
queryStringBehavior = aws_cloudfront_1.CacheQueryStringBehavior.all();
}
else {
headerBehavior = aws_cloudfront_1.CacheHeaderBehavior.none();
queryStringBehavior = aws_cloudfront_1.CacheQueryStringBehavior.none();
}
defaultCachePolicy = new aws_cloudfront_1.CachePolicy(this, `DefaultCachePolicy-${originApiConfig.path}`, {
minTtl: aws_cdk_lib_1.Duration.seconds(0),
maxTtl: aws_cdk_lib_1.Duration.seconds(1),
defaultTtl: aws_cdk_lib_1.Duration.seconds(0),
headerBehavior: headerBehavior,
queryStringBehavior: queryStringBehavior,
cookieBehavior: aws_cloudfront_1.CacheCookieBehavior.none(),
enableAcceptEncodingGzip: true,
enableAcceptEncodingBrotli: true,
});
}
distribution.addBehavior(`${props.stageName}/${originApiConfig.path}*`, httpOrigin, {
allowedMethods: (_e = originApiConfig.allowedMethods) !== null && _e !== void 0 ? _e : aws_cloudfront_1.AllowedMethods.ALLOW_ALL,
cachedMethods: (_f = originApiConfig.cachedMethods) !== null && _f !== void 0 ? _f : aws_cloudfront_1.CachedMethods.CACHE_GET_HEAD,
cachePolicy: (_g = originApiConfig.cachePolicy) !== null && _g !== void 0 ? _g : defaultCachePolicy,
compress: (_h = originApiConfig.compress) !== null && _h !== void 0 ? _h : true,
originRequestPolicy: originApiConfig.originRequestPolicy,
responseHeadersPolicy: originApiConfig.responseHeadersPolicy,
viewerProtocolPolicy: (_j = originApiConfig.viewerProtocolPolicy) !== null && _j !== void 0 ? _j : aws_cloudfront_1.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
});
}

@@ -141,3 +155,3 @@ return distribution;

_a = JSII_RTTI_SYMBOL_1;
ApiGateways[_a] = { fqn: "@softchef/cdk-apigateways.ApiGateways", version: "2.0.4" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpZ2F0ZXdheXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXBpZ2F0ZXdheXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDQSw0RUFFeUM7QUFDekMsdURBRStCO0FBQy9CLDZDQUdxQjtBQUNyQiwrREFFb0M7QUFDcEMsK0RBVW9DO0FBQ3BDLCtFQUU0QztBQUM1QywrQ0FHNEI7QUFDNUIscUVBR3VDO0FBQ3ZDLDJDQUVvQjtBQVVwQixxREFBaUQ7QUFFakQsTUFBTSxpQ0FBaUMsR0FBVyxNQUFNLENBQUM7QUF1QnpELE1BQWEsV0FBWSxTQUFRLHNCQUFTO0lBVXhDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBdUI7UUFDL0QsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUNqQixJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQyx1QkFBdUIsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNwRCxJQUFJLENBQUMsWUFBWSxHQUFHLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNuRCxJQUFJLENBQUMseUJBQXlCLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDeEMsQ0FBQztJQUNEOzs7O09BSUc7SUFDSyx1QkFBdUIsQ0FBQyxLQUF1QjtRQUNyRCxJQUFJLEtBQU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GxpbmcuYnVuZGxpbmcoe1xuICAgICAgICBzb3VyY2U6IHByb3BzLmRvY3VtZW50YXRpb24uZmlsZSEsXG4gICAgICAgIGN1c3RvbVBhZ2U6IHByb3BzLmRvY3VtZW50YXRpb24uY3VzdG9tUGFnZSA/PyB7fSxcbiAgICAgIH0pO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYHByb3BzLmRvY3VtZW50YXRpb24ucGFubmVsVHlwZVske3Bhbm5lbFR5cGV9XSBpcyBub3Qgc3VwcG9ydGVkYCk7XG4gICAgfVxuICAgIG5ldyBCdWNrZXREZXBsb3ltZW50KHRoaXMsICdEb2N1bWVudGF0aW9uUGFnZScsIHtcbiAgICAgIGRlc3RpbmF0aW9uQnVja2V0OiB0aGlzLnMzQnVja2V0LFxuICAgICAgZGVzdGluYXRpb25LZXlQcmVmaXg6IHByb3BzLmRvY3VtZW50YXRpb24uZG9jc1ByZWZpeD8ucmVwbGFjZSgvXlxcLy8sICcnKSA/PyBERUZBVUxUX0RPQ1VNRU5UQVRJT05fUFJFRklYX1BBVEgsXG4gICAgICBzb3VyY2VzOiBbXG4gICAgICAgIHNvdXJjZSxcbiAgICAgIF0sXG4gICAgICBwcnVuZTogdHJ1ZSxcbiAgICB9KTtcbiAgfVxufSJdfQ==
import { ICertificate } from 'aws-cdk-lib/aws-certificatemanager';
import { ErrorResponse, GeoRestriction, HttpVersion, SecurityPolicyProtocol } from 'aws-cdk-lib/aws-cloudfront';
import { IBucket } from 'aws-cdk-lib/aws-s3';
export interface DistributionProps {

@@ -54,2 +56,69 @@ /**

readonly enableLogging?: boolean;
/**
* Controls the countries in which your content is distributed.
*
* @default - No geographic restrictions
* @stability stable
*/
readonly geoRestriction?: GeoRestriction;
/**
* Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
*
* For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support server name identification (SNI).
*
* @default HttpVersion.HTTP2
* @stability stable
*/
readonly httpVersion?: HttpVersion;
/**
* The Amazon S3 bucket to store the access logs in.
*
* @default - A bucket is created if `enableLogging` is true
* @stability stable
*/
readonly logBucket?: IBucket;
/**
* Specifies whether you want CloudFront to include cookies in access logs.
*
* @default false
* @stability stable
*/
readonly logIncludesCookies?: boolean;
/**
* An optional string that you want CloudFront to prefix to the access log filenames for this distribution.
*
* @default - no prefix
* @stability stable
*/
readonly logFilePrefix?: string;
/**
* Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.
*
* To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example
* `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`.
* To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.
*
* @default - No AWS Web Application Firewall web access control list (web ACL).
* @see https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html#API_CreateDistribution_RequestParameters.
* @stability stable
*/
readonly webAclId?: string;
/**
* How CloudFront should handle requests that are not successful (e.g., PageNotFound).
*
* @default - No custom error responses.
* @stability stable
*/
readonly errorResponses?: ErrorResponse[];
/**
* The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.
*
* CloudFront serves your objects only to browsers or devices that support at
* least the SSL version that you specify.
*
* @default - SecurityPolicyProtocol.TLS_V1_2_2021 if the '
* @stability stable
* @aws-cdk /aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021' feature flag is set; otherwise, SecurityPolicyProtocol.TLS_V1_2_2019.
*/
readonly minimumProtocolVersion?: SecurityPolicyProtocol;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzdHJpYnV0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2Rpc3RyaWJ1dGlvbi50cyJdLCJuYW1lcyI6W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ateways';
export * from './distribution';
export * from './documentation';
export * from './origin-api-authorization-type';
export * from './origin-api-config';

@@ -16,3 +16,4 @@ "use strict";

__exportStar(require("./documentation"), exports);
__exportStar(require("./origin-api-authorization-type"), exports);
__exportStar(require("./origin-api-config"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsZ0RBQThCO0FBQzlCLGlEQUErQjtBQUMvQixrREFBZ0M7QUFDaEMsc0RBQW9DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcGlnYXRld2F5cyc7XG5leHBvcnQgKiBmcm9tICcuL2Rpc3RyaWJ1dGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2RvY3VtZW50YXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9vcmlnaW4tYXBpLWNvbmZpZyc7Il19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsZ0RBQThCO0FBQzlCLGlEQUErQjtBQUMvQixrREFBZ0M7QUFDaEMsa0VBQWdEO0FBQ2hELHNEQUFvQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXBpZ2F0ZXdheXMnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXN0cmlidXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9kb2N1bWVudGF0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vb3JpZ2luLWFwaS1hdXRob3JpemF0aW9uLXR5cGUnO1xuZXhwb3J0ICogZnJvbSAnLi9vcmlnaW4tYXBpLWNvbmZpZyc7Il19

@@ -9,2 +9,3 @@ "use strict";

const apigateways_1 = require("./apigateways");
const origin_api_authorization_type_1 = require("./origin-api-authorization-type");
class IntegTesting {

@@ -25,10 +26,14 @@ constructor() {

stageName: 'prod',
originApisConfig: {
books: {
originApisConfig: [
{
path: 'books',
originApi: booksApi,
originApiAuthorizationType: origin_api_authorization_type_1.OriginApiAuthorizationType.COGNITO,
},
articles: {
{
path: 'articles',
originApi: articlesApi,
originApiAuthorizationType: origin_api_authorization_type_1.OriginApiAuthorizationType.IAM,
},
},
],
distribution: {

@@ -91,2 +96,2 @@ comment: 'ApiGatewayMix',

new IntegTesting();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuZGVmYXVsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnRlZy5kZWZhdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHVEQUcrQjtBQUMvQiw2Q0FHcUI7QUFDckIsdURBSWdDO0FBQ2hDLCtDQUU0QjtBQUM1QiwrQ0FFdUI7QUFFdkIsTUFBYSxZQUFZO0lBSXZCO1FBQ0UsTUFBTSxHQUFHLEdBQUcsSUFBSSxpQkFBRyxFQUFFLENBQUM7UUFDdEIsTUFBTSxTQUFTLEdBQUcsR0FBRyxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsV0FBVyxDQUFDLElBQUksa0JBQWtCLENBQUM7UUFDNUUsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLG1CQUFLLENBQUMsR0FBRyxFQUFFLFNBQVMsRUFBRTtZQUNyQyxHQUFHLEVBQUU7Z0JBQ0gsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUFHLENBQUMsa0JBQWtCO2dCQUN0QyxPQUFPLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ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W50aW1lOiBSdW50aW1lLk5PREVKU18xNF9YLFxuICAgICAgICAgICAgaGFuZGxlcjogJ2luZGV4LmhhbmRsZXInLFxuICAgICAgICAgICAgY29kZTogbmV3IElubGluZUNvZGUoJ2V4cG9ydHMuaGFuZGxlciA9IGZ1bmN0aW9uKGV2ZW50LCBjb250ZXh0LCBjYWxsYmFjaykgeyBjYWxsYmFjayhudWxsLCB7IHN0YXR1c0NvZGU6IDIwMCwgYm9keTogSlNPTi5zdHJpbmdpZnkoeyBib29rczogW10gfSkgfSkgfScpLFxuICAgICAgICAgIH0pLFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgcGF0aDogJy9ib29rcy97Ym9va0lkfScsXG4gICAgICAgICAgaHR0cE1ldGhvZDogSHR0cE1ldGhvZC5HRVQsXG4gICAgICAgICAgbGFtYmRhRnVuY3Rpb246IG5ldyBGdW5jdGlvbih0aGlzLnN0YWNrLCAnR2V0Qm9va0Z1bmN0aW9uJywge1xuICAgICAgICAgICAgcnVudGltZTogUnVudGltZS5OT0RFSlNfMTRfWCxcbiAgICAgICAgICAgIGhhbmRsZXI6ICdpbmRleC5oYW5kbGVyJyxcbiAgICAgICAgICAgIGNvZGU6IG5ldyBJbmxpbmVDb2RlKCdleHBvcnRzLmhhbmRsZXIgPSBmdW5jdGlvbihldmVudCwgY29udGV4dCwgY2FsbGJhY2spIHsgY2FsbGJhY2sobnVsbCwgeyBzdGF0dXNDb2RlOiAyMDAsIGJvZHk6IEpTT04uc3RyaW5naWZ5KHsgYm9vazogeyBuYW1lOiBcIlRlc3QgQm9va1wiIH0gfSkgfSkgfScpLFxuICAgICAgICAgIH0pLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGVuYWJsZUNvcnM6IHRydWUsXG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIGNyZWF0ZUFydGljbGVzUmVzdEFwaSgpOiBSZXN0QXBpIHtcbiAgICByZXR1cm4gbmV3IFJlc3RBcGkodGhpcy5z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cycsXG4gICAgICAgICAgaHR0cE1ldGhvZDogSHR0cE1ldGhvZC5HRVQsXG4gICAgICAgICAgbGFtYmRhRnVuY3Rpb246IG5ldyBGdW5jdGlvbih0aGlzLnN0YWNrLCAnR2V0QXJ0aWNsZXNGdW5jdGlvbicsIHtcbiAgICAgICAgICAgIHJ1bnRpbWU6IFJ1bnRpbWUuTk9ERUpTXzE0X1gsXG4gICAgICAgICAgICBoYW5kbGVyOiAnaW5kZXguaGFuZGxlcicsXG4gICAgICAgICAgICBjb2RlOiBuZXcgSW5saW5lQ29kZSgnZXhwb3J0cy5oYW5kbGVyID0gZnVuY3Rpb24oZXZlbnQsIGNvbnRleHQsIGNhbGxiYWNrKSB7IGNhbGxiYWNrKG51bGwsIHsgc3RhdHVzQ29kZTogMjAwLCBib2R5OiBKU09OLnN0cmluZ2lmeSh7IGFydGljbGVzOiBbXSB9KSB9KSB9JyksXG4gICAgICAgICAgfSksXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgZW5hYmxlQ29yczogdHJ1ZSxcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgY3JlYXRlRG9jQnVja2V0KCk6IEJ1Y2tldCB7XG4gICAgcmV0dXJuIG5ldyBCdWNrZXQodGhpcy5zdGFjaywgJ0RvY0J1Y2tldCcpO1xuICB9XG59XG5cbm5ldyBJbnRlZ1Rlc3RpbmcoKTsiXX0=
import { HttpApi } from '@aws-cdk/aws-apigatewayv2-alpha';
import { RestApi as SoftChefRestApi } from '@softchef/cdk-restapi';
import { RestApi } from 'aws-cdk-lib/aws-apigateway';
import { AllowedMethods, CachedMethods, ICachePolicy, IOriginRequestPolicy, IResponseHeadersPolicy, ViewerProtocolPolicy } from 'aws-cdk-lib/aws-cloudfront';
import { OriginApiAuthorizationType } from './origin-api-authorization-type';
export interface OriginApiConfig {
/**
* The origin api path.
* Ex: https://{ApiId}.execute-api.{region}.amazonaws.com/{StageName}/articles, the path is articles.
*/
readonly path: string;
/**
* The origin api are supported AWS RestApi/HttpApi & @softchef/cdk-restapi
*/
readonly originApi: RestApi | HttpApi | SoftChefRestApi;
/**
* The origin api which authorization type
*
* @default none
*/
readonly originApiAuthorizationType?: OriginApiAuthorizationType;
/**
* HTTP methods to allow for this behavior.
*
* @default AllowedMethods.ALLOW_GET_HEAD
* @stability stable
*/
readonly allowedMethods?: AllowedMethods;
/**
* HTTP methods to cache for this behavior.
*
* @default CachedMethods.CACHE_GET_HEAD
* @stability stable
*/
readonly cachedMethods?: CachedMethods;
/**
* The cache policy for this behavior.
*
* The cache policy determines what values are included in the cache key,
* and the time-to-live (TTL) values for the cache.
*
* @default CachePolicy.CACHING_OPTIMIZED
* @see https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html.
* @stability stable
*/
readonly cachePolicy?: ICachePolicy;
/**
* Whether you want CloudFront to automatically compress certain files for this cache behavior.
*
* See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types
* for file types CloudFront will compress.
*
* @default true
* @stability stable
*/
readonly compress?: boolean;
/**
* The origin request policy for this behavior.
*
* The origin request policy determines which values (e.g., headers, cookies)
* are included in requests that CloudFront sends to the origin.
*
* @default - none
* @stability stable
*/
readonly originRequestPolicy?: IOriginRequestPolicy;
/**
* The response headers policy for this behavior.
*
* The response headers policy determines which headers are included in responses
*
* @default - none
* @stability stable
*/
readonly responseHeadersPolicy?: IResponseHeadersPolicy;
/**
* The protocol that viewers can use to access the files controlled by this behavior.
*
* @default ViewerProtocolPolicy.ALLOW_ALL
* @stability stable
*/
readonly viewerProtocolPolicy?: ViewerProtocolPolicy;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JpZ2luLWFwaS1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvb3JpZ2luLWFwaS1j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ZhdWx0IC0gbm9uZVxuICAqIEBzdGFiaWxpdHkgc3RhYmxlXG4gICovXG4gIHJlYWRvbmx5IHJlc3BvbnNlSGVhZGVyc1BvbGljeT86IElSZXNwb25zZUhlYWRlcnNQb2xpY3k7XG4gIC8qKlxuICAgKiBUaGUgcHJvdG9jb2wgdGhhdCB2aWV3ZXJzIGNhbiB1c2UgdG8gYWNjZXNzIHRoZSBmaWxlcyBjb250cm9sbGVkIGJ5IHRoaXMgYmVoYXZpb3IuXG4gICAqXG4gICAqIEBkZWZhdWx0IFZpZXdlclByb3RvY29sUG9saWN5LkFMTE9XX0FMTFxuICAgKiBAc3RhYmlsaXR5IHN0YWJsZVxuICAgKi9cbiAgcmVhZG9ubHkgdmlld2VyUHJvdG9jb2xQb2xpY3k/OiBWaWV3ZXJQcm90b2NvbFBvbGljeTtcbn0iXX0=

@@ -41,3 +41,3 @@ {

"@aws-cdk/aws-apigatewayv2-alpha": "2.1.0-alpha.0",
"@softchef/cdk-restapi": "2.0.47",
"@softchef/cdk-restapi": "2.0.53",
"@types/jest": "^27.4.1",

@@ -51,4 +51,4 @@ "@types/node": "^12",

"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "*",
"eslint-plugin-import": "^2.25.4",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"jest": "^27.5.1",

@@ -62,3 +62,3 @@ "jest-junit": "^13",

"npm-check-updates": "^12",
"projen": "^0.54.1",
"projen": "^0.54.8",
"standard-version": "^9",

@@ -70,3 +70,3 @@ "ts-jest": "^27.1.4",

"@aws-cdk/aws-apigatewayv2-alpha": "2.1.0-alpha.0",
"@softchef/cdk-restapi": "^2.0.47",
"@softchef/cdk-restapi": "^2.0.53",
"aws-cdk-lib": "^2.1.0",

@@ -89,3 +89,3 @@ "constructs": "^10.0.5"

},
"version": "2.0.4",
"version": "2.0.5",
"jest": {

@@ -92,0 +92,0 @@ "testMatch": [

Sorry, the diff of this file is not supported yet

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