@Stability(value=Stable)
public static interface CfnContainer.CorsRuleProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediastore.*;
CorsRuleProperty corsRuleProperty = CorsRuleProperty.builder()
.allowedHeaders(List.of("allowedHeaders"))
.allowedMethods(List.of("allowedMethods"))
.allowedOrigins(List.of("allowedOrigins"))
.exposeHeaders(List.of("exposeHeaders"))
.maxAgeSeconds(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnContainer.CorsRuleProperty.Builder
A builder for
CfnContainer.CorsRuleProperty |
static class |
CfnContainer.CorsRuleProperty.Jsii$Proxy
An implementation for
CfnContainer.CorsRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnContainer.CorsRuleProperty.Builder |
builder() |
default List<String> |
getAllowedHeaders()
`CfnContainer.CorsRuleProperty.AllowedHeaders`.
|
default List<String> |
getAllowedMethods()
`CfnContainer.CorsRuleProperty.AllowedMethods`.
|
default List<String> |
getAllowedOrigins()
`CfnContainer.CorsRuleProperty.AllowedOrigins`.
|
default List<String> |
getExposeHeaders()
`CfnContainer.CorsRuleProperty.ExposeHeaders`.
|
default Number |
getMaxAgeSeconds()
`CfnContainer.CorsRuleProperty.MaxAgeSeconds`.
|
@Stability(value=Stable) @Nullable default List<String> getAllowedHeaders()
@Stability(value=Stable) @Nullable default List<String> getAllowedMethods()
@Stability(value=Stable) @Nullable default List<String> getAllowedOrigins()
@Stability(value=Stable) @Nullable default List<String> getExposeHeaders()
@Stability(value=Stable) @Nullable default Number getMaxAgeSeconds()
@Stability(value=Stable) static CfnContainer.CorsRuleProperty.Builder builder()
Copyright © 2021. All rights reserved.