Skip to main content

CDK Constructs for Amazon CloudFront to AWS Elemental MediaStore integration.

Project description

aws-cloudfront-mediastore module

---

Stability: Experimental

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.


Reference Documentation: https://docs.aws.amazon.com/solutions/latest/constructs/
Language Package
Python Logo Python aws_solutions_constructs.aws_cloudfront_mediastore
TypeScript Logo TypeScript @aws-solutions-constructs/aws-cloudfront-mediastore
Java Logo Java software.amazon.awsconstructs.services.cloudfrontmediastore

Overview

This AWS Solutions Construct implements an Amazon CloudFront distribution to an AWS Elemental MediaStore container.

Here is a minimal deployable pattern definition in TypeScript:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from aws_solutions_constructs.aws_cloudfront_mediastore import CloudFrontToMediaStore

CloudFrontToMediaStore(self, "test-cloudfront-mediastore-default")

Initializer

new CloudFrontToMediaStore(scope: Construct, id: string, props: CloudFrontToMediaStoreProps);

Parameters

Pattern Construct Props

Name Type Description
existingMediaStoreContainerObj? mediastore.CfnContainer Optional user provided MediaStore container to override the default MediaStore container.
mediaStoreContainerProps? mediastore.CfnContainerProps Optional user provided props to override the default props for the MediaStore Container.
cloudFrontDistributionProps? cloudfront.DistributionProps any
insertHttpSecurityHeaders? boolean Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from CloudFront

Pattern Properties

Name Type Description
cloudFrontWebDistribution cloudfront.CloudFrontWebDistribution Returns an instance of cloudfront.CloudFrontWebDistribution created by the construct.
mediaStoreContainer mediastore.CfnContainer Returns an instance of mediastore.CfnContainer.
cloudFrontLoggingBucket s3.Bucket Returns an instance of s3.Bucket as the logging bucket for the CloudFront Web Distribution.
cloudFrontOriginRequestPolicy cloudfront.OriginRequestPolicy Returns an instance of cloudfront.OriginRequestPolicy created by the construct for the CloudFront Web Distribution.
cloudFrontOriginAccessIdentity? cloudfront.OriginAccessIdentity Returns an instance of cloudfront.OriginAccessIdentity created by the construct for the CloudFront Web Distribution origin custom headers and the MediaStore Container policy.
edgeLambdaFunctionVersion lambda.Version Returns an instance of the edge Lambda function version created by the pattern.

Default settings

Out of the box implementation of the Construct without any override will set the following defaults:

Amazon CloudFront

  • Configure access logging for CloudFront Web Distribution
  • Enable CloudFront Origin Request Policy for AWS Elemental MediaStore Container
  • Set User-Agent custom header with CloudFront Origin Access Identity
  • Enable automatic injection of best practice HTTP security headers in all responses from CloudFront WebDistribution

AWS Elemental MediaStore

Architecture

Architecture Diagram


© Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file aws-solutions-constructs.aws-cloudfront-mediastore-1.90.1.tar.gz.

File metadata

File hashes

Hashes for aws-solutions-constructs.aws-cloudfront-mediastore-1.90.1.tar.gz
Algorithm Hash digest
SHA256 e00b10dc3af061a5d5810d7facf5696e88956619370420324542b7c6efbfcd93
MD5 7eaf2af9be0d5a8dbcfa7085085704bc
BLAKE2b-256 a43c4c5605bb0cef4a72418f9e06d18682066fe2f67094357fe74f7aafc8b20e

See more details on using hashes here.

File details

Details for the file aws_solutions_constructs.aws_cloudfront_mediastore-1.90.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_solutions_constructs.aws_cloudfront_mediastore-1.90.1-py3-none-any.whl
Algorithm Hash digest
SHA256 624a7f5fb42a29149bed1f4a235d8f82bdb81dc930167fdb58e419fd95a574e0
MD5 3cc8ba8c366dec9a0fad94198561a831
BLAKE2b-256 c16c2b19ff2fbeb7c3683eb0c7423e4696c231e73a2c046ab14cb62c2e69a54e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page