cloudtrail_s3policy {aws.cloudtrail} | R Documentation |
Construct an S3 or SNS policy document for use with CloudTrail
cloudtrail_s3policy(bucket, account_id, prefix = NULL) cloudtrail_snspolicy(topic)
bucket |
A character string containing an S3 bucket name, or an object of class “s3_bucket”. |
account_id |
A character string containing an AWS account ID. |
prefix |
Optionally, a character string containing the prefix for the Account ID. This can be retrieved from the AWS console or via a call to |
topic |
A character string specifying the SNS topic ARN. |
A character string containing the policy