AuthorizationConfig

class aws_cdk.aws_appsync.AuthorizationConfig(*, additional_authorization_modes=None, default_authorization=None)

Bases: object

__init__(*, additional_authorization_modes=None, default_authorization=None)

Configuration of the API authorization modes.

Parameters
  • additional_authorization_modes (Optional[List[AuthorizationMode]]) – Additional authorization modes. Default: - No other modes

  • default_authorization (Optional[AuthorizationMode]) – Optional authorization configuration. Default: - API Key authorization

stability :stability: experimental

Return type

None

Attributes

additional_authorization_modes

Additional authorization modes.

default :default: - No other modes

stability :stability: experimental

Return type

Optional[List[AuthorizationMode]]

default_authorization

Optional authorization configuration.

default :default: - API Key authorization

stability :stability: experimental

Return type

Optional[AuthorizationMode]