Interface CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Jsii$Proxy
- Enclosing class:
CfnResponseHeadersPolicy
@Stability(Stable)
public static interface CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty
extends software.amazon.jsii.JsiiSerializable
A list of HTTP methods that CloudFront includes as values for the
Access-Control-Allow-Methods
HTTP response header.
For more information about the Access-Control-Allow-Methods
HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudfront.*; AccessControlAllowMethodsProperty accessControlAllowMethodsProperty = AccessControlAllowMethodsProperty.builder() .items(List.of("items")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnResponseHeadersPolicy.AccessControlAllowMethodsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getItems
The list of HTTP methods. Valid values are:.GET
DELETE
HEAD
OPTIONS
PATCH
POST
PUT
ALL
ALL
is a special value that includes all of the listed HTTP methods.- See Also:
-
builder
@Stability(Stable) static CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Builder builder()
-