Interface CfnRule.FixedResponseProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.FixedResponseProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.FixedResponseProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action that returns a custom HTTP response.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.vpclattice.*;
FixedResponseProperty fixedResponseProperty = FixedResponseProperty.builder()
.statusCode(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRule.FixedResponsePropertystatic final classAn implementation forCfnRule.FixedResponseProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatusCode
The HTTP response code.Only
404and500status codes are supported.- See Also:
-
builder
-