AWS::ARN - module to parse and generate ARNs
0.007
Parse, modify and generate AWS ARNs (Amazon Resource Names)
$arn
Return a new AWS::ARN object
Returns a new AWS::ARN object, build from the provided attributes
The partition in which the resource is located. A partition is a group of AWS Regions. Each AWS account is scoped to one partition.
The following are the supported partitions:
aws - AWS Regions
aws-cn - China Regions
aws-us-gov - AWS GovCloud (US) Regions
Defaults to "aws"
The service namespace that identifies the AWS product. For example, s3 for Amazon S3 resources.
The Region. For example, us-east-2 for US East (Ohio).
The ID of the AWS account that owns the resource, without the hyphens. For example, 123456789012.
The resource identifier. This part of the ARN can be the name or ID of the resource or a resource path. For example, user/Bob for an IAM user or instance/i-1234567890abcdef0 for an EC2 instance. Some resource identifiers include a parent resource (sub-resource-type/parent-resource/sub-resource) or a qualifier such as a version (resource-type:resource-name:qualifier).
Needs tests
Needs more validation
James Wright <jwright@cpan.org>
AWS Resource Names
This software is copyright (c) 2020 by James Wright.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install AWS::ARN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AWS::ARN
CPAN shell
perl -MCPAN -e shell install AWS::ARN
For more information on module installation, please visit the detailed CPAN module installation guide.