AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancingV2.Model.FixedResponseActionConfig

Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.dll
Version: 3.x.y.z

Syntax

C#
public class FixedResponseActionConfig

The FixedResponseActionConfig type exposes the following members

Constructors

NameDescription
Public Method FixedResponseActionConfig()

Properties

NameTypeDescription
Public Property ContentType System.String

Gets and sets the property ContentType.

The content type.

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

Public Property MessageBody System.String

Gets and sets the property MessageBody.

The message.

Public Property StatusCode System.String

Gets and sets the property StatusCode.

The HTTP response code (2XX, 4XX, or 5XX).

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5