AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about an action that returns a custom HTTP response.
Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.dll
Version: 3.x.y.z
public class FixedResponseActionConfig
The FixedResponseActionConfig type exposes the following members
Name | Description | |
---|---|---|
FixedResponseActionConfig() |
Name | Type | Description | |
---|---|---|---|
ContentType | System.String |
Gets and sets the property ContentType. The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json |
|
MessageBody | System.String |
Gets and sets the property MessageBody. The message. |
|
StatusCode | System.String |
Gets and sets the property StatusCode. The HTTP response code (2XX, 4XX, or 5XX). |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5