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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApi.AuthPropertystatic final classAn implementation forCfnApi.AuthProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApi.AuthProperty.Builderbuilder()default ObjectCfnApi.AuthProperty.AddDefaultAuthorizerToCorsPreflight.default ObjectCfnApi.AuthProperty.Authorizers.default StringCfnApi.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.BuilderofCfnApi.AuthProperty
-