AWSElasticLoadBalancingFixedResponseActionConfig

Objective-C

@interface AWSElasticLoadBalancingFixedResponseActionConfig

Swift

class AWSElasticLoadBalancingFixedResponseActionConfig

Information about an action that returns a custom HTTP response.

Required parameters: [StatusCode]

  • The content type.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable contentType;

    Swift

    var contentType: String? { get set }
  • The message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable messageBody;

    Swift

    var messageBody: String? { get set }
  • The HTTP response code (2XX, 4XX, or 5XX).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable statusCode;

    Swift

    var statusCode: String? { get set }