Class MethodResponseState
Inherited Members
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 SourceMethodResponseState()
Declaration
public MethodResponseState()
Properties
View SourceHttpMethod
The HTTP Method (GET, POST, PUT, DELETE, HEAD, OPTIONS, ANY)
Declaration
public Input<string> HttpMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceId
The API resource ID
Declaration
public Input<string> ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
ResponseParameters
A map of response parameters that can be sent to the caller.
For example: response_parameters = { "method.response.header.X-Some-Header" = 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> |
RestApi
The ID of the associated REST API
Declaration
public Input<string> RestApi { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StatusCode
The HTTP status code
Declaration
public Input<string> StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |