AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getRequestValidator

Resource Type definition for AWS::ApiGateway::RequestValidator

Using getRequestValidator

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRequestValidator(args: GetRequestValidatorArgs, opts?: InvokeOptions): Promise<GetRequestValidatorResult>
function getRequestValidatorOutput(args: GetRequestValidatorOutputArgs, opts?: InvokeOptions): Output<GetRequestValidatorResult>
def get_request_validator(request_validator_id: Optional[str] = None,
                          rest_api_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetRequestValidatorResult
def get_request_validator_output(request_validator_id: Optional[pulumi.Input[str]] = None,
                          rest_api_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetRequestValidatorResult]
func LookupRequestValidator(ctx *Context, args *LookupRequestValidatorArgs, opts ...InvokeOption) (*LookupRequestValidatorResult, error)
func LookupRequestValidatorOutput(ctx *Context, args *LookupRequestValidatorOutputArgs, opts ...InvokeOption) LookupRequestValidatorResultOutput

> Note: This function is named LookupRequestValidator in the Go SDK.

public static class GetRequestValidator 
{
    public static Task<GetRequestValidatorResult> InvokeAsync(GetRequestValidatorArgs args, InvokeOptions? opts = null)
    public static Output<GetRequestValidatorResult> Invoke(GetRequestValidatorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRequestValidatorResult> getRequestValidator(GetRequestValidatorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:apigateway:getRequestValidator
  Arguments:
    # Arguments dictionary

The following arguments are supported:

RequestValidatorId string

ID of the request validator.

RestApiId string

The identifier of the targeted API entity.

RequestValidatorId string

ID of the request validator.

RestApiId string

The identifier of the targeted API entity.

requestValidatorId String

ID of the request validator.

restApiId String

The identifier of the targeted API entity.

requestValidatorId string

ID of the request validator.

restApiId string

The identifier of the targeted API entity.

request_validator_id str

ID of the request validator.

rest_api_id str

The identifier of the targeted API entity.

requestValidatorId String

ID of the request validator.

restApiId String

The identifier of the targeted API entity.

getRequestValidator Result

The following output properties are available:

RequestValidatorId string

ID of the request validator.

ValidateRequestBody bool

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

ValidateRequestParameters bool

Indicates whether to validate request parameters.

RequestValidatorId string

ID of the request validator.

ValidateRequestBody bool

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

ValidateRequestParameters bool

Indicates whether to validate request parameters.

requestValidatorId String

ID of the request validator.

validateRequestBody Boolean

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

validateRequestParameters Boolean

Indicates whether to validate request parameters.

requestValidatorId string

ID of the request validator.

validateRequestBody boolean

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

validateRequestParameters boolean

Indicates whether to validate request parameters.

request_validator_id str

ID of the request validator.

validate_request_body bool

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

validate_request_parameters bool

Indicates whether to validate request parameters.

requestValidatorId String

ID of the request validator.

validateRequestBody Boolean

Indicates whether to validate the request body according to the configured schema for the targeted API and method.

validateRequestParameters Boolean

Indicates whether to validate request parameters.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0