interface FixedResponseProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.VpcLattice.CfnRulePropsMixin.FixedResponseProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsvpclattice#CfnRulePropsMixin_FixedResponseProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnRulePropsMixin.FixedResponseProperty |
Python | aws_cdk.cfn_property_mixins.aws_vpclattice.CfnRulePropsMixin.FixedResponseProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_vpclattice » 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 { aws_vpclattice as vpclattice } from '@aws-cdk/cfn-property-mixins';
const fixedResponseProperty: vpclattice.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