Fugue.Core.AWS.CloudFront

Table of Contents

Module Members

AcmCertificate

(Type)

type AcmCertificate:
  | AcmCertificate ExternalOnly

AcmCertificate

(Constructor)

Argument:
ExternalOnly

AllowedMethods

(Type)

type AllowedMethods:
  | AllowedMethods
      items: List<Method>
      cachedMethods: Optional<List<Method>>

AllowedMethods

(Constructor)

Argument:

Record {

Field: items
Type: List<Method>
Field: cachedMethods
Type: Optional<List<Method>>

}

CacheBehavior

(Type)

type CacheBehavior:
  | CacheBehavior
      pathPattern: String
      forwardedValues: ForwardedValues
      trustedSigners: TrustedSigners
      viewerProtocolPolicy: ViewerProtocolPolicy
      minTTL: Int
      allowedMethods: Optional<AllowedMethods>
      smoothStreaming: Optional<Bool>
      defaultTTL: Optional<Int>
      maxTTL: Optional<Int>
      compress: Optional<Bool>
      targetOrigin: Origin

CacheBehavior

(Constructor)

Argument:

Record {

Field: pathPattern
Type: String
Field: forwardedValues
Type: ForwardedValues
Field: trustedSigners
Type: TrustedSigners
Field: viewerProtocolPolicy
Type: ViewerProtocolPolicy
Field: minTTL
Type: Int
Field: allowedMethods
Type: Optional<AllowedMethods>
Field: smoothStreaming
Type: Optional<Bool>
Field: defaultTTL
Type: Optional<Int>
Field: maxTTL
Type: Optional<Int>
Field: compress
Type: Optional<Bool>
Field: targetOrigin
Type: Origin

}

CertificateSource

(Type)

type CertificateSource:
  | Cloudfront
  | Iam
  | Acm

Acm

(Constructor)

Cloudfront

(Constructor)

Iam

(Constructor)

CustomErrorResponse

(Type)

type CustomErrorResponse:
  | CustomErrorResponse
      errorCode: Int
      responsePagePath: Optional<String>
      responseCode: Optional<String>
      errorCachingMinTTL: Optional<Int>

CustomErrorResponse

(Constructor)

Argument:

Record {

Field: errorCode
Type: Int
Field: responsePagePath
Type: Optional<String>
Field: responseCode
Type: Optional<String>
Field: errorCachingMinTTL
Type: Optional<Int>

}

CustomHeader

(Type)

type CustomHeader:
  | CustomHeader
      headerName: String
      headerValue: String

CustomHeader

(Constructor)

Argument:

Record {

Field: headerName
Type: String
Field: headerValue
Type: String

}

CustomOriginConfig

(Type)

type CustomOriginConfig:
  | CustomOriginConfig
      httpPort: Int
      httpsPort: Int
      originProtocolPolicy: OriginProtocolPolicy
      originSslProtocols: Optional<List<SslProtocol>>

CustomOriginConfig

(Constructor)

Argument:

Record {

Field: httpPort
Type: Int
Field: httpsPort
Type: Int
Field: originProtocolPolicy
Type: OriginProtocolPolicy
Field: originSslProtocols
Type: Optional<List<SslProtocol>>

}

DefaultCacheBehavior

(Type)

type DefaultCacheBehavior:
  | DefaultCacheBehavior
      forwardedValues: ForwardedValues
      trustedSigners: TrustedSigners
      viewerProtocolPolicy: ViewerProtocolPolicy
      minTTL: Int
      allowedMethods: Optional<AllowedMethods>
      smoothStreaming: Optional<Bool>
      defaultTTL: Optional<Int>
      maxTTL: Optional<Int>
      compress: Optional<Bool>
      targetOrigin: Origin

DefaultCacheBehavior

(Constructor)

Argument:

Record {

Field: forwardedValues
Type: ForwardedValues
Field: trustedSigners
Type: TrustedSigners
Field: viewerProtocolPolicy
Type: ViewerProtocolPolicy
Field: minTTL
Type: Int
Field: allowedMethods
Type: Optional<AllowedMethods>
Field: smoothStreaming
Type: Optional<Bool>
Field: defaultTTL
Type: Optional<Int>
Field: maxTTL
Type: Optional<Int>
Field: compress
Type: Optional<Bool>
Field: targetOrigin
Type: Origin

}

ForwardedValues

(Type)

type ForwardedValues:
  | ForwardedValues
      queryString: Bool
      headers: Optional<List<String>>
      whitelistAllCookies: Optional<Bool>
      whitelistedCookieNames: Optional<List<String>>

ForwardedValues

(Constructor)

Argument:

Record {

Field: queryString
Type: Bool
Field: headers
Type: Optional<List<String>>
Field: whitelistAllCookies
Type: Optional<Bool>
Field: whitelistedCookieNames
Type: Optional<List<String>>

}

GeoRestriction

(Type)

type GeoRestriction:
  | GeoRestriction
      restrictionType: GeoRestrictionType
      items: List<String>

GeoRestriction

(Constructor)

Argument:

Record {

Field: restrictionType
Type: GeoRestrictionType
Field: items
Type: List<String>

}

GeoRestrictionType

(Type)

type GeoRestrictionType:
  | Whitelist
  | Blacklist

Blacklist

(Constructor)

Whitelist

(Constructor)

IAMCertificate

(Type)

type IAMCertificate:
  | IAMCertificate ExternalOnly

IAMCertificate

(Constructor)

Argument:
ExternalOnly

LoggingConfig

(Type)

type LoggingConfig:
  | LoggingConfig
      enabled: Bool
      includeCookies: Bool
      bucket: Bucket
      prefix: String

LoggingConfig

(Constructor)

Argument:

Record {

Field: enabled
Type: Bool
Field: includeCookies
Type: Bool
Field: bucket
Type: Bucket
Field: prefix
Type: String

}

Method

(Type)

type Method:
  | GET
  | HEAD
  | POST
  | PUT
  | PATCH
  | OPTIONS
  | DELETE

DELETE

(Constructor)

GET

(Constructor)

OPTIONS

(Constructor)

PATCH

(Constructor)

POST

(Constructor)

PUT

(Constructor)

MinimumProtocolVersion

(Type)

type MinimumProtocolVersion:
  | VersionSSLv3
  | VersionTLSv1

VersionSSLv3

(Constructor)

VersionTLSv1

(Constructor)

Origin

(Type)

type Origin:
  | Origin
      id: String
      domainName: String
      originPath: Optional<String>
      customHeaders: Optional<List<CustomHeader>>
      originConfig: OriginConfig

Origin

(Constructor)

Argument:

Record {

Field: id
Type: String
Field: domainName
Type: String
Field: originPath
Type: Optional<String>
Field: customHeaders
Type: Optional<List<CustomHeader>>
Field: originConfig
Type: OriginConfig

}

OriginAccessIdentity

(Type)

type OriginAccessIdentity:
  | OriginAccessIdentity ExternalOnly

OriginAccessIdentity

(Constructor)

Argument:
ExternalOnly

OriginConfig

(Type)

type OriginConfig:
  | S3 S3OriginConfig
  | Custom CustomOriginConfig

Custom

(Constructor)

Argument:
CustomOriginConfig

S3

(Constructor)

Argument:
S3OriginConfig

OriginProtocolPolicy

(Type)

type OriginProtocolPolicy:
  | HttpOnly
  | MatchViewer
  | HttpsOnly

HttpOnly

(Constructor)

HttpsOnly

(Constructor)

MatchViewer

(Constructor)

PriceClass

(Type)

type PriceClass:
  | PriceClass100
  | PriceClass200
  | PriceClassAll

PriceClass100

(Constructor)

PriceClass200

(Constructor)

PriceClassAll

(Constructor)

S3OriginConfig

(Type)

type S3OriginConfig:
  | S3OriginConfig
      originAccessIdentity: OriginAccessIdentity

S3OriginConfig

(Constructor)

Argument:

Record {

Field: originAccessIdentity
Type: OriginAccessIdentity

}

SSLSupportMethod

(Type)

type SSLSupportMethod:
  | SniOnly
  | Vip

SniOnly

(Constructor)

Vip

(Constructor)

SslProtocol

(Type)

type SslProtocol:
  | SSLv3
  | TLSv1
  | TLSv1_1
  | TLSv1_2

SSLv3

(Constructor)

TLSv1

(Constructor)

TLSv1_1

(Constructor)

TLSv1_2

(Constructor)

TrustedSigners

(Type)

type TrustedSigners:
  | TrustedSigners
      enabled: Bool
      items: Optional<List<String>>

TrustedSigners

(Constructor)

Argument:

Record {

Field: enabled
Type: Bool
Field: items
Type: Optional<List<String>>

}

ViewerCertificate

(Type)

type ViewerCertificate:
  | ViewerCertificate
      cloudFrontDefaultCertificate: Optional<Bool>
      sslSupportMethod: Optional<SSLSupportMethod>
      minimumProtocolVersion: Optional<MinimumProtocolVersion>
      certificateSource: Optional<CertificateSource>
      acmCertificate: Optional<AcmCertificate>
      iamCertificate: Optional<IAMCertificate>

ViewerCertificate

(Constructor)

Argument:

Record {

Field: cloudFrontDefaultCertificate
Type: Optional<Bool>
Field: sslSupportMethod
Type: Optional<SSLSupportMethod>
Field: minimumProtocolVersion
Type: Optional<MinimumProtocolVersion>
Field: certificateSource
Type: Optional<CertificateSource>
Field: acmCertificate
Type: Optional<AcmCertificate>
Field: iamCertificate
Type: Optional<IAMCertificate>

}

ViewerProtocolPolicy

(Type)

type ViewerProtocolPolicy:
  | ViewerAllowAll
  | ViewerHttpsOnly
  | ViewerRedirectToHttps

ViewerAllowAll

(Constructor)

ViewerHttpsOnly

(Constructor)

ViewerRedirectToHttps

(Constructor)

WebACL

(Type)

type WebACL:
  | WebACL ExternalOnly

WebACL

(Constructor)

Argument:
ExternalOnly

WebDistribution

(Type)

type WebDistribution:
  | WebDistribution
      aliases: Optional<List<String>>
      defaultRootObject: Optional<String>
      origins: List<Origin>
      defaultCacheBehavior: DefaultCacheBehavior
      cacheBehaviors: Optional<List<CacheBehavior>>
      customErrorResponses: Optional<List<CustomErrorResponse>>
      comment: String
      logging: Optional<LoggingConfig>
      priceClass: Optional<PriceClass>
      enabled: Bool
      viewerCertificate: Optional<ViewerCertificate>
      restrictions: Optional<GeoRestriction>
      webACL: Optional<WebACL>

WebDistribution

(Constructor)

Argument:

Record {

Field: aliases
Type: Optional<List<String>>
Field: defaultRootObject
Type: Optional<String>
Field: origins
Type: List<Origin>
Field: defaultCacheBehavior
Type: DefaultCacheBehavior
Field: cacheBehaviors
Type: Optional<List<CacheBehavior>>
Field: customErrorResponses
Type: Optional<List<CustomErrorResponse>>
Field: comment
Type: String
Field: logging
Type: Optional<LoggingConfig>
Field: priceClass
Type: Optional<PriceClass>
Field: enabled
Type: Bool
Field: viewerCertificate
Type: Optional<ViewerCertificate>
Field: restrictions
Type: Optional<GeoRestriction>
Field: webACL
Type: Optional<WebACL>

}