AWS IAM Create Instance Profile Version 1

This handler uses the AWS REST API to create a new instance profile. An instance profile is a container for an AWS IAM (Identify and Access Management) role that you can use to pass role information to an EC2 instance when the instance starts.

Parameters

Name Description
Instance Profile Name The name of the instance profile to create. No spaces allowed, alphanumeric characters and any of these '+=,.@_-' only.
Path The path to the instance profile (for more information see AWS IAM documentation on IAM Identifiers. If left blank it defaults to a slash (/).

Sample Configuration

Name Description
Instance Profile Name Dev_Instance_Profile_One
Path /path

Results

Name Description
Instance Profile Name Name of instance profile.
Instance Profile ID ID of instance profile.
Instance Profile ARN ARN of instance profile.
Instance Profile Path Path of instance profile.
Instance Profile Roles Roles of instance profile.
Instance Profile Create Date Create date of instance profile.

Changelog

AWS IAM Create Instance Profile V1 (2017-08-31)

  • Initial version. See README for details.


Related Handlers

AWS IAM Attach Role Policy
Attaches a specified managed policy to a specified role in AWS IAM (Identify and Access Management)
AWS IAM Create Policy
Creates an AWS IAM (Identify and Access Management) Policy
AWS IAM Create Role
Creates an AWS IAM (Identify and Access Management) Role
AWS IAM Delete Instance Profile
Deletes a specified instance profile. The instance profile must not have an associated role.
AWS IAM Delete Policy
Deletes the specified managed policy.
AWS IAM Delete Role
Deletes the specified role. The role must not have any policies attached.
AWS IAM Detach Role Policy
Removes the specified managed policy from the specified role.
AWS IAM List Instance Profiles
Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list.
AWS IAM Remove Role from Instance Profile
Removes a specified role from a specified instance profile.