awscc.cloudfront_responseheaderspolicy

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

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

Permissions - cloudfront:DeleteResponseHeadersPolicy

update

Parent base class for filters and actions.

definitions:
  AccessControlAllowHeaders:
    additionalProperties: false
    properties:
      Items:
        insertionOrder: false
        items:
          type: string
        type: array
    required:
    - Items
    type: object
  AccessControlAllowMethods:
    additionalProperties: false
    properties:
      Items:
        insertionOrder: false
        items:
          type: string
        type: array
    required:
    - Items
    type: object
  AccessControlAllowOrigins:
    additionalProperties: false
    properties:
      Items:
        insertionOrder: false
        items:
          type: string
        type: array
    required:
    - Items
    type: object
  AccessControlExposeHeaders:
    additionalProperties: false
    properties:
      Items:
        insertionOrder: false
        items:
          type: string
        type: array
    required:
    - Items
    type: object
  ContentSecurityPolicy:
    additionalProperties: false
    properties:
      ContentSecurityPolicy:
        type: string
      Override:
        type: boolean
    required:
    - Override
    - ContentSecurityPolicy
    type: object
  ContentTypeOptions:
    additionalProperties: false
    properties:
      Override:
        type: boolean
    required:
    - Override
    type: object
  CorsConfig:
    additionalProperties: false
    properties:
      AccessControlAllowCredentials:
        type: boolean
      AccessControlAllowHeaders:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              type: string
            type: array
        required:
        - Items
        type: object
      AccessControlAllowMethods:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              type: string
            type: array
        required:
        - Items
        type: object
      AccessControlAllowOrigins:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              type: string
            type: array
        required:
        - Items
        type: object
      AccessControlExposeHeaders:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              type: string
            type: array
        required:
        - Items
        type: object
      AccessControlMaxAgeSec:
        type: integer
      OriginOverride:
        type: boolean
    required:
    - AccessControlAllowOrigins
    - AccessControlAllowHeaders
    - AccessControlAllowMethods
    - AccessControlAllowCredentials
    - OriginOverride
    type: object
  CustomHeader:
    additionalProperties: false
    properties:
      Header:
        type: string
      Override:
        type: boolean
      Value:
        type: string
    required:
    - Header
    - Value
    - Override
    type: object
  CustomHeadersConfig:
    additionalProperties: false
    properties:
      Items:
        insertionOrder: false
        items:
          additionalProperties: false
          properties:
            Header:
              type: string
            Override:
              type: boolean
            Value:
              type: string
          required:
          - Header
          - Value
          - Override
          type: object
        type: array
        uniqueItems: false
    required:
    - Items
    type: object
  FrameOptions:
    additionalProperties: false
    properties:
      FrameOption:
        pattern: ^(DENY|SAMEORIGIN)$
        type: string
      Override:
        type: boolean
    required:
    - Override
    - FrameOption
    type: object
  ReferrerPolicy:
    additionalProperties: false
    properties:
      Override:
        type: boolean
      ReferrerPolicy:
        pattern: ^(no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-url)$
        type: string
    required:
    - Override
    - ReferrerPolicy
    type: object
  ResponseHeadersPolicyConfig:
    additionalProperties: false
    properties:
      Comment:
        type: string
      CorsConfig:
        additionalProperties: false
        properties:
          AccessControlAllowCredentials:
            type: boolean
          AccessControlAllowHeaders:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlAllowMethods:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlAllowOrigins:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlExposeHeaders:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlMaxAgeSec:
            type: integer
          OriginOverride:
            type: boolean
        required:
        - AccessControlAllowOrigins
        - AccessControlAllowHeaders
        - AccessControlAllowMethods
        - AccessControlAllowCredentials
        - OriginOverride
        type: object
      CustomHeadersConfig:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              additionalProperties: false
              properties:
                Header:
                  type: string
                Override:
                  type: boolean
                Value:
                  type: string
              required:
              - Header
              - Value
              - Override
              type: object
            type: array
            uniqueItems: false
        required:
        - Items
        type: object
      Name:
        type: string
      SecurityHeadersConfig:
        additionalProperties: false
        properties:
          ContentSecurityPolicy:
            additionalProperties: false
            properties:
              ContentSecurityPolicy:
                type: string
              Override:
                type: boolean
            required:
            - Override
            - ContentSecurityPolicy
            type: object
          ContentTypeOptions:
            additionalProperties: false
            properties:
              Override:
                type: boolean
            required:
            - Override
            type: object
          FrameOptions:
            additionalProperties: false
            properties:
              FrameOption:
                pattern: ^(DENY|SAMEORIGIN)$
                type: string
              Override:
                type: boolean
            required:
            - Override
            - FrameOption
            type: object
          ReferrerPolicy:
            additionalProperties: false
            properties:
              Override:
                type: boolean
              ReferrerPolicy:
                pattern: ^(no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-url)$
                type: string
            required:
            - Override
            - ReferrerPolicy
            type: object
          StrictTransportSecurity:
            additionalProperties: false
            properties:
              AccessControlMaxAgeSec:
                type: integer
              IncludeSubdomains:
                type: boolean
              Override:
                type: boolean
              Preload:
                type: boolean
            required:
            - Override
            - AccessControlMaxAgeSec
            type: object
          XSSProtection:
            additionalProperties: false
            properties:
              ModeBlock:
                type: boolean
              Override:
                type: boolean
              Protection:
                type: boolean
              ReportUri:
                type: string
            required:
            - Override
            - Protection
            type: object
        required: []
        type: object
    required:
    - Name
    type: object
  SecurityHeadersConfig:
    additionalProperties: false
    properties:
      ContentSecurityPolicy:
        additionalProperties: false
        properties:
          ContentSecurityPolicy:
            type: string
          Override:
            type: boolean
        required:
        - Override
        - ContentSecurityPolicy
        type: object
      ContentTypeOptions:
        additionalProperties: false
        properties:
          Override:
            type: boolean
        required:
        - Override
        type: object
      FrameOptions:
        additionalProperties: false
        properties:
          FrameOption:
            pattern: ^(DENY|SAMEORIGIN)$
            type: string
          Override:
            type: boolean
        required:
        - Override
        - FrameOption
        type: object
      ReferrerPolicy:
        additionalProperties: false
        properties:
          Override:
            type: boolean
          ReferrerPolicy:
            pattern: ^(no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-url)$
            type: string
        required:
        - Override
        - ReferrerPolicy
        type: object
      StrictTransportSecurity:
        additionalProperties: false
        properties:
          AccessControlMaxAgeSec:
            type: integer
          IncludeSubdomains:
            type: boolean
          Override:
            type: boolean
          Preload:
            type: boolean
        required:
        - Override
        - AccessControlMaxAgeSec
        type: object
      XSSProtection:
        additionalProperties: false
        properties:
          ModeBlock:
            type: boolean
          Override:
            type: boolean
          Protection:
            type: boolean
          ReportUri:
            type: string
        required:
        - Override
        - Protection
        type: object
    required: []
    type: object
  StrictTransportSecurity:
    additionalProperties: false
    properties:
      AccessControlMaxAgeSec:
        type: integer
      IncludeSubdomains:
        type: boolean
      Override:
        type: boolean
      Preload:
        type: boolean
    required:
    - Override
    - AccessControlMaxAgeSec
    type: object
  XSSProtection:
    additionalProperties: false
    properties:
      ModeBlock:
        type: boolean
      Override:
        type: boolean
      Protection:
        type: boolean
      ReportUri:
        type: string
    required:
    - Override
    - Protection
    type: object
properties:
  ResponseHeadersPolicyConfig:
    additionalProperties: false
    properties:
      Comment:
        type: string
      CorsConfig:
        additionalProperties: false
        properties:
          AccessControlAllowCredentials:
            type: boolean
          AccessControlAllowHeaders:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlAllowMethods:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlAllowOrigins:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlExposeHeaders:
            additionalProperties: false
            properties:
              Items:
                insertionOrder: false
                items:
                  type: string
                type: array
            required:
            - Items
            type: object
          AccessControlMaxAgeSec:
            type: integer
          OriginOverride:
            type: boolean
        required:
        - AccessControlAllowOrigins
        - AccessControlAllowHeaders
        - AccessControlAllowMethods
        - AccessControlAllowCredentials
        - OriginOverride
        type: object
      CustomHeadersConfig:
        additionalProperties: false
        properties:
          Items:
            insertionOrder: false
            items:
              additionalProperties: false
              properties:
                Header:
                  type: string
                Override:
                  type: boolean
                Value:
                  type: string
              required:
              - Header
              - Value
              - Override
              type: object
            type: array
            uniqueItems: false
        required:
        - Items
        type: object
      Name:
        type: string
      SecurityHeadersConfig:
        additionalProperties: false
        properties:
          ContentSecurityPolicy:
            additionalProperties: false
            properties:
              ContentSecurityPolicy:
                type: string
              Override:
                type: boolean
            required:
            - Override
            - ContentSecurityPolicy
            type: object
          ContentTypeOptions:
            additionalProperties: false
            properties:
              Override:
                type: boolean
            required:
            - Override
            type: object
          FrameOptions:
            additionalProperties: false
            properties:
              FrameOption:
                pattern: ^(DENY|SAMEORIGIN)$
                type: string
              Override:
                type: boolean
            required:
            - Override
            - FrameOption
            type: object
          ReferrerPolicy:
            additionalProperties: false
            properties:
              Override:
                type: boolean
              ReferrerPolicy:
                pattern: ^(no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-url)$
                type: string
            required:
            - Override
            - ReferrerPolicy
            type: object
          StrictTransportSecurity:
            additionalProperties: false
            properties:
              AccessControlMaxAgeSec:
                type: integer
              IncludeSubdomains:
                type: boolean
              Override:
                type: boolean
              Preload:
                type: boolean
            required:
            - Override
            - AccessControlMaxAgeSec
            type: object
          XSSProtection:
            additionalProperties: false
            properties:
              ModeBlock:
                type: boolean
              Override:
                type: boolean
              Protection:
                type: boolean
              ReportUri:
                type: string
            required:
            - Override
            - Protection
            type: object
        required: []
        type: object
    required:
    - Name
    type: object
  type:
    enum:
    - update

Permissions - cloudfront:UpdateResponseHeadersPolicy