AWS::EC2::ApplicationStatusCheck

EC2 ApplicationStatusCheck

An application status check monitors an HTTP or HTTPS endpoint on Amazon EC2 instances and reports application-layer health. Configure a health check with a Protocol, Port, and Path, and then associate it with EC2 instances via AWS::EC2::ApplicationStatusCheckInstanceAssociation or AWS::EC2::ApplicationStatusCheckTagAssociation.

Properties

15 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Port
integer
Required
Protocol
string
Required
Aggregation
string
DeviceIndex
integer
FailureThreshold
integer
HealthCheckPaths
Array<HealthCheckPath>
InitializationGracePeriodSeconds
integer
Interval
integer
Create-only
IpScope
string
Create-only
IpVersion
string
Path
string
StatusCodeMatcher
string
SuccessThreshold
integer
Tags
Array<Tag>
Timeout
integer

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ApplicationStatusCheckIdstringThe unique identifier of the application status check.
ArnstringThe Amazon Resource Name (ARN) of the application status check.
CreationTimestringWhen the application status check was created (ISO 8601).

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::ApplicationStatusCheck

Resources:
  MyResource:
    Type: AWS::EC2::ApplicationStatusCheck
    Properties:
      Protocol: "http"
      Port: 1
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateApplicationStatusCheckec2:DescribeApplicationStatusChecksec2:CreateTagsec2:DescribeTagsiam:CreateServiceLinkedRole

read

ec2:DescribeApplicationStatusChecksec2:DescribeTags

update

ec2:ModifyApplicationStatusCheckec2:DescribeApplicationStatusChecksec2:CreateTagsec2:DeleteTagsec2:DescribeTags

delete

ec2:DeleteApplicationStatusCheckec2:DescribeApplicationStatusChecksec2:DescribeTags

list

ec2:DescribeApplicationStatusChecks

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties18
Required2
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

IntervalIpScope

External Links