IamConfig / RoleSetConfig / RoleConfig / AssumedByConfig

AssumedBy configuration

Service principal:

Example

- principal: ec2.amazonaws.com
type: service

Account principals can be defined using either the account ID (with quotes), the account arn or the name assigned to the account in the accounts-config.yaml.

Example

assumedBy:
- type: account
principal: '111111111111'

Example

assumedBy:
- type: account
principal: Audit

Example

assumedBy:
- type: account
principal: 'arn:aws:iam::111111111111:root'
``

Hierarchy

  • AssumedByConfig

Implements

Constructors

Properties

Constructors

Properties

principal: string = ''

IAM principal of either service, account or provider type.

IAM principal of sns service type (i.e. new ServicePrincipal('sns.amazonaws.com')), which can assume this role.

type: "service" | "account" | "provider"

Type of IAM principal type like service, account or provider, which can assume this role.

Generated using TypeDoc