Skip to main content

instance_profiles_list_only

Lists instance_profiles in a region or regions, for all properties use instance_profiles

Overview

Nameinstance_profiles_list_only
TypeResource
DescriptionCreates a new instance profile. For information about instance profiles, see [Using instance profiles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html).
For information about the number of instance profiles you can create, see [object quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *User Guide*.
Idaws.iam.instance_profiles_list_only

Fields

NameDatatypeDescription
instance_profile_namestringThe name of the instance profile to create.
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

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all instance_profiles in a region.

SELECT
region,
instance_profile_name
FROM aws.iam.instance_profiles_list_only
;

Permissions

For permissions required to operate on the instance_profiles_list_only resource, see instance_profiles