get_password_data: Get EC2 Instance Password Data

Description Usage Arguments Value References See Also Examples

View source: R/get_password_data.R

Description

Retrieve password data for an EC2 instance

Usage

1

Arguments

instance

A character string containing an EC2 instance ID or an object of class “ec2_instance”. Or, actions can be taken on multiple instances in one call by passing a character vector of instance IDs, or a list of objects of class “ec2_instance”.

...

Additional arguments passed to [ec2HTTP()].

Value

A list

References

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetConsoleOutput.html

See Also

describe_instances(), get_console_output()

Examples

1
2
3
4
5
6
7
## Not run: 
i <- run_instances()
get_password_data(i[[1]])
stop_instances(i[[1]])
terminate_instances(i[[1]])

## End(Not run)

cloudyr/aws.ec2 documentation built on Jan. 14, 2020, 4:55 a.m.