Description Usage Arguments Details References See Also Examples
Start/stop logging
1 2 3 |
name |
A character string specifying the name of a Cloudtrail or the ARN for a Cloudtrail, or an object of class “aws_cloudtrail”. |
... |
Additional arguments passed to |
start_logging
starts a
http://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_StartLogging.html, http://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_StopLogging.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
require("aws.s3")
# create a bucket
mybucket <- "mybucket_for_cloudtrail"
stopifnot(put_bucket(mybucket))
# create a trail
trail <- create_trail("exampletrail", mybucket)
# confirm trail created
get_trails()
# start/stop logging to the trail
start_logging(trail)
stop_logging(trail)
# check trail status
trail_status(trail)
# delete trail
delete_trail(trail)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.