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