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();
 
  • Method Details

    • getAddDefaultAuthorizerToCorsPreflight

      @Stability(Stable) @Nullable default Object getAddDefaultAuthorizerToCorsPreflight()
      CfnApi.AuthProperty.AddDefaultAuthorizerToCorsPreflight.
    • getAuthorizers

      @Stability(Stable) @Nullable default Object getAuthorizers()
      CfnApi.AuthProperty.Authorizers.
    • getDefaultAuthorizer

      @Stability(Stable) @Nullable default String getDefaultAuthorizer()
      CfnApi.AuthProperty.DefaultAuthorizer.
    • builder

      @Stability(Stable) static CfnApi.AuthProperty.Builder builder()
      Returns:
      a CfnApi.AuthProperty.Builder of CfnApi.AuthProperty