secure-cdk
Advanced tools
Comparing version 0.1.2-alpha.5 to 0.1.2
export * from './s3'; | ||
export * from './cloudfront'; |
{ | ||
"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) | ||
}) | ||
}); | ||
``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67
0
5065
6
14