aws-cdk-lib.aws_vpclattice.CfnListener.FixedResponseProperty

interface FixedResponseProperty

LanguageType name
.NETAmazon.CDK.AWS.VpcLattice.CfnListener.FixedResponseProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnListener_FixedResponseProperty
Javasoftware.amazon.awscdk.services.vpclattice.CfnListener.FixedResponseProperty
Pythonaws_cdk.aws_vpclattice.CfnListener.FixedResponseProperty
TypeScript aws-cdk-lib » aws_vpclattice » CfnListener » 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 { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const fixedResponseProperty: vpclattice.CfnListener.FixedResponseProperty = {
  statusCode: 123,
};

Properties

NameTypeDescription
statusCodenumberThe HTTP response code.

statusCode

Type: number

The HTTP response code.