Interface IFixedResponse
(deprecated) A fixed response.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IFixedResponse
Syntax (vb)
Public Interface IFixedResponse
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var fixedResponse = new FixedResponse {
StatusCode = "statusCode",
// the properties below are optional
ContentType = ContentType.TEXT_PLAIN,
MessageBody = "messageBody"
};
Synopsis
Properties
ContentType | (deprecated) The content type. |
MessageBody | (deprecated) The message. |
StatusCode | (deprecated) The HTTP response code (2XX, 4XX or 5XX). |
Properties
ContentType
(deprecated) The content type.
virtual Nullable<ContentType> ContentType { get; }
Property Value
System.Nullable<ContentType>
Remarks
Default: text/plain
Stability: Deprecated
MessageBody
(deprecated) The message.
virtual string MessageBody { get; }
Property Value
System.String
Remarks
Default: no message
Stability: Deprecated
StatusCode
(deprecated) The HTTP response code (2XX, 4XX or 5XX).
string StatusCode { get; }
Property Value
System.String
Remarks
Stability: Deprecated