Skip to main content

IamRoleSchema

The IamRoleSchema class is the schema for the IamRole resource, which represents the AWS Identity and Access Management (IAM) Role resource. This resource can create a iam role in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.

@group

Resources/IamRole

@overrideProperty

parents - This resource has no parents.

@overrideProperty

resourceId - The resource id is of format iam-role-<role-name>

Hierarchy

  • unknown
    • IamRoleSchema

Index

Properties

properties

properties: any = ...

Input properties.

  • properties.awsAccountId: The AWS account ID.
  • properties.policies: The policies to attach to the role. See IIamRolePolicyTypes for options.
  • properties.rolename: The name of the role to create.

response

response: any = ...

Saved response.

  • response.Arn: The ARN of the role.
  • response.policies: A map of policy IDs to policy ARNs.
  • response.RoleId: The ID of the role.
  • response.RoleName: The name of the role.
Page Options