Exec module for managing IAM Group Policy Attachment.

async, ctx, name: str, group: str, policy_arn: str = None, resource_id: str = None) Dict[str, Any][source]#

Get managed policy attached to a group.

  • hub – required for functions in hub.

  • ctx – context.

  • name (str) – An Idem name of the state for logging.

  • group (str) – The group name to attach the policy to.

  • policy_arn (str, Optional) – Policy ARN.

  • resource_id (str, Optional) – Policy ARN