interface FixedResponseProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.VpcLattice.CfnRule.FixedResponseProperty |
Java | software.amazon.awscdk.services.vpclattice.CfnRule.FixedResponseProperty |
Python | aws_cdk.aws_vpclattice.CfnRule.FixedResponseProperty |
TypeScript | @aws-cdk/aws-vpclattice » CfnRule » FixedResponseProperty |
Information about 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 * as vpclattice from '@aws-cdk/aws-vpclattice';
const fixedResponseProperty: vpclattice.CfnRule.FixedResponseProperty = {
statusCode: 123,
};
Properties
Name | Type | Description |
---|---|---|
status | number | The HTTP response code. |
statusCode
Type:
number
The HTTP response code.