Puppet Function: stdlib_aws::s3_bucket_to_arn
- Defined in:
- functions/s3_bucket_to_arn.pp
- Function type:
- Puppet Language
Summary
Convert valid S3 bucket names to full ARN.Overview
stdlib_aws::s3_bucket_to_arn
Takes the name of an S3 bucket and returns its full ARN
9 10 11 12 13 |
# File 'functions/s3_bucket_to_arn.pp', line 9
function stdlib_aws::s3_bucket_to_arn (
Stdlib_aws::S3bucket $bucket,
) >> String {
"arn:aws:s3:::${bucket}"
}
|