aws-cdk-lib.aws_vpclattice.CfnTargetGroup.MatcherProperty

interface MatcherProperty

LanguageType name
.NETAmazon.CDK.AWS.VpcLattice.CfnTargetGroup.MatcherProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnTargetGroup_MatcherProperty
Javasoftware.amazon.awscdk.services.vpclattice.CfnTargetGroup.MatcherProperty
Pythonaws_cdk.aws_vpclattice.CfnTargetGroup.MatcherProperty
TypeScript aws-cdk-lib » aws_vpclattice » CfnTargetGroup » MatcherProperty

The codes to use when checking for a successful response from a target for health checks.

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 matcherProperty: vpclattice.CfnTargetGroup.MatcherProperty = {
  httpCode: 'httpCode',
};

Properties

NameTypeDescription
httpCodestringThe HTTP code to use when checking for a successful response from a target.

httpCode

Type: string

The HTTP code to use when checking for a successful response from a target.