made EcsCode attr not required