is_ecs() to check whether R is running in an Elastic Container Store (ECS) instance, and ecs_metadata() to retreive credentials from the container. (#2, h/t @jon-mago).onLoad() functionality added in 0.1.3 is now moved to .onAttach() to comply with CRAN policy.instance_document() that returns a list of the "instance identity document" information. This is useful for identifying the region an instance is running in.is_ec2() during package load), the package attempts to set the AWS_DEFAULT_REGION environment variable if it has not already been specified. This helps handle request signing.is_ec2() that returns a logical based on whether metadata is retrievable.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.