Type Alias LambdaRestApiArgs
LambdaRestApiArgs: LambdaRestApiBaseArgs & (
| {
customAuthorizer: Input<
{
authorizerArn: Input<string>;
cacheAuthTtlInSeconds?: Input<number>;
identitySource: Input<string>;
qualifier?: Input<string>;
type: Input<string>;
},
>;
requiredPermission: Input<string>;
}
| { customAuthorizer?: undefined; requiredPermission?: undefined }
)
Type Declaration
- {
customAuthorizer: Input<
{
authorizerArn: Input<string>;
cacheAuthTtlInSeconds?: Input<number>;
identitySource: Input<string>;
qualifier?: Input<string>;
type: Input<string>;
},
>;
requiredPermission: Input<string>;
}
-
customAuthorizer: Input<
{
authorizerArn: Input<string>;
cacheAuthTtlInSeconds?: Input<number>;
identitySource: Input<string>;
qualifier?: Input<string>;
type: Input<string>;
},
>
-
requiredPermission: Input<string>
- { customAuthorizer?: undefined; requiredPermission?: undefined }
Customer dashboard permission key (e.g.
api/deposit:w) the authorizer requires of the caller's workspace owner role. Published as therequiredPermissionstage variable.