group_policy_attachment#

Exec module for managing IAM Group Policy Attachment.

async idem_aws.exec.aws.iam.group_policy_attachment.get(hub, ctx, name: str, group: str, policy_arn: str = None, resource_id: str = None) Dict[str, Any][source]#

Get managed policy attached to a group.

Parameters:
  • 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