@Stability(value=Stable)
public static interface CfnApi.AuthProperty
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.sam.*;
Object authorizers;
AuthProperty authProperty = AuthProperty.builder()
.addDefaultAuthorizerToCorsPreflight(false)
.authorizers(authorizers)
.defaultAuthorizer("defaultAuthorizer")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApi.AuthProperty.Builder
A builder for
CfnApi.AuthProperty |
static class |
CfnApi.AuthProperty.Jsii$Proxy
An implementation for
CfnApi.AuthProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApi.AuthProperty.Builder |
builder() |
default Object |
getAddDefaultAuthorizerToCorsPreflight()
`CfnApi.AuthProperty.AddDefaultAuthorizerToCorsPreflight`.
|
default Object |
getAuthorizers()
`CfnApi.AuthProperty.Authorizers`.
|
default String |
getDefaultAuthorizer()
`CfnApi.AuthProperty.DefaultAuthorizer`.
|
@Stability(value=Stable) @Nullable default Object getAddDefaultAuthorizerToCorsPreflight()
@Stability(value=Stable) @Nullable default Object getAuthorizers()
@Stability(value=Stable) @Nullable default String getDefaultAuthorizer()
@Stability(value=Stable) static CfnApi.AuthProperty.Builder builder()
CfnApi.AuthProperty.Builder of CfnApi.AuthPropertyCopyright © 2022. All rights reserved.