CDK构建了AWS Cloudfront到aws3的集成。

aws-solutions-konstruk.aws-cloudfront-s3的Python项目详细描述


aws-cloudfront-s3模块

Stability: Experimental

This is a developer preview (public beta) module.

All classes are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


API Reference:http://docs.awssolutionsbuilder.com/aws-solutions-konstruk/latest/api/aws-cloudfront-s3/
^{tb2}$

这个AWS解决方案Konstruk实现了一个面向aws3 Bucket的AWS Cloudfront。在

下面是一个最小的可部署模式定义:

const{CloudFrontToS3}=require('@aws-solutions-konstruk/aws-cloudfront-s3');newCloudFrontToS3(stack,'test-cloudfront-s3',{deployBucket:true});

初始值设定项

^{pr2}$

参数

  • 范围^{}
  • 标识string
  • 道具^{}

构装道具

NameTypeDescription
deployBucket^{}Whether to create a S3 Bucket or use an existing S3 Bucket
existingBucketObj?^{}Existing instance of S3 Bucket object
bucketProps?^{}Optional user provided props to override the default props for S3 Bucket
cloudFrontDistributionProps?^{}Optional user provided props to override the default props for Cloudfront Distribution
insertHttpSecurityHeaders?^{}Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all resonses from cloudfront

图案属性

NameTypeDescription
cloudFrontWebDistribution()^{}Returns an instance of cloudfront.CloudFrontWebDistribution created by the construct
bucket()^{}Returns an instance of s3.Bucket created by the construct

建筑

Architecture Diagram


©2019年版权所有亚马逊网站,Inc.或其附属公司。版权所有。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java不兼容类型:MainActivity无法转换为LifecycleOwner   java安卓是一种更有效的读取大文本文件的方法   java导出LWJGL本地人与项目?(IntelliJ IDEA)   JDK更新后,JavaJShell不再在下一行打印输出   父类对象上的继承Java比较子属性   Java:有没有一个容器可以有效地结合HashMap和ArrayList?   安卓 Java对象指针   java在annotationdriven Spring MVC应用程序中实现大气   java 安卓源代码构建应用找不到安卓supportv4。罐子   文件系统上的抽象层和Java中的jar/zip   java在水平滚动视图中添加多个图像?   java如何从firebase实时数据库中获取字符串数组   WIndows 10工作站上的java未满足链接错误   java命令在终端中工作,但在使用过程中出现“无结束引号”错误。执行官