@Stability(value=Stable)
public static interface CfnApi.CorsProperty
extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApi.CorsProperty.Builder
A builder for
CfnApi.CorsProperty |
static class |
CfnApi.CorsProperty.Jsii$Proxy
An implementation for
CfnApi.CorsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApi.CorsProperty.Builder |
builder() |
default Object |
getAllowCredentials()
`CfnApi.CorsProperty.AllowCredentials`.
|
default List<String> |
getAllowHeaders()
`CfnApi.CorsProperty.AllowHeaders`.
|
default List<String> |
getAllowMethods()
`CfnApi.CorsProperty.AllowMethods`.
|
default List<String> |
getAllowOrigins()
`CfnApi.CorsProperty.AllowOrigins`.
|
default List<String> |
getExposeHeaders()
`CfnApi.CorsProperty.ExposeHeaders`.
|
default Number |
getMaxAge()
`CfnApi.CorsProperty.MaxAge`.
|
@Stability(value=Stable) @Nullable default Object getAllowCredentials()
@Stability(value=Stable) @Nullable default List<String> getAllowHeaders()
@Stability(value=Stable) @Nullable default List<String> getAllowMethods()
@Stability(value=Stable) @Nullable default List<String> getAllowOrigins()
@Stability(value=Stable) @Nullable default List<String> getExposeHeaders()
@Stability(value=Stable) @Nullable default Number getMaxAge()
@Stability(value=Stable) static CfnApi.CorsProperty.Builder builder()
CfnApi.CorsProperty.Builder of CfnApi.CorsPropertyCopyright © 2021. All rights reserved.