Interface IAddFixedResponseProps
(deprecated) Properties for adding a fixed response to a listener.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public interface IAddFixedResponseProps : IAddRuleProps, IFixedResponse
Syntax (vb)
Public Interface IAddFixedResponseProps
Inherits IAddRuleProps, 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;
ListenerCondition listenerCondition;
var addFixedResponseProps = new AddFixedResponseProps {
StatusCode = "statusCode",
// the properties below are optional
Conditions = new [] { listenerCondition },
ContentType = ContentType.TEXT_PLAIN,
HostHeader = "hostHeader",
MessageBody = "messageBody",
PathPattern = "pathPattern",
PathPatterns = new [] { "pathPatterns" },
Priority = 123
};