awscc.cloudfront_cachepolicy

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - cloudfront:DeleteCachePolicy

update

Parent base class for filters and actions.

definitions:
  CachePolicyConfig:
    additionalProperties: false
    properties:
      Comment:
        type: string
      DefaultTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      MaxTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      MinTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      Name:
        type: string
      ParametersInCacheKeyAndForwardedToOrigin:
        additionalProperties: false
        properties:
          CookiesConfig:
            additionalProperties: false
            properties:
              CookieBehavior:
                pattern: ^(none|whitelist|allExcept|all)$
                type: string
              Cookies:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - CookieBehavior
            type: object
          EnableAcceptEncodingBrotli:
            type: boolean
          EnableAcceptEncodingGzip:
            type: boolean
          HeadersConfig:
            additionalProperties: false
            properties:
              HeaderBehavior:
                pattern: ^(none|whitelist)$
                type: string
              Headers:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - HeaderBehavior
            type: object
          QueryStringsConfig:
            additionalProperties: false
            properties:
              QueryStringBehavior:
                pattern: ^(none|whitelist|allExcept|all)$
                type: string
              QueryStrings:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - QueryStringBehavior
            type: object
        required:
        - EnableAcceptEncodingGzip
        - HeadersConfig
        - CookiesConfig
        - QueryStringsConfig
        type: object
    required:
    - Name
    - MinTTL
    - MaxTTL
    - DefaultTTL
    - ParametersInCacheKeyAndForwardedToOrigin
    type: object
  CookiesConfig:
    additionalProperties: false
    properties:
      CookieBehavior:
        pattern: ^(none|whitelist|allExcept|all)$
        type: string
      Cookies:
        items:
          type: string
        type: array
        uniqueItems: false
    required:
    - CookieBehavior
    type: object
  HeadersConfig:
    additionalProperties: false
    properties:
      HeaderBehavior:
        pattern: ^(none|whitelist)$
        type: string
      Headers:
        items:
          type: string
        type: array
        uniqueItems: false
    required:
    - HeaderBehavior
    type: object
  ParametersInCacheKeyAndForwardedToOrigin:
    additionalProperties: false
    properties:
      CookiesConfig:
        additionalProperties: false
        properties:
          CookieBehavior:
            pattern: ^(none|whitelist|allExcept|all)$
            type: string
          Cookies:
            items:
              type: string
            type: array
            uniqueItems: false
        required:
        - CookieBehavior
        type: object
      EnableAcceptEncodingBrotli:
        type: boolean
      EnableAcceptEncodingGzip:
        type: boolean
      HeadersConfig:
        additionalProperties: false
        properties:
          HeaderBehavior:
            pattern: ^(none|whitelist)$
            type: string
          Headers:
            items:
              type: string
            type: array
            uniqueItems: false
        required:
        - HeaderBehavior
        type: object
      QueryStringsConfig:
        additionalProperties: false
        properties:
          QueryStringBehavior:
            pattern: ^(none|whitelist|allExcept|all)$
            type: string
          QueryStrings:
            items:
              type: string
            type: array
            uniqueItems: false
        required:
        - QueryStringBehavior
        type: object
    required:
    - EnableAcceptEncodingGzip
    - HeadersConfig
    - CookiesConfig
    - QueryStringsConfig
    type: object
  QueryStringsConfig:
    additionalProperties: false
    properties:
      QueryStringBehavior:
        pattern: ^(none|whitelist|allExcept|all)$
        type: string
      QueryStrings:
        items:
          type: string
        type: array
        uniqueItems: false
    required:
    - QueryStringBehavior
    type: object
properties:
  CachePolicyConfig:
    additionalProperties: false
    properties:
      Comment:
        type: string
      DefaultTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      MaxTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      MinTTL:
        minimum: 0
        multipleOf: 1.0
        type: number
      Name:
        type: string
      ParametersInCacheKeyAndForwardedToOrigin:
        additionalProperties: false
        properties:
          CookiesConfig:
            additionalProperties: false
            properties:
              CookieBehavior:
                pattern: ^(none|whitelist|allExcept|all)$
                type: string
              Cookies:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - CookieBehavior
            type: object
          EnableAcceptEncodingBrotli:
            type: boolean
          EnableAcceptEncodingGzip:
            type: boolean
          HeadersConfig:
            additionalProperties: false
            properties:
              HeaderBehavior:
                pattern: ^(none|whitelist)$
                type: string
              Headers:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - HeaderBehavior
            type: object
          QueryStringsConfig:
            additionalProperties: false
            properties:
              QueryStringBehavior:
                pattern: ^(none|whitelist|allExcept|all)$
                type: string
              QueryStrings:
                items:
                  type: string
                type: array
                uniqueItems: false
            required:
            - QueryStringBehavior
            type: object
        required:
        - EnableAcceptEncodingGzip
        - HeadersConfig
        - CookiesConfig
        - QueryStringsConfig
        type: object
    required:
    - Name
    - MinTTL
    - MaxTTL
    - DefaultTTL
    - ParametersInCacheKeyAndForwardedToOrigin
    type: object
  type:
    enum:
    - update

Permissions - cloudfront:UpdateCachePolicy