interface FixedResponseProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnRulePropsMixin.FixedResponseProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnRulePropsMixin_FixedResponseProperty |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnRulePropsMixin.FixedResponseProperty |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnRulePropsMixin.FixedResponseProperty |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnRulePropsMixin » FixedResponseProperty |
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 { mixins as vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
const fixedResponseProperty: vpclattice_mixins.CfnRulePropsMixin.FixedResponseProperty = {
statusCode: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| status | number | The HTTP response code. |
statusCode?
Type:
number
(optional)
The HTTP response code.
Only 404 and 500 status codes are supported.

.NET
Go
Java
Python
TypeScript