internal.IsEC2: Verifies a connection to a given URL. Requests the instance...

Description Usage Arguments Value See Also

Description

Verifies a connection to a given URL. Requests the instance identity document from the EC2 Instance Metadata service by default.

Usage

1
  internal.IsEC2(url = "http://169.254.169.254/latest/dynamic/instance-identity/")

Arguments

url

A URL to query.

Value

Returns TRUE if the URL request succeeds, otherwise FALSE

See Also

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify_ec2_instances.html


precision-analytics/precisely.aws documentation built on May 23, 2019, 6:05 p.m.