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();
- See Also:
-
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 ObjectReturns union: eitherBooleanorIResolvabledefault Objectdefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddDefaultAuthorizerToCorsPreflight
Returns union: eitherBooleanorIResolvable- See Also:
-
getAuthorizers
- See Also:
-
getDefaultAuthorizer
- See Also:
-
builder
- Returns:
- a
CfnApi.AuthProperty.BuilderofCfnApi.AuthProperty
-