@Stability(value=Stable)
public static interface CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Builder
|
static class |
CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Builder |
builder() |
List<String> |
getItems()
The list of HTTP methods.
|
@Stability(value=Stable) @NotNull List<String> getItems()
GETDELETEHEADOPTIONSPATCHPOSTPUTALL
ALL is a special value that includes all of the listed HTTP methods.
@Stability(value=Stable) static CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty.Builder builder()
Copyright © 2022. All rights reserved.