# CfnApplicationStatusCheckProps

Properties for defining a `CfnApplicationStatusCheck`.

Extends: CfnApplicationStatusCheckProps
Used as props by: CfnApplicationStatusCheck

- Source: Generated code
- Type last changed: v2.269.0 · 10 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnApplicationStatusCheckProps: ec2.CfnApplicationStatusCheckProps = {
  port: 123,
  protocol: 'protocol',

  // the properties below are optional
  aggregation: 'aggregation',
  deviceIndex: 123,
  failureThreshold: 123,
  healthCheckPaths: [{
    destinations: [{
      securityGroupId: 'securityGroupId',
      subnetId: 'subnetId',
    }],
    source: {
      securityGroupId: 'securityGroupId',
      subnetId: 'subnetId',
    },
  }],
  initializationGracePeriodSeconds: 123,
  interval: 123,
  ipScope: 'ipScope',
  ipVersion: 'ipVersion',
  path: 'path',
  statusCodeMatcher: 'statusCodeMatcher',
  successThreshold: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  timeout: 123,
};
```

## Properties

- `aggregation`: string — Whether this check is included in the rolled-up application status.

- `deviceIndex`: number — The network interface device index used for the health check.

- `failureThreshold`: number — The number of consecutive failed probes required to mark the instance unhealthy.

- `healthCheckPaths`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplicationStatusCheck.HealthCheckPathProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnApplicationStatusCheck.HealthCheckPathProperty.html)[] — The source/destination network paths used for the health check.

- `initializationGracePeriodSeconds`: number — Seconds to wait after instance launch before beginning health checks.

- `interval`: number — The interval, in seconds, between health check probes.

- `ipScope`: string — The IP scope used for the health check.

- `ipVersion`: string — The IP version used for the health check.

- `path`: string — The HTTP path used for the health check.

- `port`: number (required) — The port used for the health check.

- `protocol`: string (required) — The network protocol used for the health check.

- `statusCodeMatcher`: string — The HTTP status codes considered successful (e.g., "200-299").

- `successThreshold`: number — The number of consecutive successful probes required to mark the instance healthy.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to apply to the application status check.

- `timeout`: number — The timeout, in seconds, for each health check probe.
