AWS Native
RequestValidator
Resource Type definition for AWS::ApiGateway::RequestValidator
Create a RequestValidator Resource
new RequestValidator(name: string, args: RequestValidatorArgs, opts?: CustomResourceOptions);
@overload
def RequestValidator(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
rest_api_id: Optional[str] = None,
validate_request_body: Optional[bool] = None,
validate_request_parameters: Optional[bool] = None)
@overload
def RequestValidator(resource_name: str,
args: RequestValidatorArgs,
opts: Optional[ResourceOptions] = None)
func NewRequestValidator(ctx *Context, name string, args RequestValidatorArgs, opts ...ResourceOption) (*RequestValidator, error)
public RequestValidator(string name, RequestValidatorArgs args, CustomResourceOptions? opts = null)
public RequestValidator(String name, RequestValidatorArgs args)
public RequestValidator(String name, RequestValidatorArgs args, CustomResourceOptions options)
type: aws-native:apigateway:RequestValidator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RequestValidatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RequestValidatorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RequestValidatorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RequestValidatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RequestValidatorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RequestValidator Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RequestValidator resource accepts the following input properties:
- Rest
Api stringId The identifier of the targeted API entity.
- Name string
Name of the request validator.
- Validate
Request boolBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- Validate
Request boolParameters Indicates whether to validate request parameters.
- Rest
Api stringId The identifier of the targeted API entity.
- Name string
Name of the request validator.
- Validate
Request boolBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- Validate
Request boolParameters Indicates whether to validate request parameters.
- rest
Api StringId The identifier of the targeted API entity.
- name String
Name of the request validator.
- validate
Request BooleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request BooleanParameters Indicates whether to validate request parameters.
- rest
Api stringId The identifier of the targeted API entity.
- name string
Name of the request validator.
- validate
Request booleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request booleanParameters Indicates whether to validate request parameters.
- rest_
api_ strid The identifier of the targeted API entity.
- name str
Name of the request validator.
- validate_
request_ boolbody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate_
request_ boolparameters Indicates whether to validate request parameters.
- rest
Api StringId The identifier of the targeted API entity.
- name String
Name of the request validator.
- validate
Request BooleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request BooleanParameters Indicates whether to validate request parameters.
Outputs
All input properties are implicitly available as output properties. Additionally, the RequestValidator resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Request
Validator stringId ID of the request validator.
- Id string
The provider-assigned unique ID for this managed resource.
- Request
Validator stringId ID of the request validator.
- id String
The provider-assigned unique ID for this managed resource.
- request
Validator StringId ID of the request validator.
- id string
The provider-assigned unique ID for this managed resource.
- request
Validator stringId ID of the request validator.
- id str
The provider-assigned unique ID for this managed resource.
- request_
validator_ strid ID of the request validator.
- id String
The provider-assigned unique ID for this managed resource.
- request
Validator StringId ID of the request validator.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws-native
- License
- Apache-2.0