Assurance / Client / create_permission_set

create_permission_set

Assurance.Client.create_permission_set(**kwargs)

Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.

See also: AWS API Documentation

Request Syntax

response = client.create_permission_set(
    environmentArn='string',
    name='string',
    description='string',
    permissions=[
        'string',
    ]
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • name (string) –

    [REQUIRED]

    The name of the permission set.

  • description (string) – A description of the permission set.

  • permissions (list) –

    [REQUIRED]

    The permissions granted by the permission set.

    • (string) –

      A permission, such as manage_projects or project:view.

Return type:

dict

Returns:

Response Syntax

{
    'permissionSetId': 'string'
}

Response Structure

  • (dict) –

    • permissionSetId (string) –

      The identifier of the newly created permission set.

Exceptions