Provision AWS IAM Roles with serverless components
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 |
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 |
type: my-application
components:
myAwsIamRole:
type: aws-iam-role
inputs:
service: lambda.amazonaws.com