Skip to content

/AWS1/CL_FNTRSPHEADERSPLYACC00

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_quantity TYPE /AWS1/FNTINTEGER /AWS1/FNTINTEGER

The number of origins in the list.

it_items TYPE /AWS1/CL_FNTACCCTLALWORIGINS00=>TT_ACCESSCTLALLOWORIGINSLIST TT_ACCESSCTLALLOWORIGINSLIST

The list of origins (domain names). You can specify * to allow all origins.


Queryable Attributes

Quantity

The number of origins in the list.

Accessible with the following methods

Method Description
GET_QUANTITY() Getter for QUANTITY, with configurable default
ASK_QUANTITY() Getter for QUANTITY w/ exceptions if field has no value
HAS_QUANTITY() Determine if QUANTITY has a value

Items

The list of origins (domain names). You can specify * to allow all origins.

Accessible with the following methods

Method Description
GET_ITEMS() Getter for ITEMS, with configurable default
ASK_ITEMS() Getter for ITEMS w/ exceptions if field has no value
HAS_ITEMS() Determine if ITEMS has a value