Skip to content

Latest commit

 

History

History
 
 

aws-iam-role

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AWS IAM Role

Provision AWS IAM Roles with serverless components

Input Types

Name Type Description
service string
required
The name of the AWS service to create role for
name string The name of the role to create
policy object The policy that grants an entity permission to assume the role

Output Types

Name Type Description
name string The name of the role
arn string The role arn
service string The name of the AWS service this role is created for
policy object The policy that grants entity permission to assume the role

Example

type: my-application
components:
  myAwsIamRole:
    type: aws-iam-role
    inputs:
      service: lambda.amazonaws.com