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

secure-cdk

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-cdk - npm Package Compare versions

Comparing version 0.1.2-alpha.5 to 0.1.2

1

lib/services/index.d.ts
export * from './s3';
export * from './cloudfront';

8

package.json
{
"name": "secure-cdk",
"version": "0.1.2-alpha.5",
"version": "0.1.2",
"description": "Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.",

@@ -45,6 +45,6 @@ "keywords": [

"peerDependencies": {
"@aws-cdk/aws-s3": "^1.116.0",
"@aws-cdk/aws-cloudfront": "^1.116.0",
"@aws-cdk/core": "^1.116.0"
"@aws-cdk/aws-s3": "^1.117.0",
"@aws-cdk/aws-cloudfront": "^1.117.0",
"@aws-cdk/core": "^1.117.0"
}
}

@@ -44,2 +44,24 @@ # Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.

Security wrapper for `Distribution` construct.
| Property | Value | Description | AWS CDK Default |
| --- | --- | --- | --- |
| minimumProtocolVersion | TLS_V1_2_2021 | The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. | TLS_V1_2_2021 |
`createSecureBehavior` is a function used to create preconfigured behaviors for CloudFront distributions.
| Property | Value | Description | AWS CDK Default |
| --- | --- | --- | --- |
| viewerProtocolPolicy | HTTPS_ONLY | The protocol that viewers can use to access the files controlled by this behavior. | ALLOW_ALL |
```typescript
import { createSecureBehavior, SecureDistribution } from 'secure-cdk';
const mySiteBucket = new SecureDistribution(this, 'myDistribution', {
defaultBehavior: createSecureBehavior({
origin: new S3Origin(mySiteBucket)
})
});
```
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