CfnApplicationStatusCheckMixinProps

class aws_cdk.cfn_property_mixins.aws_ec2.CfnApplicationStatusCheckMixinProps(*, aggregation=None, device_index=None, failure_threshold=None, health_check_paths=None, initialization_grace_period_seconds=None, interval=None, ip_scope=None, ip_version=None, path=None, port=None, protocol=None, status_code_matcher=None, success_threshold=None, tags=None, timeout=None)

Bases: object

Properties for CfnApplicationStatusCheckPropsMixin.

Parameters:
  • aggregation (Optional[str]) – Whether this check is included in the rolled-up application status.

  • device_index (Union[int, float, None]) – The network interface device index used for the health check.

  • failure_threshold (Union[int, float, None]) – The number of consecutive failed probes required to mark the instance unhealthy.

  • health_check_paths (Union[IResolvable, Sequence[Union[IResolvable, HealthCheckPathProperty, Dict[str, Any]]], None]) – The source/destination network paths used for the health check.

  • initialization_grace_period_seconds (Union[int, float, None]) – Seconds to wait after instance launch before beginning health checks.

  • interval (Union[int, float, None]) – The interval, in seconds, between health check probes.

  • ip_scope (Optional[str]) – The IP scope used for the health check.

  • ip_version (Optional[str]) – The IP version used for the health check.

  • path (Optional[str]) – The HTTP path used for the health check.

  • port (Union[int, float, None]) – The port used for the health check.

  • protocol (Optional[str]) – The network protocol used for the health check.

  • status_code_matcher (Optional[str]) – The HTTP status codes considered successful (e.g., “200-299”).

  • success_threshold (Union[int, float, None]) – The number of consecutive successful probes required to mark the instance healthy.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to apply to the application status check.

  • timeout (Union[int, float, None]) – The timeout, in seconds, for each health check probe.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_ec2 as ec2

cfn_application_status_check_mixin_props = ec2.CfnApplicationStatusCheckMixinProps(
    aggregation="aggregation",
    device_index=123,
    failure_threshold=123,
    health_check_paths=[ec2.CfnApplicationStatusCheckPropsMixin.HealthCheckPathProperty(
        destinations=[ec2.CfnApplicationStatusCheckPropsMixin.HealthCheckPathDestinationProperty(
            security_group_id="securityGroupId",
            subnet_id="subnetId"
        )],
        source=ec2.CfnApplicationStatusCheckPropsMixin.HealthCheckPathSourceProperty(
            security_group_id="securityGroupId",
            subnet_id="subnetId"
        )
    )],
    initialization_grace_period_seconds=123,
    interval=123,
    ip_scope="ipScope",
    ip_version="ipVersion",
    path="path",
    port=123,
    protocol="protocol",
    status_code_matcher="statusCodeMatcher",
    success_threshold=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    timeout=123
)

Attributes

aggregation

Whether this check is included in the rolled-up application status.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-aggregation

device_index

The network interface device index used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-deviceindex

failure_threshold

The number of consecutive failed probes required to mark the instance unhealthy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-failurethreshold

health_check_paths

The source/destination network paths used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-healthcheckpaths

initialization_grace_period_seconds

Seconds to wait after instance launch before beginning health checks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-initializationgraceperiodseconds

interval

The interval, in seconds, between health check probes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-interval

ip_scope

The IP scope used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-ipscope

ip_version

The IP version used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-ipversion

path

The HTTP path used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-path

port

The port used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-port

protocol

The network protocol used for the health check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-protocol

status_code_matcher

The HTTP status codes considered successful (e.g., “200-299”).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-statuscodematcher

success_threshold

The number of consecutive successful probes required to mark the instance healthy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-successthreshold

tags

Tags to apply to the application status check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-tags

timeout

The timeout, in seconds, for each health check probe.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-applicationstatuscheck.html#cfn-ec2-applicationstatuscheck-timeout