aws-cdk-lib.aws_vpclattice.CfnRule.FixedResponseProperty

interface FixedResponseProperty

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

Properties

NameTypeDescription
statusCodenumberThe HTTP response code.

statusCode

Type: number

The HTTP response code.