iamRole
fun iamRole(init: AwsConnection.CredentialsType.IamRole.() -> Unit = {}): AwsConnection.CredentialsType.IamRole
Content copied to clipboard
Uses another (principal) AWS connection to assume an IAM Role with its permissions. Please, note that the principal connection should have rights to assume the role, more: https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-iam-grantdev.html