Module utils

Source
Expand description

Validation routines used internally by scratchstack-aws-principal but may be useful elsewhere.

Enums§

IamIdPrefix
IamIdPrefix represents the four character prefix used to identify IAM resources. See the unique identifiers section of the IAM identifiers documentation.

Functions§

validate_dns
Verify that a DNS name meets Scratchstack requirements.
validate_identifier
Verify that an instance profile id, group id, role id, or user id meets AWS requirements.
validate_name
Verify that an instance profile, group, role, or user name meets AWS requirements.
validate_path
Verify that a path meets AWS requirements.