Fugue.AWS.IAM.Compliance.Internal

This module contains additional utilities to deal with IAM policies parsed by the typed IAM library.

Module Members

actionIsWildcard

(Function)

Check that an action is a wildcard.

Type Signature

 fun (Block) -> Bool
Argument: action
Type: Block
Returns:
Type: Bool

policyNotWildcard

(Function)

Type Signature

 fun { message: String,
       references: Optional<List<String>> } -> fun (String) -> Validation
Argument: message
Type: String
Argument: references
Type: Optional<List<String>>
Returns:
Type: fun ( String) -> Validation

principalIsWildcard

(Function)

Check that a principal is a wildcard.

Type Signature

 fun (Block) -> Bool
Argument: principal
Type: Block
Returns:
Type: Bool

resourceIsWildcard

(Function)

Check that a resource is a wildcard.

Type Signature

 fun (Block) -> Bool
Argument: resource
Type: Block
Returns:
Type: Bool