Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iam-role.json
Parent schema serverless-framework-configuration
Type: object

Properties

AssumeRolePolicyDocument object | string required

The trust policy that is associated with this role.

Description string | Aws_CF_FunctionString

A description of the role that you provide.

ManagedPolicyArns string[]

A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role.

uniqueItems=true
MaxSessionDuration integer

The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.

Path string | Aws_CF_FunctionString

The path to the role.

PermissionsBoundary string | Aws_CF_FunctionString

The ARN of the policy used to set the permissions boundary for the role.

Policies Policy[]

Adds or updates an inline policy document that is embedded in the specified IAM role.

RoleName string | Aws_CF_FunctionString

A name for the IAM role, up to 64 characters in length.

Tags Tag[]

A list of tags that are attached to the role.

Definitions

Policy object

The inline policy document that is embedded in the specified IAM role.

PolicyDocument string | object required

The policy document.

PolicyName string | Aws_CF_FunctionString required

The friendly name (not ARN) identifying the policy.

Tag object

A key-value pair to associate with a resource.

Key string | Aws_CF_FunctionString required

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string | Aws_CF_FunctionString required

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.