ServiceResource / Sub-Resource / AccessKey

AccessKey#

IAM.ServiceResource.AccessKey(user_name, id)#

Creates a AccessKey resource.:

access_key = iam.AccessKey('user_name','id')
Parameters:
  • user_name (string) – The AccessKey’s user_name identifier. This must be set.

  • id (string) – The AccessKey’s id identifier. This must be set.

Return type:

IAM.AccessKey

Returns:

A AccessKey resource