AWS role names per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html can have forward slashes.
Example:
arn:aws:iam::123456789012:role/S3Access arn:aws:iam::123456789012:role/application_abc/component_xyz/S3Access
AWS role names per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html can have forward slashes.
Example:
arn:aws:iam::123456789012:role/S3Access arn:aws:iam::123456789012:role/application_abc/component_xyz/S3Access