Show / Hide Table of Contents

Class MethodResponseState

Inheritance
System.Object
InputArgs
ResourceArgs
MethodResponseState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApiGateway
Assembly: Pulumi.Aws.dll
Syntax
public sealed class MethodResponseState : ResourceArgs

Constructors

View Source

MethodResponseState()

Declaration
public MethodResponseState()

Properties

View Source

HttpMethod

The HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY)

Declaration
public Input<string> HttpMethod { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResourceId

The API resource ID

Declaration
public Input<string> ResourceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResponseModels

A map of the API models used for the response's content type

Declaration
public InputMap<string> ResponseModels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

ResponseParameters

A map of response parameters that can be sent to the caller. For example: response_parameters = { &quot;method.response.header.X-Some-Header&quot; = true } would define that the header X-Some-Header can be provided on the response.

Declaration
public InputMap<bool> ResponseParameters { get; set; }
Property Value
Type Description
InputMap<System.Boolean>
View Source

RestApi

The ID of the associated REST API

Declaration
public Input<string> RestApi { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StatusCode

The HTTP status code

Declaration
public Input<string> StatusCode { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.