View source: R/apigateway_operations.R
apigateway_create_authorizer | R Documentation |
Adds a new Authorizer resource to an existing RestApi resource.
See https://www.paws-r-sdk.com/docs/apigateway_create_authorizer/ for full documentation.
apigateway_create_authorizer(
restApiId,
name,
type,
providerARNs = NULL,
authType = NULL,
authorizerUri = NULL,
authorizerCredentials = NULL,
identitySource = NULL,
identityValidationExpression = NULL,
authorizerResultTtlInSeconds = NULL
)
restApiId |
[required] The string identifier of the associated RestApi. |
name |
[required] The name of the authorizer. |
type |
[required] The authorizer type. Valid values are |
providerARNs |
A list of the Amazon Cognito user pool ARNs for the |
authType |
Optional customer-defined field, used in OpenAPI imports and exports without functional impact. |
authorizerUri |
Specifies the authorizer's Uniform Resource Identifier (URI). For
|
authorizerCredentials |
Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. |
identitySource |
The identity source for which authorization is requested. For a |
identityValidationExpression |
A validation expression for the incoming identity token. For |
authorizerResultTtlInSeconds |
The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.