/AWS1/CL_FNTRSPHEADERSPLYCFG¶
A response headers policy configuration.
A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING¶
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
Optional arguments:¶
iv_comment TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING¶
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
io_corsconfig TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYCOR00 /AWS1/CL_FNTRSPHEADERSPLYCOR00¶
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
io_securityheadersconfig TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYSEC00 /AWS1/CL_FNTRSPHEADERSPLYSEC00¶
A configuration for a set of security-related HTTP response headers.
io_servertimingheadersconfig TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYSER00 /AWS1/CL_FNTRSPHEADERSPLYSER00¶
A configuration for enabling the
Server-Timingheader in HTTP responses sent from CloudFront.
io_customheadersconfig TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYCUS00 /AWS1/CL_FNTRSPHEADERSPLYCUS00¶
A configuration for a set of custom HTTP response headers.
io_removeheadersconfig TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYREM00 /AWS1/CL_FNTRSPHEADERSPLYREM00¶
A configuration for a set of HTTP headers to remove from the HTTP response.
Queryable Attributes¶
Comment¶
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMMENT() |
Getter for COMMENT, with configurable default |
ASK_COMMENT() |
Getter for COMMENT w/ exceptions if field has no value |
HAS_COMMENT() |
Determine if COMMENT has a value |
Name¶
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
CorsConfig¶
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CORSCONFIG() |
Getter for CORSCONFIG |
SecurityHeadersConfig¶
A configuration for a set of security-related HTTP response headers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SECURITYHEADERSCONFIG() |
Getter for SECURITYHEADERSCONFIG |
ServerTimingHeadersConfig¶
A configuration for enabling the
Server-Timingheader in HTTP responses sent from CloudFront.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SERVERTIMINGHEADERSCFG() |
Getter for SERVERTIMINGHEADERSCONFIG |
CustomHeadersConfig¶
A configuration for a set of custom HTTP response headers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CUSTOMHEADERSCONFIG() |
Getter for CUSTOMHEADERSCONFIG |
RemoveHeadersConfig¶
A configuration for a set of HTTP headers to remove from the HTTP response.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REMOVEHEADERSCONFIG() |
Getter for REMOVEHEADERSCONFIG |