Class FixedResponse
A fixed response.
Inheritance
System.Object
FixedResponse
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class FixedResponse : Object, IFixedResponse
Syntax (vb)
Public Class FixedResponse
Inherits Object
Implements IFixedResponse
Synopsis
Constructors
FixedResponse() |
Properties
ContentType | The content type. |
MessageBody | The message. |
StatusCode | The HTTP response code (2XX, 4XX or 5XX). |
Constructors
FixedResponse()
public FixedResponse()
Properties
ContentType
The content type.
public Nullable<ContentType> ContentType { get; set; }
Property Value
System.Nullable<ContentType>
Remarks
Default: text/plain
MessageBody
The message.
public string MessageBody { get; set; }
Property Value
System.String
Remarks
Default: no message
StatusCode
The HTTP response code (2XX, 4XX or 5XX).
public string StatusCode { get; set; }
Property Value
System.String