route53_create_health_check: Creates a new health check

Description Usage Arguments Value Request syntax

View source: R/route53_operations.R

Description

Creates a new health check.

For information about adding health checks to resource record sets, see HealthCheckId in change_resource_record_sets.

ELB Load Balancers

If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to a Route 53 health check.

Private Hosted Zones

You can associate health checks with failover resource record sets in a private hosted zone. Note the following:

Usage

1
route53_create_health_check(CallerReference, HealthCheckConfig)

Arguments

CallerReference

[required] A unique string that identifies the request and that allows you to retry a failed create_health_check request without the risk of creating two identical health checks:

  • If you send a create_health_check request with the same CallerReference and settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check.

  • If you send a create_health_check request with the same CallerReference as a deleted health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists error.

  • If you send a create_health_check request with the same CallerReference as an existing health check but with different settings, Route 53 returns a HealthCheckAlreadyExists error.

  • If you send a create_health_check request with a unique CallerReference but settings identical to an existing health check, Route 53 creates the health check.

HealthCheckConfig

[required] A complex type that contains settings for a new health check.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
list(
  HealthCheck = list(
    Id = "string",
    CallerReference = "string",
    LinkedService = list(
      ServicePrincipal = "string",
      Description = "string"
    ),
    HealthCheckConfig = list(
      IPAddress = "string",
      Port = 123,
      Type = "HTTP"|"HTTPS"|"HTTP_STR_MATCH"|"HTTPS_STR_MATCH"|"TCP"|"CALCULATED"|"CLOUDWATCH_METRIC",
      ResourcePath = "string",
      FullyQualifiedDomainName = "string",
      SearchString = "string",
      RequestInterval = 123,
      FailureThreshold = 123,
      MeasureLatency = TRUE|FALSE,
      Inverted = TRUE|FALSE,
      Disabled = TRUE|FALSE,
      HealthThreshold = 123,
      ChildHealthChecks = list(
        "string"
      ),
      EnableSNI = TRUE|FALSE,
      Regions = list(
        "us-east-1"|"us-west-1"|"us-west-2"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"
      ),
      AlarmIdentifier = list(
        Region = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-central-1"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"ap-east-1"|"me-south-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"ap-northeast-3"|"eu-north-1"|"sa-east-1"|"cn-northwest-1"|"cn-north-1"|"af-south-1"|"eu-south-1"|"us-gov-west-1"|"us-gov-east-1"|"us-iso-east-1"|"us-isob-east-1",
        Name = "string"
      ),
      InsufficientDataHealthStatus = "Healthy"|"Unhealthy"|"LastKnownStatus"
    ),
    HealthCheckVersion = 123,
    CloudWatchAlarmConfiguration = list(
      EvaluationPeriods = 123,
      Threshold = 123.0,
      ComparisonOperator = "GreaterThanOrEqualToThreshold"|"GreaterThanThreshold"|"LessThanThreshold"|"LessThanOrEqualToThreshold",
      Period = 123,
      MetricName = "string",
      Namespace = "string",
      Statistic = "Average"|"Sum"|"SampleCount"|"Maximum"|"Minimum",
      Dimensions = list(
        list(
          Name = "string",
          Value = "string"
        )
      )
    )
  ),
  Location = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
svc$create_health_check(
  CallerReference = "string",
  HealthCheckConfig = list(
    IPAddress = "string",
    Port = 123,
    Type = "HTTP"|"HTTPS"|"HTTP_STR_MATCH"|"HTTPS_STR_MATCH"|"TCP"|"CALCULATED"|"CLOUDWATCH_METRIC",
    ResourcePath = "string",
    FullyQualifiedDomainName = "string",
    SearchString = "string",
    RequestInterval = 123,
    FailureThreshold = 123,
    MeasureLatency = TRUE|FALSE,
    Inverted = TRUE|FALSE,
    Disabled = TRUE|FALSE,
    HealthThreshold = 123,
    ChildHealthChecks = list(
      "string"
    ),
    EnableSNI = TRUE|FALSE,
    Regions = list(
      "us-east-1"|"us-west-1"|"us-west-2"|"eu-west-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"sa-east-1"
    ),
    AlarmIdentifier = list(
      Region = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ca-central-1"|"eu-central-1"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"ap-east-1"|"me-south-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"ap-northeast-3"|"eu-north-1"|"sa-east-1"|"cn-northwest-1"|"cn-north-1"|"af-south-1"|"eu-south-1"|"us-gov-west-1"|"us-gov-east-1"|"us-iso-east-1"|"us-isob-east-1",
      Name = "string"
    ),
    InsufficientDataHealthStatus = "Healthy"|"Unhealthy"|"LastKnownStatus"
  )
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.