ServiceResource / Sub-Resource / GroupPolicy

GroupPolicy#

IAM.ServiceResource.GroupPolicy(group_name, name)#

Creates a GroupPolicy resource.:

group_policy = iam.GroupPolicy('group_name','name')
Parameters:
  • group_name (string) – The GroupPolicy’s group_name identifier. This must be set.

  • name (string) – The GroupPolicy’s name identifier. This must be set.

Return type:

IAM.GroupPolicy

Returns:

A GroupPolicy resource