Skip to main content

instance_profiles

Retrieves a list of instance_profiles in a region

Overview

Nameinstance_profiles
TypeResource
Descriptioninstance_profiles
Idawscc.iam.instance_profiles

Fields

NameDatatypeDescription
instance_profile_namestringThe name of the instance profile to create.<br/> This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
instance_profile_name
FROM awscc.iam.instance_profiles

Permissions

To operate on the instance_profiles resource, the following permissions are required:

Create

iam:CreateInstanceProfile,
iam:PassRole,
iam:AddRoleToInstanceProfile,
iam:GetInstanceProfile

List

iam:ListInstanceProfiles