Interface CfnApi.AuthProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApi.AuthProperty.Jsii$Proxy
- Enclosing class:
CfnApi
@Stability(Stable)
public static interface CfnApi.AuthProperty
extends software.amazon.jsii.JsiiSerializable
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.sam.*; Object authorizers; AuthProperty authProperty = AuthProperty.builder() .addDefaultAuthorizerToCorsPreflight(false) .authorizers(authorizers) .defaultAuthorizer("defaultAuthorizer") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApi.AuthProperty
static final class
An implementation forCfnApi.AuthProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApi.AuthProperty.Builder
builder()
default Object
CfnApi.AuthProperty.AddDefaultAuthorizerToCorsPreflight
.default Object
CfnApi.AuthProperty.Authorizers
.default String
CfnApi.AuthProperty.DefaultAuthorizer
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddDefaultAuthorizerToCorsPreflight
CfnApi.AuthProperty.AddDefaultAuthorizerToCorsPreflight
. -
getAuthorizers
CfnApi.AuthProperty.Authorizers
. -
getDefaultAuthorizer
CfnApi.AuthProperty.DefaultAuthorizer
. -
builder
- Returns:
- a
CfnApi.AuthProperty.Builder
ofCfnApi.AuthProperty
-